On Demand\Genres

Add a genre to an On Demand page

Information about this method appears below.

put/ondemand/pages/{ondemand_id}/genres/{genre_id}

Request

Path parameters

genre_idstring required
Example:animation

The ID of the genre.

ondemand_idnumber required
Example:61326

The ID of the On Demand.

Response

The genre was added.

canonicalstring required

The canonical name or URL slug of the genre.

linkstring required

The Vimeo URL for this genre.

namestring required

The descriptive name of the genre.

uristring required

The relative URI of the On Demand genre.

Example response

{
  "canonical": "horror",
  "interactions": {
    "page": {
      "added": true,
      "uri": "/ondemand/genres/horror/pages/12345"
    }
  },
  "link": "http://vimeo.com/ondemand/browse/horror",
  "metadata": {
    "connections": {
      "pages": {
        "uri": "/ondemand/genres/horror/pages"
      }
    }
  },
  "name": "Horror",
  "uri": "/ondemand/genres/horror"
}

Changes

No recorded changes to this operation across all 13 revisions of this API.