DeveloperAPI ReferenceSubtitlesItemItemidUpload
/api/subtitles/item/{itemId}/upload
Path Parameters
itemId*string
Library item ID
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/subtitles/item/string/upload"{
"subtitle": {
"id": "string",
"itemId": "string",
"language": "string",
"label": "string",
"format": "string",
"source": "embedded",
"path": "string",
"streamIndex": 0,
"isDefault": true,
"isForced": true,
"createdAt": "string"
}
}{
"error": "string"
}{
"error": "string"
}