Skip to main content

GET Subtitle Statuses

Overview

The following table provides important information about the GET method used to retrieve available subtitle statuses.

GET Subtitle Status
MethodGET
URL or Endpoint/api/subtitle-statuses/select-list
ParametersNot Applicable
BodyNot Applicable

Request Body

The GET method does not require a request body.

Response

{
"success": true,
"errors": [],
"messages": [],
"result": [
{
"id": 1,
"name": null,
"value": null,
"description": "Pending"
},
{
"id": 2,
"name": null,
"value": null,
"description": "Processing"
},
{
"id": 3,
"name": null,
"value": null,
"description": "Ready"
},
{
"id": 4,
"name": null,
"value": null,
"description": "Failed"
}
],
"resultInfo": null,
"statusCode": 200
}

The table below describes the fields included in the response.

Field NameTypeDescription
successboolIndicates whether the request was successful. Returns `true` if successful, `false` otherwise.
errorsarray[string]Contains any error messages, if applicable.
messagesarray[string]Contains informational messages from the server.
resultarray[Object]Contains the list of available subtitle statuses with their descriptions.
idinteger($int32)Unique identifier for the subtitle status.
namestringOptional name of the subtitle status (could be null).
valuestringOptional value of the subtitle status (could be null).
descriptionstringDetailed description of the subtitle status (e.g., "Pending", "Processing", "Ready", or "Failed").
resultInfostringAdditional information regarding the result.
statusCodeinteger($int32)HTTP status code returned by the server (e.g., 200 for success).

If the action is successful, the service sends back an HTTP 200 or 201 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed