Subtitles

Get all subtitles

Method returns a list of all subtitles that are already attached to a video.

get/streaming/videos/{video_id}/subtitles

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/streaming/videos/{video_id}/subtitles
  • Auth
    HTTP apikey

Path parameters

video_idinteger required

ID of the video

Response

Successful

namestring

Name of subtitle file

languagestring

3-letter language code according to ISO-639-2 (bibliographic code)

vttstring

Full text of subtitles/captions, with escaped "\n" ("\r") symbol of new line

idinteger

ID of subtitle file

Example response

[
  {
    "id": 1000,
    "name": "German (AI-generated)",
    "language": "ger",
    "vtt": "WEBVTT 1 00:00:07.154 --> 00:00:12.736 Wir haben 100 Millionen registrierte Benutzer oder aktive Benutzer, die mindestens einmal pro Woche spielen.\n2 00:00:13.236 --> 00:00:20.198 Wir haben vielleicht 80 oder 100.000, die auf einem bestimmten Cluster spielen."
  }
]

Changes

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