Skip to main content
Version: Next

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

ParameterTypeDescription
idstringTask ID
task_typestringTask type
subject_typestringType of object being acted upon
subject_idintegerID of object being acted upon
owner_idintegerID of task initiator
statusstringTask status
percentageintegerTask completion percentage
completed_atstringTask completion time

Task types

  • ENABLE_CDN - enable CDN for domain
  • DISABLE_CDN - disable CDN for domain
  • ISSUE_CERT - issue certificate for delegated domain
  • CREATE_S3_RESOURCE - create S3 resource
  • DELETE_S3_RESOURCE - delete S3 resource
  • ENABLE_VOD - enable VOD functionality
  • DISABLE_VOD - disable VOD functionality

Object types

  • s3_resource
  • domain
  • vod

Task statuses

  • IN_PROGRESS
  • COMPLETED
  • FAILED