{ "opencollection": "1.0.0", "info": { "name": "WakaTime Commits Users API", "version": "v1" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://wakatime.com/oauth/authorize", "accessTokenUrl": "https://wakatime.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "Get Current User", "type": "http" }, "http": { "method": "GET", "url": "https://wakatime.com/api/v1/users/current", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://wakatime.com/oauth/authorize", "accessTokenUrl": "https://wakatime.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns the authenticated user's profile." }, { "info": { "name": "Get User", "type": "http" }, "http": { "method": "GET", "url": "https://wakatime.com/api/v1/users/:user", "params": [ { "name": "user", "value": "example", "type": "path", "description": "User id, username, or \"current\"." } ] }, "docs": "Returns the public profile for the given user." } ] } ], "bundled": true }