{ "opencollection": "1.0.0", "info": { "name": "Cloudflare / Accounts Consumers API", "version": "4.0.0" }, "items": [ { "info": { "name": "Consumers", "type": "folder" }, "items": [ { "info": { "name": "Cloudflare List Queue Consumers", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/queues/:queue_id/consumers", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "queue_id", "value": "", "type": "path", "description": "The unique identifier of the queue." } ] }, "docs": "Returns the consumers configured for a queue." }, { "info": { "name": "Cloudflare Create Queue Consumer", "type": "http" }, "http": { "method": "POST", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/queues/:queue_id/consumers", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "queue_id", "value": "", "type": "path", "description": "The unique identifier of the queue." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add a new consumer to a queue to process messages." }, { "info": { "name": "Cloudflare Get Queue Consumer", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/queues/:queue_id/consumers/:consumer_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "queue_id", "value": "", "type": "path", "description": "The unique identifier of the queue." }, { "name": "consumer_id", "value": "", "type": "path", "description": "The unique identifier of the consumer." } ] }, "docs": "Retrieve details of a specific queue consumer." }, { "info": { "name": "Cloudflare Replace Queue Consumer", "type": "http" }, "http": { "method": "PUT", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/queues/:queue_id/consumers/:consumer_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "queue_id", "value": "", "type": "path", "description": "The unique identifier of the queue." }, { "name": "consumer_id", "value": "", "type": "path", "description": "The unique identifier of the consumer." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update or create a consumer for the queue." }, { "info": { "name": "Cloudflare Delete Queue Consumer", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/queues/:queue_id/consumers/:consumer_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "queue_id", "value": "", "type": "path", "description": "The unique identifier of the queue." }, { "name": "consumer_id", "value": "", "type": "path", "description": "The unique identifier of the consumer." } ] }, "docs": "Remove a consumer from the queue." } ] } ], "bundled": true }