Altair SLC Hub Management (2024.0.0)

Download OpenAPI specification:Download

Authentication

bearerAuth

Security Scheme Type HTTP
HTTP Authorization Scheme bearer
Bearer format "JWT"

Queries current nodes

Authorizations:
query Parameters
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"

Responses

Response samples

Content type
application/json
{
  • "total": 0,
  • "data": [
    ]
}

Returns the given node

Authorizations:
path Parameters
nodeId
required
string

ID of the node

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "hostname": "string",
  • "address": "string",
  • "resources": {
    },
  • "type": "server",
  • "isWorker": true,
  • "isServer": true,
  • "status": "initializing",
  • "attributes": {
    }
}

Returns resource usage stats for the given node

Authorizations:
path Parameters
nodeId
required
string

ID of the node

Responses

Response samples

Content type
application/json
{
  • "uptime": 0,
  • "memory": {
    },
  • "cpu": {
    }
}

queries details about the jobs running in the cluster

Authorizations:
query Parameters
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"

Responses

Response samples

Content type
application/json
{
  • "total": 0,
  • "data": [
    ]
}

gets extended information about the given job

Authorizations:
path Parameters
jobId
required
string

ID of the job

query Parameters
page[offset]
integer
page[limit]
integer

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "status": "pending",
  • "type": "batch",
  • "submitTime": "2019-08-24T14:15:22Z",
  • "priority": 1,
  • "properties": {
    }
}

queryJobExecutions

Authorizations:
query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "total": 0,
  • "data": [
    ]
}

getJobExecutionInfo

Authorizations:
path Parameters
jobExecutionId
required
string

ID of the job execution

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "jobId": "string",
  • "status": "pending",
  • "creationTime": "2019-08-24T14:15:22Z",
  • "modifiedTime": "2019-08-24T14:15:22Z",
  • "nodeId": "string",
  • "nodeName": "string",
  • "taskStates": {
    },
  • "resources": {
    },
  • "jobProperties": {
    }
}

listExecutionLogs

Returns a list of the available logs for the job

Authorizations:
path Parameters
jobExecutionId
required
string

ID of the job execution

taskName
required
string

name of the task

Responses

Response samples

Content type
application/json
[
  • "string"
]

getJobExecutionLog

Returns the content of one of the job execution log files.

Authorizations:
path Parameters
jobExecutionId
required
string

ID of the job execution

taskName
required
string

name of the task

logname
required
string
query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "msg": "string"
}

listJobExecutionFiles

Authorizations:
path Parameters
jobExecutionId
required
string

ID of the job execution

path
string

Responses

Response samples

Content type
application/json
{
  • "msg": "string"
}

getJobExecutionFile

Authorizations:
path Parameters
jobExecutionId
required
string

ID of the job execution

path
string
query Parameters
offset
integer <int64>

Specifies where in the file to start reading from

limit
integer <int32>

Specifies the maximum amount of content to return

Responses

Response samples

Content type
application/json
{
  • "msg": "string"
}

getJobExecutionStats

Authorizations:
path Parameters
jobExecutionId
required
string

ID of the job execution

Responses

Response samples

Content type
application/json
{
  • "msg": "string"
}

restartJobExecution

Authorizations:
path Parameters
jobExecutionId
required
string

ID of the job execution

Responses

Response samples

Content type
application/json
{
  • "msg": "string"
}

stopJobExecution

Authorizations:
path Parameters
jobExecutionId
required
string

ID of the job execution

Responses

Response samples

Content type
application/json
{
  • "msg": "string"
}

getVersionInfo

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "version": "string"
}

runGarbageCollection

Authorizations:

Responses

Returns a list of all attributes on nodes

Authorizations:

Responses

Response samples

Content type
application/json
[
  • "string"
]

Returns a list of all labels on nodes

Authorizations:

Responses

Response samples

Content type
application/json
[
  • "string"
]