{ "opencollection": "1.0.0", "info": { "name": "Kong Enterprise Admin ACLs OpenMeter Subscriptions API", "version": "3.14.0" }, "request": { "auth": { "type": "apikey", "key": "Kong-Admin-Token", "value": "{{Kong-Admin-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "OpenMeter Subscriptions", "type": "folder" }, "items": [ { "info": { "name": "List subscriptions", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/subscriptions", "params": [ { "name": "page", "value": "", "type": "query", "description": "Determines which page of the collection to retrieve." }, { "name": "filter", "value": "", "type": "query", "description": "Filter subscriptions." } ] }, "docs": "List subscriptions" }, { "info": { "name": "Create subscription", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/subscriptions", "body": { "type": "json", "data": "{}" } }, "docs": "Create subscription" }, { "info": { "name": "Get subscription", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/subscriptions/:subscriptionId", "params": [ { "name": "subscriptionId", "value": "", "type": "path" } ] }, "docs": "Get subscription" }, { "info": { "name": "Cancel subscription", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/subscriptions/:subscriptionId/cancel", "params": [ { "name": "subscriptionId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Cancels the subscription.\nWill result in a scheduling conflict if there are other subscriptions scheduled to start after the cancelation time." }, { "info": { "name": "Change subscription", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/subscriptions/:subscriptionId/change", "params": [ { "name": "subscriptionId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Closes a running subscription and starts a new one according to the specification.\nCan be used for upgrades, downgrades, and plan changes." }, { "info": { "name": "Unschedule subscription cancelation", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/subscriptions/:subscriptionId/unschedule-cancelation", "params": [ { "name": "subscriptionId", "value": "", "type": "path" } ] }, "docs": "Unschedules the subscription cancelation." } ] } ], "bundled": true }