Operation Lists

APIs to modify Operation List

Get all Operation Lists attached to the Stage

SecuritySCAPIAuthToken
Request
path Parameters
stage_id
required
string

ID of the Stage

Responses
200

All Operation Lists attached to the Stage

401

Operation List get error

get/v0/stages/{stage_id}/operationlists
Request samples
Response samples
application/json
{
  • "code": 0,
  • "message": "string",
  • "content": {
    }
}

Create an Operation list for the Stage

SecuritySCAPIAuthToken
Request
path Parameters
stage_id
required
string

ID of the Stage

Request Body schema: application/json
required
name
required
string
description
string
pipeline_id
string <uuid>
Responses
200

Attach Operation list to a Stage

401

Operation list attach error

post/v0/stages/{stage_id}/operationlists
Request samples
application/json
{
  • "name": "string",
  • "description": "string",
  • "pipeline_id": "ec036e81-7903-4e4d-bbfa-ac8516341cf0"
}
Response samples
application/json
{
  • "code": 0,
  • "message": "string",
  • "content": {
    }
}

Update an Operation List

SecuritySCAPIAuthToken
Request
path Parameters
stage_id
required
string

ID of the Stage

operationlist_id
required
string

ID of the Operation List

Request Body schema: application/json
required
pipeline_id
string
stage_id
string
name
string
description
string
created_by
number <int32>
updated_by
number <int32>
created_at
string <date-time>
updated_at
string <date-time>
Responses
200

Updated Operation List Information

400

Operation List update error

401

Operation List update error

put/v0/stages/{stage_id}/operationlists/{operationlist_id}
Request samples
application/json
{
  • "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"
}
Response samples
application/json
{
  • "code": 0,
  • "message": "string",
  • "content": {
    }
}

Delete stage operation list

SecuritySCAPIAuthToken
Request
path Parameters
stage_id
required
string

ID of the Stage

operationlist_id
required
string

ID of the Operation List

Responses
200

Delete operation list from stage

401

Operation list detach error

delete/v0/stages/{stage_id}/operationlists/{operationlist_id}
Request samples
Response samples
application/json
{
  • "code": 0,
  • "message": "string",
  • "content": {
    }
}