GET Subtitle Statuses
Overview
The following table provides important information about the GET
method used to retrieve available subtitle statuses.
GET Subtitle Status | |
---|---|
Method | GET |
URL or Endpoint | /api/subtitle-statuses/select-list |
Parameters | Not Applicable |
Body | Not 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 Name | Type | Description |
---|---|---|
success | bool | Indicates whether the request was successful. Returns `true` if successful, `false` otherwise. |
errors | array[string] | Contains any error messages, if applicable. |
messages | array[string] | Contains informational messages from the server. |
result | array[Object] | Contains the list of available subtitle statuses with their descriptions. |
id | integer($int32) | Unique identifier for the subtitle status. |
name | string | Optional name of the subtitle status (could be null). |
value | string | Optional value of the subtitle status (could be null). |
description | string | Detailed description of the subtitle status (e.g., "Pending", "Processing", "Ready", or "Failed"). |
resultInfo | string | Additional information regarding the result. |
statusCode | integer($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