/apps
endpoint.<type>:<id>
path parameter (required)<type>:<id>
, such as datasource:movie-db
, spark:dailyMetricsRollup-counters
, or task:delete-old-system-logs
.enabled
body parametertriggers
body parameterPUT
, POST
, and DELETE
calls. These are the possible job types:
datasource | A job to ingest data according to the specified datasource configuration, such as datasource:movie-db . Datasources are created using the Connector Datasources API or the Fusion UI. See Datasource Jobs. |
spark | A Spark job to process data, such as spark:dailyMetricsRollup-counters . Spark jobs are created using the Spark Jobs API or the Fusion UI. See Spark Jobs. |
task | A job to perform an HTTP call or log cleanup, such as task:delete-old-system-logs . Tasks are created using the Tasks API or the Fusion UI. See Tasks. |
enabled
and type
parameters.
Additional parameters are required by each trigger type, described below:
Trigger type | Parameters |
---|---|
interval Run the job at a regular interval over some time range. | • |
cron Run the job on a cron-style schedule. | value A cron string. |
job Run the job after another job succeeds or fails. | • |