GET DataHub Tasks

/v1/tasks Method: GET Description: Returns list of scheduled tasks Parameters: None Result: List of tasks properties:

Name – Task name ExternalKey – Task ID Status:

  • Busy – Task is queued up for running
  • Processing – Task is currently running
  • Ready – Task is idle and is ready to run

TaskTimeZone – Timezone associated with this task LastRunTimeUTC – Last run time in UTC Success – False/True

GET DataHub Task Details

/v1/tasks/<externalKey> Method: GET Description: Returns properties of the task Parameters: None Result: Task properties:

Name – Task name ExternalKey – Task ID Status:

  • Busy – Task is queued up for running
  • Processing – Task is currently running
  • Ready – Task is idle and is ready to run

TaskTimeZone – Timezone associated with this task LastRunTimeUTC – Last run time in UTC Success – False/True

POST Run DataHub Task

/v1/tasks/<externalKey>/run Method: POST Description: Runs the task Parameters: None Result: 200 OK if successful, 400 if task could not be run