milmilmilmil
API Reference

Subtitles

Per-file subtitle listing and content

GET
/api/v1/subtitles/media/{fileId}

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"  }]
GET
/api/v1/subtitles/{id}/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

id*string

Response Body

text/vtt

curl -X GET "https://example.com/api/v1/subtitles/string/content"
"string"