Queues and messaging¶
Generated from the gateway schema. Do not edit.
Queries¶
platformEvents¶
query { platformEvents: PlatformEventsInfo! }
Requires: an authenticated member of the tenant
Returns: PlatformEventsInfo!
queue¶
query { queue(name: String!): Queue! }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Queue!
queueCredentials¶
query { queueCredentials: [QueueCredential!]! }
Requires: an authenticated member of the tenant
Returns: [QueueCredential!]!
queueWebhook¶
query { queueWebhook(name: String!): QueueWebhook! }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: QueueWebhook!
queueWebhooks¶
The tenant's webhooks. Fails with NOT_CONFIGURED where webhooks are not enabled.
query { queueWebhooks: [QueueWebhook!]! }
Requires: an authenticated member of the tenant
Returns: [QueueWebhook!]!
queueWebhooksInfo¶
query { queueWebhooksInfo: QueueWebhooksInfo! }
Requires: an authenticated member of the tenant
Returns: QueueWebhooksInfo!
queues¶
The tenant's queues with their message counts. Fails with NOT_CONFIGURED where queues are not enabled.
query { queues: [Queue!]! }
Requires: an authenticated member of the tenant
Returns: [Queue!]!
queuesInfo¶
query { queuesInfo: QueuesInfo! }
Requires: an authenticated member of the tenant
Returns: QueuesInfo!
scheduledMessage¶
query { scheduledMessage(name: String!): ScheduledMessage! }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: ScheduledMessage!
scheduledMessages¶
query { scheduledMessages: [ScheduledMessage!]! }
Requires: an authenticated member of the tenant
Returns: [ScheduledMessage!]!
scheduledMessagesInfo¶
query { scheduledMessagesInfo: ScheduledMessagesInfo! }
Requires: an authenticated member of the tenant
Returns: ScheduledMessagesInfo!
topicSubscriptions¶
Subscriptions, optionally only those of one topic or delivering to one queue.
query { topicSubscriptions(topic: String, queue: String): [TopicSubscription!]! }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
topic |
String |
|
queue |
String |
Returns: [TopicSubscription!]!
topics¶
query { topics: [Topic!]! }
Requires: an authenticated member of the tenant
Returns: [Topic!]!
Mutations¶
createQueue¶
Creates a durable queue. Names starting with rso- are kept for the platform.
mutation { createQueue(name: String!): Queue! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Queue!
createQueueCredential¶
mutation { createQueueCredential(name: String!): QueueCredentialSecret! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: QueueCredentialSecret!
createQueueWebhook¶
mutation { createQueueWebhook(input: CreateQueueWebhookInput!): QueueWebhook! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
input |
CreateQueueWebhookInput! |
Returns: QueueWebhook!
createScheduledMessage¶
mutation { createScheduledMessage(input: ScheduledMessageInput!): ScheduledMessage! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
input |
ScheduledMessageInput! |
Returns: ScheduledMessage!
createTopic¶
mutation { createTopic(name: String!): Topic! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Topic!
createTopicSubscription¶
mutation { createTopicSubscription(input: CreateTopicSubscriptionInput!): TopicSubscription! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
input |
CreateTopicSubscriptionInput! |
Returns: TopicSubscription!
deleteQueue¶
Deletes the queue, the messages in it and the subscriptions that deliver to it.
mutation { deleteQueue(name: String!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Boolean!
deleteQueueCredential¶
Deletes the user on the broker; its open connections are closed.
mutation { deleteQueueCredential(name: String!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Boolean!
deleteQueueWebhook¶
Deletes the webhook, its subscription and its queues, with the messages still waiting or dead-lettered.
mutation { deleteQueueWebhook(name: String!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Boolean!
deleteScheduledMessage¶
mutation { deleteScheduledMessage(name: String!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Boolean!
deleteTopic¶
Deletes the topic and its subscriptions. The queues they delivered to stay.
mutation { deleteTopic(name: String!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Boolean!
deleteTopicSubscription¶
Removes a queue's subscription. A webhook's subscription goes with the webhook.
mutation { deleteTopicSubscription(id: ID!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
id |
ID! |
Returns: Boolean!
purgeQueue¶
Drops every message waiting in the queue.
mutation { purgeQueue(name: String!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Boolean!
resumeQueueWebhook¶
Starts a paused webhook again and forgets its failures.
mutation { resumeQueueWebhook(name: String!): QueueWebhook! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: QueueWebhook!
runScheduledMessage¶
Publishes the message now, outside its schedule.
mutation { runScheduledMessage(name: String!): ScheduledMessage! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: ScheduledMessage!
updateQueueWebhook¶
mutation { updateQueueWebhook(input: UpdateQueueWebhookInput!): QueueWebhook! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
input |
UpdateQueueWebhookInput! |
Returns: QueueWebhook!
updateScheduledMessage¶
Replaces the schedule, target and body of the message named in the input.
mutation { updateScheduledMessage(input: ScheduledMessageInput!): ScheduledMessage! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
input |
ScheduledMessageInput! |
Returns: ScheduledMessage!