Transcode Task Shutdown
Shuts down a running transcoding task.
Request
| Property | Value |
|---|---|
| Method | POST |
| URL | /api/transcode/task/{taskId} |
| Content-Type | application/json |
| Authentication | Bearer Token |
Request
curl -X POST "{BASE_URL}/api/transcode/task/{taskId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
data.command | string | Yes | Command to execute ("shutdown") |
Request Body
{
"data": {
"command": "shutdown"
}
}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
taskId | string | Yes | Unique identifier of the task |
Request
curl -X POST "{BASE_URL}/api/transcode/task/{taskId}" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"
Response Body
Task Object
Metadata
| Parameter | Type | Description |
|---|---|---|
meta.executionTime | integer | Request processing time in milliseconds |
meta.generatedAt | integer | Response generation timestamp (Unix timestamp in ms) |
Successful Response (200)
Error Responses
Task Not Found (404)
| Parameter | Type | Description |
|---|---|---|
message | string | Human-readable error message |
{
"message": "Transcode Task Entity not found"
}
Support Needed?
Create a free ticket and our support team will provide you necessary assistance.