Releasesv0.1.0
Api referenceEndpointsAdmin

Retry every parked processing job (instance admin, one tenant)

POST
/v1/admin/tenants/{tenant_id}/pipeline/etl-jobs/retry

POST /v1/pipeline/etl-jobs/retry (retryParkedETLJobs) 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.

Authorization

tenantKey
headerAuthorizationBearer <token>

Tenant API key, ohs_sk_ + 43 base62 characters.

Path Parameters

tenant_id*string

The id of a tenant; any other value is a 404.

Formatuuid

Header Parameters

Authorization*string

The tenant API key, as a bearer secret.

Request Body

application/json
  1. body
provider?string

Only this provider's parked jobs.

Response Body

How many jobs were queued again.

application/json
  1. response
retried*integer
Formatint64
curl -X POST 'http://localhost:8080/v1/admin/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08/pipeline/etl-jobs/retry' \  -H 'Authorization: Bearer ohs_sk_...' \  -H 'Content-Type: application/json' \  -d '{}'
{  "retried": 0}
Edit on GitHub