Get a Video’s captions
Code | Description |
---|---|
400 | Bad Request: body has wrong syntax or unable to handle request |
401 | Unauthorized: auth_token omitted or authentication failed |
403 | Forbidden: This action cannot be performed |
404 | Not Found: The requested resource could not be found |
406 | Not Acceptable: Accept or Content-Type headers must be application/json, text/csv or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
422 | Unprocessable Entity: body has wrong attributes |
RESPONSE Content-Type: application/json [ { "srt_url": "//cdn.vidyard.com/transcriptions/BeQAX/i-UTPAWS.srt", "vtt_url": "//cdn.vidyard.com/transcriptions/BeQAX/Yut9l8z4.vtt", "txt_url": "//cdn.vidyard.com/transcriptions/BeQAX/Yut9l8z4.txt", "language": "en", "id": 1011, "status": "complete", "created_at": 1442297000, "updated_at": 1442297001, "formatted_language_name": "English (en)", "localized_language_name": "English", "is_default": true, "notes": "Transcription request notes", "srt_download_url": "//vidyard.s3.amazonaws.com/transcriptions/BeQAX/i-UTPAWS.srt", "vtt_download_url": "//vidyard.s3.amazonaws.com/transcriptions/BeQAX/Yut9l8z4.vtt", "txt_download_url": "//vidyard.s3.amazonaws.com/transcriptions/BeQAX/Yut9l8z4.txt", }, { "srt_url": "//cdn.vidyard.com/transcriptions/BeQAX/i-UTPAWS.srt", "vtt_url": "//cdn.vidyard.com/transcriptions/BeQAX/Yut9l8z4.vtt", "txt_url": "//cdn.vidyard.com/transcriptions/BeQAX/Yut9l8z4.txt", "language": "fr", "id": 1011, "status": "complete", "created_at": 1442297000, "updated_at": 1442297001, "formatted_language_name": "Francais (fr)", "localized_language_name": "Francais", "is_default": false, "notes": "", "srt_download_url": "//vidyard.s3.amazonaws.com/transcriptions/BeQAX/z-X1PAWS.srt", "vtt_download_url": "//vidyard.s3.amazonaws.com/transcriptions/BeQAX/Yut7l8z4.vtt", "txt_download_url": "//vidyard.s3.amazonaws.com/transcriptions/BeQAX/Yut9l8z4.txt", } ]
Param name | Description |
---|---|
auth_token optional |
API token needed to authorize requests Validations:
|
language optional |
Optional two letter language code used to return the first caption with the matching language code. Validations:
|
order_by optional |
The attribute to order the list by Validations:
|
direction optional |
When the direction to order the list Validations:
|