{ "opencollection": "1.0.0", "info": { "name": "Eventuate REST Entities Subscriptions API", "version": "1.0.0" }, "items": [ { "info": { "name": "Subscriptions", "type": "folder" }, "items": [ { "info": { "name": "Create an event subscription", "type": "http" }, "http": { "method": "POST", "url": "{baseUrl}/subscriptions", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new subscription to receive events for specified entity types." }, { "info": { "name": "Get a subscription", "type": "http" }, "http": { "method": "GET", "url": "{baseUrl}/subscriptions/:subscriptionId", "params": [ { "name": "subscriptionId", "value": "", "type": "path" } ] }, "docs": "Returns details of a specific event subscription." }, { "info": { "name": "Delete a subscription", "type": "http" }, "http": { "method": "DELETE", "url": "{baseUrl}/subscriptions/:subscriptionId", "params": [ { "name": "subscriptionId", "value": "", "type": "path" } ] }, "docs": "Deletes an event subscription." }, { "info": { "name": "Get events from a subscription", "type": "http" }, "http": { "method": "GET", "url": "{baseUrl}/subscriptions/:subscriptionId/events", "params": [ { "name": "subscriptionId", "value": "", "type": "path" }, { "name": "maxEvents", "value": "", "type": "query" } ] }, "docs": "Retrieves pending events for a subscription." }, { "info": { "name": "Acknowledge events", "type": "http" }, "http": { "method": "POST", "url": "{baseUrl}/subscriptions/:subscriptionId/acknowledge", "params": [ { "name": "subscriptionId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Acknowledges receipt and processing of subscription events." } ] } ], "bundled": true }