Use category callbacks
- Print
- PDF
Use category callbacks
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
VOD Station provides a callback feature for checking the status of encoding requests.
You can use the callback feature by entering the Callback Endpoint in the notificationUrl field when creating categories or adding category files.
Callback dispatch data
If notificationUrl is registered, the following types of data are transferred to the configured notificationUrl whenever a status change event occurs during encoding in VOD Station. (Request HTTP POST)
Callback is sent individually for each encodingOptionId.
(Example: if 3 encodingOptions are set in a category, a callback is sent for each encodingOption status change)
Field name | Type | Description |
---|---|---|
categoryId | Integer | Encoding category ID |
categoryName | String | Encoding category name |
encodingOptionId | Integer | Encoding option ID |
fileId | Integer | Input file ID |
filePath | String | Input file path |
outputType | String | Output encoding option name |
status | String | Encoding status of the input file |
Example of HTTP body sending callbacks
{
"categoryId":10268,
"categoryName":"callback-test",
"encodingOptionId":3,
"fileId":10808,
"filePath":"/.../Guide720_AVC_HD_1Pass_30fps.mp4",
"outputType":"AVC_HD_1Pass_30fps",
"status":"RUNNING"
}
Was this article helpful?