Download OpenAPI specification:Download
filter[status][EQ] | string (nodeStatus) Enum: "initializing" "ready" "down" "unknown" |
filter[status][IN] | string |
filter[isWorker][EQ] | boolean |
filter[isServer][EQ] | boolean |
filter[nodeLabels][ALL] | Array of strings |
filter[nodeLabels][ANY] | Array of strings |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "id" "-id" "name" "-name" "address" "-address" "status" "-status" |
{- "total": 0,
- "data": [
- {
- "id": "string",
- "name": "string",
- "address": "string",
- "type": "server",
- "isWorker": true,
- "isServer": true,
- "status": "initializing",
- "nodeLabels": [
- "string"
]
}
]
}
nodeId required | string ID of the node |
{- "id": "string",
- "name": "string",
- "hostname": "string",
- "address": "string",
- "resources": {
- "memory": 0,
- "cpu": 0
}, - "type": "server",
- "isWorker": true,
- "isServer": true,
- "status": "initializing",
- "attributes": {
- "property1": "string",
- "property2": "string"
}
}
filter[name][ST] | string |
filter[name][CO] | string |
filter[status][EQ] | string (jobStatus) Enum: "pending" "running" "dead" |
filter[status][IN] | Array of strings (jobStatus) Items Enum: "pending" "running" "dead" |
filter[type][EQ] | string (jobType) Enum: "batch" "service" |
filter[submitTime][LT] | string <date-time> Filters jobs by submit time |
filter[submitTime][GT] | string <date-time> Filters jobs by submit time |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "name" "-name" "status" "-status" "type" "-type" "submitTime" "-submitTime" |
{- "total": 0,
- "data": [
- {
- "id": "string",
- "name": "string",
- "status": "pending",
- "type": "batch",
- "submitTime": "2019-08-24T14:15:22Z",
- "priority": 1,
- "taskSummary": {
- "queued": 0,
- "completed": 0,
- "failed": 0,
- "running": 0,
- "starting": 0,
- "lost": 0
}
}
]
}
jobId required | string ID of the job |
page[offset] | integer |
page[limit] | integer |
{- "id": "string",
- "name": "string",
- "status": "pending",
- "type": "batch",
- "submitTime": "2019-08-24T14:15:22Z",
- "priority": 1,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
filter[jobId][EQ] | string |
filter[nodeId][EQ] | string |
filter[status][EQ] | string (jobExecutionStatus) Enum: "pending" "running" "complete" "failed" "lost" |
filter[status][IN] | Array of strings (jobExecutionStatus) Items Enum: "pending" "running" "complete" "failed" "lost" |
filter[creationTime][LT] | string <date-time> |
filter[creationTime][GT] | string <date-time> |
filter[modifiedTime][LT] | string <date-time> |
filter[modifiedTime][GT] | string <date-time> |
page[offset] | integer |
page[limit] | integer |
{- "total": 0,
- "data": [
- {
- "id": "string",
- "jobId": "string",
- "status": "pending",
- "creationTime": "2019-08-24T14:15:22Z",
- "modifiedTime": "2019-08-24T14:15:22Z",
- "nodeId": "string",
- "nodeName": "string"
}
]
}
jobExecutionId required | string ID of the job execution |
{- "id": "string",
- "jobId": "string",
- "status": "pending",
- "creationTime": "2019-08-24T14:15:22Z",
- "modifiedTime": "2019-08-24T14:15:22Z",
- "nodeId": "string",
- "nodeName": "string",
- "taskStates": {
- "property1": {
- "status": "pending",
- "failed": true,
- "restarts": 0,
- "lastRestart": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "type": "string",
- "time": "2019-08-24T14:15:22Z",
- "displayMessage": "string",
- "details": { },
- "message": "string"
}
]
}, - "property2": {
- "status": "pending",
- "failed": true,
- "restarts": 0,
- "lastRestart": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "events": [
- {
- "type": "string",
- "time": "2019-08-24T14:15:22Z",
- "displayMessage": "string",
- "details": { },
- "message": "string"
}
]
}
}, - "resources": {
- "reservedCPU": 0,
- "reservedMemory": 0
}, - "jobProperties": {
- "property1": "string",
- "property2": "string"
}
}
Returns the content of one of the job execution log files.
jobExecutionId required | string ID of the job execution |
taskName required | string name of the task |
logname required | string |
origin | string Enum: "start" "end" Specifies the origin for where in the log to start reading from. Default is "start" |
offset | integer <int64> Specifies where in the log to start reading from, relative to the origin. |
limit | integer <int32> Specifies the maximum amount of content to return |
{- "msg": "string"
}
jobExecutionId required | string ID of the job execution |
path | string |
offset | integer <int64> Specifies where in the file to start reading from |
limit | integer <int32> Specifies the maximum amount of content to return |
{- "msg": "string"
}
{- "version": "string"
}
[- "string"
]
[- "string"
]