AviatoAviato
DeveloperAPI ReferenceSubtitlesId

/api/subtitles/{id}

PATCH
/api/subtitles/{id}

Path Parameters

id*string

Resource ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/api/subtitles/string" \  -H "Content-Type: application/json" \  -d '{    "language": "string"  }'
{
  "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"
}