V3 > Mixtape

List media in mixtape.

Changed on

Retrieves a paginated list of media in the specified mixtape. Each item exposes the media identification (id, parent, name), its publication status (validated, published, state), playback information (source, duration, types), visuals (thumbnails) and display metadata (labels, metadata).

Filtering and sorting are supported. The route accepts user tokens and application tokens.

get/2/vod/mixtapes/{mixtape}/media

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/2/vod/mixtapes/{mixtape}/media
  • Auth
    none declared

Path parameters

mixtapestring required

Query parameters

return'total'

Optional : If you pass this parameter with the value total, then the response will be the number of items in the collection, instead of the items themselves.<br /> Part of the total capacity

pageinteger

Optional parameter that define the page number<br /> Part of the pagination capacity

per_pageinteger

Optional parameter that define the number of items per page<br /> Part of the pagination capacity

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

datastring[]
totalinteger

Total number of items Added when using query parameter page

pageinteger

Number of the current page Added when using query parameter page

pagesinteger

Total number of pages Added when using query parameter page

items_per_pageinteger

Number of items per page Added when using query parameter page

Example response

{
  "result": "success",
  "total": 221,
  "page": 2,
  "pages": 15,
  "items_per_page": 15
}

Changes

    • info

      api operation id VODListMediaInMixtapeV2 removed and replaced with

    • info

      the endpoint scheme security bearerAuth was removed from the API

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      removed subschema #2 from the response body allOf list for the response status