Tasks
Certain system actions (such as enabling VOD functionality) may take considerable time to complete. For such actions, the system registers tasks whose execution status can be monitored
The task object
| Parameter | Type | Description |
|---|---|---|
| id | string | Task ID |
| task_type | string | Task type |
| subject_type | string | Type of object being acted upon |
| subject_id | integer | ID of object being acted upon |
| owner_id | integer | ID of task initiator |
| status | string | Task status |
| percentage | integer | Task completion percentage |
| completed_at | string | Task completion time |
Task types
ENABLE_CDN- enable CDN for domainDISABLE_CDN- disable CDN for domainISSUE_CERT- issue certificate for delegated domainCREATE_S3_RESOURCE- create S3 resourceDELETE_S3_RESOURCE- delete S3 resourceENABLE_VOD- enable VOD functionalityDISABLE_VOD- disable VOD functionality
Object types
s3_resourcedomainvod
Task statuses
IN_PROGRESSCOMPLETEDFAILED