{ "opencollection": "1.0.0", "info": { "name": "Romit Application Subscription API", "version": "v1" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.romit.io/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Subscription", "type": "folder" }, "items": [ { "info": { "name": "List subscriptions", "type": "http" }, "http": { "method": "GET", "url": "https://api.romit.io/v1/subscription", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Page size for list endpoints." }, { "name": "offset", "value": "", "type": "query", "description": "Result offset for list endpoints." } ] }, "docs": "List subscriptions" }, { "info": { "name": "Create a subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.romit.io/v1/subscription", "body": { "type": "json", "data": "{}" } }, "docs": "Create a subscription" }, { "info": { "name": "Get a subscription", "type": "http" }, "http": { "method": "GET", "url": "https://api.romit.io/v1/subscription/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get a subscription" }, { "info": { "name": "Update a subscription", "type": "http" }, "http": { "method": "PUT", "url": "https://api.romit.io/v1/subscription/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a subscription" }, { "info": { "name": "Cancel a subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.romit.io/v1/subscription/:id/cancel", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Cancel a subscription" } ] } ], "bundled": true }