Skip to content

needAuth/Stage


Get one stage

GET
/stage/{stageId}

The route is use to get a stage data.

Authorizations

bearer
Type
HTTP (bearer)

Parameters

Path Parameters

stageId*

The id of the stage

Type
string
Required

Responses

application/json
JSON
{
}

Playground

Server
Authorization
Variables
Key
Value

Samples


Create stage

POST
/stage/create

This route is used to create a new stage.

Authorizations

bearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
"name": "string",
"validatedBy": "string",
"linkableItem": "string"
}

Responses

application/json
JSON
{
}

Playground

Server
Authorization
Body

Samples


Get Stage tree

GET
/stage/list

This endpoint is used to get the tree of all stages

Authorizations

bearer
Type
HTTP (bearer)

Responses

application/json
JSON
[
]

Playground

Server
Authorization

Samples


Validate stage

POST
/stage/validate

This endpoint is used to validate a stage.

Authorizations

bearer
Type
HTTP (bearer)

Request Body

multipart/form-data
object
Format"binary"
Format"uuid"

Responses

application/json
JSON
{
}

Playground

Server
Authorization
Body

Samples


Reject Stage

POST
/stage/reject

This endpoint is used to reject a stage

Authorizations

bearer
Type
HTTP (bearer)

Responses

application/json
JSON
{
"linkedStageId": "string",
"stageGraphToInsert": [
{
"id": "string",
"name": "string",
"dependencies": [
"string"
]
}
],
"data": {
"reason": "string"
}
}

Playground

Server
Authorization

Samples


Powered by VitePress OpenAPI