API 參考
Subtitles
Per-file subtitle listing and content
Authorization
bearerAuth AuthorizationBearer <token>
Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Path Parameters
fileId*string
Response Body
application/json
curl -X GET "https://example.com/api/v1/subtitles/media/string"[ { "id": "string", "language": "string", "label": "string", "format": "string" }]Authorization
bearerAuth AuthorizationBearer <token>
Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Path Parameters
id*string
Response Body
text/vtt
curl -X GET "https://example.com/api/v1/subtitles/string/content""string"