v1

latestOpenAPI 3.0.02026-07-24212113249.1 KB
Categories

Get total watch time by category ID

get/category/total-watch-time/{categoryId}

Path parameters

categoryIdstring required

The ID of a specific category.

Headers

organizationstring required

Your Organization ID

channelstring required

The Channel ID that your video belongs to.

Response

The total watched time of a category.

messagestring
errorboolean
codeinteger

Example response

{
  "message": "OK",
  "code": 200,
  "results": {
    "response": {
      "totalWatchedTimeInMs": 5755747,
      "totalWatchedTime": "02:00:00"
    }
  }
}