{ "opencollection": "1.0.0", "info": { "name": "elastic.io Platform REST Agents Topics API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Topics", "type": "folder" }, "items": [ { "info": { "name": "Elastic.io List topics", "type": "http" }, "http": { "method": "GET", "url": "https://api.elastic.io/v2/topics", "params": [ { "name": "page[size]", "value": "", "type": "query", "description": "Number of items per page" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number to retrieve" }, { "name": "filter[workspace_id]", "value": "", "type": "query", "description": "Filter by workspace ID" } ] }, "docs": "Retrieve a list of pub/sub topics." }, { "info": { "name": "Elastic.io Create a topic", "type": "http" }, "http": { "method": "POST", "url": "https://api.elastic.io/v2/topics", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new pub/sub topic." }, { "info": { "name": "Elastic.io Get a topic", "type": "http" }, "http": { "method": "GET", "url": "https://api.elastic.io/v2/topics/:topic_id", "params": [ { "name": "topic_id", "value": "", "type": "path" } ] }, "docs": "Retrieve details of a specific topic." }, { "info": { "name": "Elastic.io Delete a topic", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.elastic.io/v2/topics/:topic_id", "params": [ { "name": "topic_id", "value": "", "type": "path" } ] }, "docs": "Delete a pub/sub topic." } ] } ], "bundled": true }