{ "opencollection": "1.0.0", "info": { "name": "Romit Application Plan 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": "Plan", "type": "folder" }, "items": [ { "info": { "name": "List plans", "type": "http" }, "http": { "method": "GET", "url": "https://api.romit.io/v1/plan", "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 plans" }, { "info": { "name": "Create a plan", "type": "http" }, "http": { "method": "POST", "url": "https://api.romit.io/v1/plan", "body": { "type": "json", "data": "{}" } }, "docs": "Create a plan" }, { "info": { "name": "Get a plan", "type": "http" }, "http": { "method": "GET", "url": "https://api.romit.io/v1/plan/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get a plan" }, { "info": { "name": "Update a plan", "type": "http" }, "http": { "method": "PUT", "url": "https://api.romit.io/v1/plan/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a plan" }, { "info": { "name": "Disable a plan", "type": "http" }, "http": { "method": "POST", "url": "https://api.romit.io/v1/plan/:id/disable", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Disable a plan" } ] } ], "bundled": true }