{ "opencollection": "1.0.0", "info": { "name": "Management Applications Subscriptions API", "version": "1" }, "items": [ { "info": { "name": "Subscriptions", "type": "folder" }, "items": [ { "info": { "name": "Get the Subscriptions of a Company", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/search/~/companies/:id/subscriptions", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get the Subscriptions of a Company" }, { "info": { "name": "Create or Update a Subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/search/~/subscriptions", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create or Update a Subscription" }, { "info": { "name": "Create or Update Subscriptions in Batch", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/search/~/subscriptions/batch", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create or Update Subscriptions in Batch" }, { "info": { "name": "Get a Subscription", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/search/~/subscriptions/:id", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get a Subscription" } ] } ], "bundled": true }