Cluster Transcode Status Update
Updates the cluster transcoding service status.
Request
| Property | Value |
|---|---|
| Method | PUT |
| URL | /api/cluster/transcode/status |
| Content-Type | application/json |
| Authentication | Bearer Token |
Request
curl -X PUT "{BASE_URL}/api/cluster/transcode/status" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"data":{"attributes":{"status":"active"}}}'
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
data.attributes.status | string | Yes | Transcode service status ("active" | "inactive") |
Request Body
{
"data": {
"attributes": {
"status": "active"
}
}
}
Response Body
| Parameter | Type | Description |
|---|---|---|
data.nextEvaluationTime | integer | Next evaluation timestamp (Unix timestamp in ms, -1 when inactive) |
data.activeTranscodeTaskCount | integer | Number of currently active transcoding tasks |
data.evaluationInterval | integer | Evaluation interval in seconds |
data.maxTranscodeTaskCount | integer | Maximum number of concurrent transcoding tasks |
data.status | string | Updated transcode service status |
meta.executionTime | integer | Request processing time in milliseconds |
meta.generatedAt | integer | Response generation timestamp (Unix timestamp in ms) |
Successful Response (200)
{
"data": {
"nextEvaluationTime": 1771958070153,
"activeTranscodeTaskCount": 1,
"evaluationInterval": 30,
"maxTranscodeTaskCount": 15,
"status": "active"
},
"meta": {
"executionTime": 40,
"generatedAt": 1771958070153
}
}
Error Response (4xx/5xx)
| Parameter | Type | Description |
|---|---|---|
message | string | Human-readable error message |
Error Response
{
"message": "Error message"
}
Support Needed?
Create a free ticket and our support team will provide you necessary assistance.