Skip to content

Create an Operation list for the Stage
Stable

Request

Creates a new Operation List for a Pipeline stage.

Creates an Operation List scoped to the specified stage and pipeline, which will hold the ordered set of Operations that stage executes during a pipeline run.

About Operation Lists An Operation List groups the individual Operations that a Stage executes. Creating one is typically the first step in defining what a new pipeline stage actually does.

Key Fields / Query Parameters

  • stage_id — UUID of the Stage this Operation List belongs to (path parameter)
  • name — Name of the Operation List
  • description — Free-text description of the Operation List's purpose
  • pipeline_id — UUID of the parent Pipeline
Security
pipelines_SCAPIAuthToken
Path
stage_idstringrequired

ID of the Stage

Bodyapplication/jsonrequired
namestringrequired
descriptionstring
pipeline_idstring, (uuid)
cURL
curl -i -X POST \
  'https://develop-api.esper.io/_mock/openapi/pipelines/v0/stages/{stage_id}/operationlists/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "description": "string",
    "pipeline_id": "ec036e81-7903-4e4d-bbfa-ac8516341cf0"
  }'

Responses

Attach Operation list to a Stage

Bodyapplication/json
codeinteger
messagestring
contentobject(pipelines_OperationList)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "pipeline_id": "string", "stage_id": "string", "name": "string", "description": "string", "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }