{ "opencollection": "1.0.0", "info": { "name": "Romit Application OAuth 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": "OAuth", "type": "folder" }, "items": [ { "info": { "name": "Begin user authorization", "type": "http" }, "http": { "method": "POST", "url": "https://api.romit.io/v1/oauth", "body": { "type": "json", "data": "{}" } }, "docs": "Start an OAuth2 user-authorization request for the given scopes." }, { "info": { "name": "Exchange or refresh an OAuth2 token", "type": "http" }, "http": { "method": "POST", "url": "https://api.romit.io/v1/oauth/token", "body": { "type": "json", "data": "{}" } }, "docs": "Exchange an authorization code, refresh a token, or obtain a client_credentials token depending on grant_type." } ] } ], "bundled": true }