Tasks & Queues
queues
Operations about queues
renameNimbusQueue
Code samples
PUT /queue/{queueId}
Rename a queue
Rename a queue
Body parameter
Parameters
queueId
path
integer(int64)
true
none
body
body
queueNameRequest
false
New name for the queue
Example responses
200 Response
Responses
200
Successful operation
queueResponse
400
Invalid ID supplied
None
404
Queue not found
None
To perform this operation, you must be authenticated by means of one of the following methods: jwt
deleteNimbusQueue
Code samples
DELETE /queue/{queueId}
Delete a queue
Delete a queue
Parameters
queueId
path
integer(int64)
true
none
Example responses
200 Response
Responses
200
Successful operation
queueResponse
400
Invalid ID supplied
None
404
Queue not found
None
To perform this operation, you must be authenticated by means of one of the following methods: jwt
getNimbusAllQueues
Code samples
GET /queue
Get all queues
Get all queues
Example responses
200 Response
Responses
200
Successful operation
queueResponse
500
Server Error
None
This operation does not require authentication
createNimbusQueue
Code samples
POST /queue
Create a new queue
Create a new queue
Body parameter
Parameters
body
body
queueNameRequest
false
Queue object to be created
Example responses
200 Response
Responses
200
Successful operation
queueResponse
400
Invalid input
None
422
Validation exception
None
To perform this operation, you must be authenticated by means of one of the following methods: jwt
popNimbusTask
Code samples
GET /queue/pop/{queueName}
Pop a task
Pop a task from the task queue
Parameters
queueName
path
string
true
none
Example responses
200 Response
Responses
200
Successful operation
inlineResponse200
404
No tasks available
None
To perform this operation, you must be authenticated by means of one of the following methods: jwt
tasks
getAllNimbusTasks
Code samples
GET /task/{queueName}/fromqueue
Get all tasks from a queue
Get all tasks
Parameters
queueName
path
string
true
none
Example responses
200 Response
Responses
200
Successful operation
Inline
400
Invalid queuename supplied
None
404
Task not found
None
Response Schema
Status Code 200
anonymous
[taskResponse]
false
none
none
» id
integer(int64)
false
none
Unique ID of the task
» status
string
false
none
Current status of task
» createdAt
string(date-time)
false
none
Task creation time-date
» startedAt
string(date-time)
false
none
task starting time
» completedAt
string(date-time)
false
none
task completion time-date
» payload
string
false
none
data regarding task
» queueId
integer(int64)
false
none
queueID to which task belongs
Enumerated Values
status
TO_DO
status
IN_PROGRESS
status
DONE
To perform this operation, you must be authenticated by means of one of the following methods: jwt
createNimbusTask
Code samples
POST /task
Create a new task
Create a new task
Body parameter
Parameters
body
body
addTaskToqueueRequest
false
Task object to be created
Example responses
200 Response
Responses
200
Successful operation
taskResponse
400
Invalid input
None
422
Validation exception
None
To perform this operation, you must be authenticated by means of one of the following methods: jwt
getNimbusTaskById
Code samples
GET /task/{taskId}
Get task by ID
Returns a single task
Parameters
taskId
path
integer(int64)
true
none
Example responses
200 Response
Responses
200
Successful operation
taskResponse
400
Invalid ID supplied
None
404
Task not found
None
To perform this operation, you must be authenticated by means of one of the following methods: jwt
updateNimbusTask
Code samples
PUT /task/{taskId}
Update task
Update an existing task by ID
Body parameter
Parameters
taskId
path
integer(int64)
true
none
body
body
taskUpdateRequest
false
Update an existing task in the store
Example responses
200 Response
Responses
200
Successful operation
taskResponse
400
Invalid ID supplied
None
404
Task not found
None
To perform this operation, you must be authenticated by means of one of the following methods: jwt
deleteNimbusTask
Code samples
DELETE /task/{taskId}
Delete task
Delete a task by ID
Parameters
taskId
path
integer(int64)
true
none
Example responses
200 Response
Responses
200
Successful operation
taskResponse
400
Invalid ID supplied
None
404
Task not found
None
To perform this operation, you must be authenticated by means of one of the following methods: jwt
getNimbusTaskStatus
Code samples
GET /task/{taskId}/status
Get task status
Get the status of a task by ID
Parameters
taskId
path
integer(int64)
true
none
Example responses
200 Response
Responses
200
Successful operation
taskStatus
400
Invalid ID supplied
None
404
Task not found
None
To perform this operation, you must be authenticated by means of one of the following methods: jwt
Last updated