---
title: "Get all the genres of an On Demand page"
method: GET
path: "/ondemand/pages/{ondemand_id}/genres"
tags: ["On Demand\\Genres"]
---

# Get all the genres of an On Demand page

`GET /ondemand/pages/{ondemand_id}/genres`

## Request

- Base URL: `https://api.vimeo.com`
- URL: `https://api.vimeo.com/ondemand/pages/{ondemand_id}/genres`
- Auth: OAuth 2
  - Authorization code: `/oauth/authorize`, token URL `/oauth/access_token`
  - Client credentials, token URL `/oauth/authorize/client`
  - Scopes: `create`, `delete`, `edit`, `email`, `interact`, `private`, `promo_codes`, `public`, `purchase`, `purchased`, `stats`, `upload`, `video_files`
- TypeScript: <https://skmtc.dev/vimeo/apis/vimeo-api/docs/ondemand/pages/:ondemand_id/genres/get.ts> (a function with typed inputs; its response is checked against the schema)

Information about this method appears below.

## Path parameters

- `ondemand_id` number, required

## Response `200`

The genres were returned.

- OnDemandGenre[]
  - `canonical` string, required: The canonical name or URL slug of the genre.
  - `interactions` object, required
    - `page` object, required: Interactions for On Demand pages that are in this genre.
      - `added` boolean, required: Whether this On Demand genre was added.
      - `options` string[], required: An array of HTTP methods permitted on this URI.
      - `uri` string, required: The URI to access the On Demand page.
  - `link` string, required: The Vimeo URL for this genre.
  - `metadata` object, required
    - `connections` object, required: A collection of information connected to this resource.
      - `pages` object, required: Information about the On Demand pages related to this group.
        - `options` string[], required: An array of HTTP methods permitted on this URI.
        - `uri` string, required: The API URI that resolves to the connection data.
  - `name` string, required: The descriptive name of the genre.
  - `uri` string, required: The relative URI of the On Demand genre.

## Other responses

- `404`: No such On Demand page exists.

---

[API](https://skmtc.dev/vimeo/apis/vimeo-api.md) - [All operations](https://skmtc.dev/vimeo/apis/vimeo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vimeo/apis/vimeo-api/revisions/ea882e0224a4?raw)
