Skip to content

/api/v1/admin/commands (GET)

GET
/api/v1/admin/commands
curl --request GET \
--url 'https://nbaproplab.com/api/v1/admin/commands?limit=50' \
--header 'Authorization: Bearer <token>' \
--header 'X-API-Key: <X-API-Key>'
status
string
type
string
limit
integer | string format: int32
default: 50 /^-?(?:0|[1-9]\d*)$/

OK

Array<object>
object
id
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
commandType
required
string
targetService
required
string
status
required
string
cancelRequested
required
boolean
createdAt
required
string format: date-time
createdBy
required
string
startedAt
required
null | string format: date-time
completedAt
required
null | string format: date-time
durationMs
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
outputJson
required
errorMessage
required
null | string

Authentication required.

Media type application/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Insufficient permissions or tier.

Media type application/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}