- 26 Mar 2024
- 1 Minute to read
- Print
- DarkLight
v1 Pull and acknowledge messages from a queue
- Updated on 26 Mar 2024
- 1 Minute to read
- Print
- DarkLight
Pull and acknowledge messages from a queue
AWS Cognito Authorizer. Since there are no custom scopes the ID Token must be used for authorization
The RapidIdentity Cloud tenant id
The project id this service belongs. MUST be builtin or custom
The queue name.
The number of messages to pull from the queue.
Retrieving up to 5 messages from queue
{
"maxMessages": 5
}
The maximum number of messages to return from this request. Must be a positive integer. The Pub/Sub system may return fewer than the number specified
An array of messages from the queue or nil
Body is not present or formatted incorrectly
The request is not authorized. Check that an api key exists and that the api key is valid for the tenantId
Unable to retrieve queue as name does not exist
The request does not have a projectId of custom or builtin
Unable to connect to pubsub service