Jobs¶
5 operations in the Adverity Connect API. Replace {{INSTANCE}} and {{KEY}} in the examples with your instance and API key. How authentication works.
List jobs¶
GET/api/jobs/
API key permissionDatastream: Read-onlydatastream:read
Query parameters
datastream_idnumberendstring · date-timejob_group_idnumberjob_uuidstring · uuidorderingstringWhich field to use when ordering the results.
pageintegerA page number within the paginated result set.
page_sizeintegerNumber of results to return per page.
stack_idnumberstartstring · date-timestateinteger20- Scheduled10- Running50- Success70- Cancelled30- Failed60- Discarded
triggered_by_userbooleantrue: only human-triggered fetches; false: only system-triggered.
typestringFetch- FetchEnrich- EnrichTransfer- Transfer
userstringFilter by the email of the user who triggered the fetch.
Responses
200OKapplication/json
Response schema
object PaginatedJobPolymorphicList
countintegerrequirednextstring · urinullablepreviousstring · urinullableresultsarray of one ofrequiredItems · JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualbooleanread-onlynullableTrue for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.
Get jobs¶
GET/api/jobs/{id}/
API key permissionDatastream: Read-onlydatastream:read
Path parameters
idintegerrequiredA unique integer value identifying this job.
Responses
200OKapplication/json
Response schema
one of JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualbooleanread-onlynullableTrue for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.
Get jobs imported¶
GET/api/jobs/{id}/imported/
API key permissionDatastream: Read-onlydatastream:read
Path parameters
idintegerrequiredA unique integer value identifying this job.
Responses
200OKapplication/json
Response schema
one of JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualbooleanread-onlynullableTrue for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.
Create jobs retry¶
POST/api/jobs/{id}/retry/
API key permissionDatastream: Writedatastream:write
Path parameters
idintegerrequiredA unique integer value identifying this job.
Request body
application/json also application/x-www-form-urlencoded, multipart/form-data
Body schema
one of JobPolymorphic
BaseJobTyped
typestringrequired
FetchJobTyped
typestringrequired
Responses
200OKapplication/json
Response schema
one of JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualbooleanread-onlynullableTrue for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.
Create jobs stop¶
POST/api/jobs/{id}/stop/
API key permissionDatastream: Writedatastream:write
Path parameters
idintegerrequiredA unique integer value identifying this job.
Request body
application/json also application/x-www-form-urlencoded, multipart/form-data
Body schema
one of JobPolymorphic
BaseJobTyped
typestringrequired
FetchJobTyped
typestringrequired
Responses
200OKapplication/json
Response schema
one of JobPolymorphic
BaseJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullable
FetchJobTyped
typestringrequiredidintegerrequiredread-onlyuuidstring · uuidrequiredread-onlyurlstring · urirequiredread-onlyjob_startstring · date-timerequiredread-onlynullablejob_endstring · date-timerequiredread-onlynullableprogressintegerrequiredread-onlystateintegerrequiredread-onlystate_labelstringrequiredread-onlyDisplay label for the job state. "Retrying" while the job is waiting out a retry/backoff; otherwise the label matching
state.stateitself is unchanged while "Retrying". The signal is derived per job group, so while a group waits out a backoff every running job in it reports the label, regardless of which stage's task is being retried.state_colorstringrequiredread-onlydatastreamobjectrequiredread-onlynullableAttributes
APIDatastreamBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlystackobjectrequiredread-onlyAttributes · StackBasic
idintegerrequiredread-onlyuuidstring · uuidrequiredread-onlynamestringrequiredslugstringrequiredread-onlyurlstring · urirequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyissues_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlypermissionsobjectrequiredread-onlyAttributes
isCreatorbooleanrequiredisDatastreamManagerbooleanrequiredisViewerbooleanrequired
stack_idintegerrequiredread-onlyWhich workspace the datastream belongs to.
authintegernullableWhich authorization the datastream uses.
namestringrequiredA human readable name. Numbers and special characters are supported.
slugstringrequiredread-onlyapp_labelstringrequiredread-onlyabsolute_urlstringrequiredread-onlychange_urlstringrequiredread-onlyextracts_urlstringrequiredread-onlyfetch_urlstringrequiredread-onlyoverview_urlstringrequiredread-onlyschema_mapping_urlstringrequiredread-onlyenabledbooleanStreams that are not scheduled will not be fetched automatically.
next_runstring · date-timerequiredread-onlynullableurlstring · urirequiredread-onlydatastream_type_idintegerrequiredread-onlylogo_urlstringrequiredread-onlyextracts_stream_urlstringrequiredread-onlysupports_extended_intervalsbooleanrequiredread-onlyupdatedstring · date-timerequiredread-onlycreatedstring · date-timerequiredread-onlycreatorstringrequiredread-onlynullablecan_be_fetchedbooleanrequiredread-only
null
issuesarray of objectrequiredread-onlyItems · CompactDatastreamExtractionLog
messagestringnullabletype_labelstringrequiredread-onlyextraction_stage_labelstringrequiredread-onlynullableurlstring · urirequiredread-only
last_executedstring · date-timerequiredread-onlynullableWhen a job in this job group last started executing. Job-group level: it reflects any job in the group, not this job alone. Null until the first job in the group starts - fall back to
scheduledto age a group that has not started yet. The write is debounced by 5 minutes, so the value may lag real activity by up to that much - do not build staleness alarms with a tighter threshold.userstringrequiredread-onlynullablerange_startstring · date-timerequiredread-onlyrange_endstring · date-timerequiredread-onlyscheduledstring · date-timerequiredread-onlymanualbooleanread-onlynullableTrue for fetches started from the Adverity UI, a refetch or a bulk load; false for scheduled fetches, fetches started through this API and other automatic fetches. Null on some older jobs. Left out when the job belongs to no job group.