{ "opencollection": "1.0.0", "info": { "name": "Hubstaff Activities Users API", "version": "2.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://account.hubstaff.com/authorizations/new", "accessTokenUrl": "https://account.hubstaff.com/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "Get current user", "type": "http" }, "http": { "method": "GET", "url": "https://api.hubstaff.com/v2/users/me" }, "docs": "Returns the authenticated user." }, { "info": { "name": "Get user", "type": "http" }, "http": { "method": "GET", "url": "https://api.hubstaff.com/v2/users/:user_id", "params": [ { "name": "user_id", "value": "", "type": "path", "description": "User ID" } ] }, "docs": "Returns the user with the given ID." } ] } ], "bundled": true }