Count jobs in queue
GET
/api/v1/discord/queue/{id}The API only works for user with DIY plan, and have linked their Discord account.
The API will return the number of jobs in the queue for the specified linked Discord account.
Request
Path Params
id
string
required
The token ID from the /tokens endpoint, for the specific Discord account.
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
waiting
number
required
The number of waiting jobs in the queue.
active
number
required
The number of active jobs in the queue.
Example
{
"waiting": 129,
"active": 3
}
Last modified: 3 个月前