Skip to content

Extras Listing

This is an API to fetch extras linked with all the titles published to the authenticated user.

Headers

Header Value
Authorization JWT token

Endpoint

GET v2/watch/content/projects/<str:project_key>/extras

Query Parameters

  • page : Optional. Default - 1. Page number of the results
  • limit : Optional. Default - 30. Max - 50. Number of results per page

Response Body

    {
        "count": 5,  
        "next": "example.com",
        "previous": "example.com",
        "results": [
            {
                "key": "ext-01j1pagnn41xv3hwg8v3sqbmxx",
                "name": "extras-1",
                "link": <url>,
                "thumbnail": <url>,
                "type": "audio",
                "created_on": <int> # timestamp         
            },
            .
            .
        ]
    }
Field Type Description
count Integer Total count of the results w/o pagination.
next String Next page of results.
previous String Previous page of results.
key String The unique identifier for the extra.
name String Name of the extra.
link URL Link for the extra object.
thumbnail URL Link for the extra thumbnail image.
type URL Type of the extra, for example it can be any one of these -> audio, video, doc, event, others
created_on URL Timestamp for when the object was created.

Status Codes

Indee status code HTTP Response Code Description
W0000 HTTP 200 Success
W2000 HTTP 401 Authorization header was either not passed or there was some issue parsing it
W2003 HTTP 401 Invalid auth token
W2101 HTTP 403 API key not authorized to perform this action
W5001 HTTP 429 Rate limited
W5000 HTTP 500 Unknown server error occurred