{ "opencollection": "1.0.0", "info": { "name": "Eaton Smart Breaker Authorization API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.em.eaton.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Authorization", "type": "folder" }, "items": [ { "info": { "name": "Issue OAuth2 Bearer Token", "type": "http" }, "http": { "method": "POST", "url": "https://api.em.eaton.com/oauth2/token", "body": { "type": "form-urlencoded", "data": [ { "name": "grant_type", "value": "" } ] } }, "docs": "Exchange Client ID + secret (Base64-encoded as Basic auth) for a Bearer access token valid for 1 hour." } ] } ], "bundled": true }