List subtitles (project-scoped)

GET/media/v1/projects/{projectId}/videos/{videoId}/subtitles

Returns a video's subtitles within a project, including for private media. Requires project access.

Authorization<token>

In: header

Path Parameters

projectId*string

Project ID

videoId*string

Video ID

Response Body

200application/json

OK

type: unknown

{
  "$ref": "#/components/schemas/videosv1.ListSubtitlesResponse",
  "$ref-value": {
    "properties": {
      "subtitles": {
        "items": {
          "$ref": "#/components/schemas/videosv1.Subtitle",
          "$ref-value": {
            "properties": {
              "format": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "language_code": {
                "type": "string"
              },
              "video_id": {
                "type": "string"
              },
              "vtt_path": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "type": "array"
      }
    },
    "type": "object"
  }
}
curl -X GET "https://api.rixl.com/media/v1/projects/string/videos/string/subtitles"

OK

application/json

{
  "$ref": "#/components/schemas/videosv1.ListSubtitlesResponse",
  "$ref-value": {
    "properties": {
      "subtitles": {
        "items": {
          "$ref": "#/components/schemas/videosv1.Subtitle",
          "$ref-value": {
            "properties": {
              "format": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "language_code": {
                "type": "string"
              },
              "video_id": {
                "type": "string"
              },
              "vtt_path": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "type": "array"
      }
    },
    "type": "object"
  }
}