Skip to content

Update a Pipeline Stage Run
Stable

Request

Security
SCAPIAuthToken
Path
pipeline_run_idstringrequired

ID of the Pipeline Run

stage_run_idstringrequired

id of pipeline stage run

Bodyapplication/jsonrequired
statusstring
Enum:"pending""queued""processing""running""complete""success""failure""cancelled""invalid""timeout"
cURL
curl -i -X PUT \
  'https://develop-api.esper.io/_mock/openapi/pipelines/v0/runs/{pipeline_run_id}/stageruns/{stage_run_id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "status": "pending"
  }'

Responses

Updated Pipeline Stage run information

Bodyapplication/json
codeinteger
messagestring
contentobject(StageRun)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "enterprise_id": "string", "pipeline_id": "string", "pipeline_run_id": "string", "stage_id": "string", "stage_meta": {}, "status": "pending", "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "started_at": "2019-08-24T14:15:22Z", "ended_at": "2019-08-24T14:15:22Z" } }