- Queues & Namespaces
- Acknowledged Messages
- Dead-lettered Messages
- Pending Messages
- Scheduled Messages
- Queue Rate limiting
- Fanout Exchanges
JSON Body properties
name
(string): Required. Queue name.ns
(string): Optional. Queue namespace.type
(number): Required Queue type.
Example:
{
"name": "my-queue",
"type": 0
}
Response Body
{
"queue": {
"name": "my-queue",
"ns": "default"
},
"settings": {
"priorityQueuing": false,
"type": 0,
"rateLimit": null,
"exchange":null
}
}
Response body
{
"data": [
{
"ns": "my-application",
"name": "notifications"
},
{
"ns": "my-application",
"name": "orders"
},
{
"ns": "my-application",
"name": "confirmation_emails"
}
]
}
Response body
{
"data": [
"namespace_a",
"namespace_b",
"testing"
]
}
Path parameters
ns
(string): Required. Namespace.
Response Body
204 No Content
Path parameters
ns
(string): Required. Namespace.
Response Body
{
"data": [
{
"ns": "my-app-namespace",
"name": "notifications"
},
{
"ns": "my-app-namespace",
"name": "orders"
},
{
"ns": "my-app-namespace",
"name": "confirmation_emails"
}
]
}
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
Query parameters
skip
(number): Optional. Offset from where messages should be taken. Starts from 0.take
(number): Optional. Max number of messages that should be taken. Starts from 1.
Response Body
{
"data": {
"total": 1,
"items": [
{
"sequenceId": 0,
"message": {
"body": {
"hello": "world"
},
"priority": null,
"scheduledCron": null,
"scheduledDelay": null,
"scheduledRepeatPeriod": null,
"scheduledRepeat": 0,
"scheduledCronFired": false,
"attempts": 0,
"scheduledRepeatCount": 0,
"delayed": false,
"expired": false,
"queue": {
"ns": "my-application",
"name": "test_queue"
},
"createdAt": 1635702165317,
"publishedAt": 1737595989746,
"scheduledAt": null,
"uuid": "9e7b8046-200c-48de-aa9f-2caf0a172a83",
"ttl": 0,
"retryDelay": 0,
"retryThreshold": 3,
"consumeTimeout": 0
}
}
]
}
}
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.id
(string): Required. Message ID.
Query parameters
sequenceId
(number): Required. Message sequence ID.
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.id
(string): Required. Message ID.
Query parameters
sequenceId
(number): Required. Message sequence ID.
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
Query parameters
skip
(number): Optional. Offset from where messages should be taken. Starts from 0.take
(number): Optional. Max number of messages that should be taken. Starts from 1.
Response Body
{
"data": {
"total": 1,
"items": [
{
"sequenceId": 0,
"message": {
"body": { "hello": "world" },
"priority": null,
"scheduledCron": null,
"scheduledDelay": null,
"scheduledRepeatPeriod": null,
"scheduledRepeat": 0,
"scheduledCronFired": false,
"attempts": 2,
"scheduledRepeatCount": 0,
"delayed": false,
"expired": false,
"queue": {
"ns": "my-application",
"name": "test_queue"
},
"createdAt": 1635702165317,
"publishedAt": 1737595989746,
"scheduledAt": 1637523400376,
"uuid": "9e7b8046-200c-48de-aa9f-2caf0a172a83",
"ttl": 0,
"retryDelay": 0,
"retryThreshold": 3,
"consumeTimeout": 0
}
}
]
}
}
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.id
(string): Required. Message ID.
Query parameters
sequenceId
(number): Required. Message sequence ID.
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.id
(string): Required. Message ID.
Query parameters
sequenceId
(number): Required. Message sequence ID.priority
(number): Optional. Message priority. When provided, the message will be re-queued with priority.
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
Query parameters
skip
(number): Optional. Offset from where messages should be taken. Starts from 0.take
(number): Optional. Max number of messages that should be taken. Starts from 1.
Response Body
{
"data": {
"total": 1,
"items": [
{
"sequenceId": 0,
"message": {
"body": { "hello": "world" },
"priority": null,
"scheduledCron": null,
"scheduledDelay": null,
"scheduledRepeatPeriod": null,
"scheduledRepeat": 0,
"scheduledCronFired": false,
"attempts": 0,
"scheduledRepeatCount": 0,
"delayed": false,
"expired": false,
"queue": {
"ns": "my-application",
"name": "test_queue"
},
"createdAt": 1635702165317,
"publishedAt": 1635702167654,
"scheduledAt": null,
"uuid": "9e7b8046-200c-48de-aa9f-2caf0a172a83",
"ttl": 0,
"retryDelay": 0,
"retryThreshold": 3,
"consumeTimeout": 0
}
}
]
}
}
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.id
(string): Required. Message ID.
Query parameters
sequenceId
(number): Required. Message sequence ID.
Response Body
204 No Content
Query parameters
skip
(number): Optional. Offset from where messages should be taken. Starts from 0.take
(number): Optional. Max number of messages that should be taken. Starts from 1.
Response Body
{
"data": {
"total": 1,
"items": [
{
"sequenceId": 0,
"message": {
"body": { "hello": "world" },
"priority": null,
"scheduledCron": null,
"scheduledDelay": null,
"scheduledRepeatPeriod": 10000,
"scheduledRepeat": 6,
"scheduledCronFired": false,
"attempts": 0,
"scheduledRepeatCount": 0,
"delayed": false,
"expired": false,
"queue": {
"ns": "my-application",
"name": "test_queue"
},
"createdAt": 1635702165317,
"publishedAt": null,
"scheduledAt": 1635702163487,
"uuid": "9e7b8046-200c-48de-aa9f-2caf0a172a83",
"ttl": 0,
"retryDelay": 0,
"retryThreshold": 3,
"consumeTimeout": 0
}
}
]
}
}
Path parameters
queueName
(string): Required. Queue name.
Response Body
204 No Content
Path parameters
id
(string): Required. Message ID.
Query parameters
sequenceId
(number): Required. Message sequence ID.
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
JSON Body properties
limit
(number): Required. The maximum number of messages within aninterval
.interval
(number): Required. The timespan forlimit
in milliseconds.
Example:
{
"interval": 10000,
"limit": 15
}
Response Body
204 No Content
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
Response Body
If a rate limit exists:
{
"data": {
"interval": 10000,
"limit": 15
}
}
Otherwise:
{
"data": null
}
Path parameters
ns
(string): Required. Queue namespace.queueName
(string): Required. Queue name.
Response Body
204 No Content
Response body
{
"data": [
"my-exchange-1",
"my-exchange-2"
]
}
JSON Body properties
exchangeName
(string): Required. Fanout exchange name.
Example:
{
"exchangeName": "my-exchange-3"
}
Response Body
{
"data": [
"my-exchange-1",
"my-exchange-2",
"my-exchange-3"
]
}
Response body
{
"data": [
"my-exchange-1",
"my-exchange-2"
]
}
Response body
{
"data": [
{
"ns": "my-application",
"name": "notifications"
}
]
}
JSON Body properties
queue
(object): Required.name
(string): Required. Queue name.ns
(string): Optional. Queue namespace.
Example:
{
"queue": {
"name": "orders",
"ns": "my-application"
}
}
Response Body
204 No Content
JSON Body properties
queue
(object): Required.name
(string): Required. Queue name.ns
(string): Optional. Queue namespace.
Example:
{
"queue": {
"name": "orders",
"ns": "my-application"
}
}
Response Body
204 No Content