Api referenceEndpointsAdmin
Retry one parked processing job (instance admin, one tenant)
POST
POST /v1/pipeline/etl-jobs/{job_id}/retry (retryETLJob) for the tenant of tenant_id, run with an
instance admin key: the same body, parameters and answer as the tenant's own key
gets; a Location points at the admin route. Recorded in the caller's audit log
and, actor admin, in the tenant's.
See docs/admin-api.md.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
tenant_id*stringThe id of a tenant; any other value is a 404.
Format
uuidjob_id*integerFormat
int64The job, pending again.
application/json- response
One processing job, turning a stored raw payload into records.
id*integerFormat
int64user_id*stringFormat
uuidprovider*stringtier*stringstatus*stringValue in
"pending""running""parked""done"attempts*integererror*|The error of the last failed attempt.
created_at*stringFormat
date-timenext_attempt_at*|Set while the job is pending.
Format
date-timecurl -X POST 'http://localhost:8080/v1/admin/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08/pipeline/etl-jobs/0/retry' \ -H 'Authorization: Bearer ohs_sk_...'{ "id": 0, "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "provider": "string", "tier": "string", "status": "pending", "attempts": 0, "error": "string", "created_at": "2019-08-24T14:15:22Z", "next_attempt_at": "2019-08-24T14:15:22Z"}