JS executions (1.1)

Download OpenAPI specification:Download

JS executions API

JS executions API

List JsExecutions

Retrieve JsExecutions list

query Parameters
status
string
Enum: "CREATED" "SUBMITTED" "REJECTED" "CANCELLED" "RUNNING" "SUCCESSFUL" "UNSUCCESSFUL"
sortBy
string
Enum: "ID" "SCHEDULED_TIME"

Responses

Response samples

Content type
application/json
[]

Create new JsExecution

Create new JsExecution

Request Body schema: application/json
id
integer <int32>
status
string
Enum: "CREATED" "SUBMITTED" "REJECTED" "CANCELLED" "RUNNING" "SUCCESSFUL" "UNSUCCESSFUL"
Executed at
string
Scheduled at
string

Responses

Request samples

Content type
application/json
{
  • "scriptBody": "console.log('I am js snippet!');"
}

Response samples

Content type
application/json
{}

Get JsExecution

Get JsExecution by id

path Parameters
executionId
required
integer <int32>

Responses

Response samples

Content type
application/json
{}

Delete JsExecution

Delete JsExecution by id

path Parameters
executionId
required
integer <int32>

Responses

Response samples

Content type
application/problem+json
{
  • "title": "Not Found",
  • "status": 404,
  • "detail": "JsExecution id 10 not found"
}

Get execution details as plain text

Get execution details by JS execution id and property name as plain text

path Parameters
executionId
required
integer <int32>
property
required
string

Responses

Response samples

Content type
text/plain
This is details report in plain text format. 
It could be very varied.

Cancel or stop JsExecution

Cancel or stop JsExecution

path Parameters
executionId
required
integer <int32>

Responses

Response samples

Content type
application/json
{}