{ "opencollection": "1.0.0", "info": { "name": "Restream Channels User API", "version": "v2" }, "items": [ { "info": { "name": "User", "type": "folder" }, "items": [ { "info": { "name": "Get User Profile", "type": "http" }, "http": { "method": "GET", "url": "https://api.restream.io/v2/user/profile", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.restream.io/oauth/authorize", "accessTokenUrl": "https://api.restream.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieve the authenticated user's profile information." }, { "info": { "name": "Refresh OAuth Token", "type": "http" }, "http": { "method": "POST", "url": "https://api.restream.io/v2/oauth/token", "body": { "type": "form-urlencoded", "data": [ { "name": "grant_type", "value": "" }, { "name": "refresh_token", "value": "" }, { "name": "client_id", "value": "" }, { "name": "client_secret", "value": "" } ] } }, "docs": "Obtain a new access token using a refresh token via the OAuth2 refresh_token grant." } ] } ], "bundled": true }