{ "opencollection": "1.0.0", "info": { "name": "Light Authorization API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Authorization", "type": "folder" }, "items": [ { "info": { "name": "Create access token", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/oauth/token", "body": { "type": "form-urlencoded", "data": [ { "name": "client_id", "value": "" }, { "name": "client_secret", "value": "" }, { "name": "grant_type", "value": "" }, { "name": "code", "value": "" }, { "name": "redirect_uri", "value": "" }, { "name": "refresh_token", "value": "" } ] } }, "docs": "Exchanges an authorization code or refresh token for an access token" }, { "info": { "name": "Start authorization flow", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/oauth/authorize", "params": [ { "name": "redirect_uri", "value": "", "type": "query" }, { "name": "state", "value": "", "type": "query" }, { "name": "client_id", "value": "", "type": "query" } ] }, "docs": "Redirects the user to the authorization page to start the OAuth V2 authorization flow" } ] } ], "bundled": true }