{ "opencollection": "1.0.0", "info": { "name": "Badger Maps Accounts Users API", "version": "2.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "Authenticate and obtain an API token", "type": "http" }, "http": { "method": "POST", "url": "https://badgerapis.badgermapping.com/api/2/login/", "body": { "type": "form-urlencoded", "data": [ { "name": "username", "value": "" }, { "name": "password", "value": "" } ] } }, "docs": "Exchanges a username and password for an API token that is then sent in the `Authorization: Token ` header on subsequent requests." }, { "info": { "name": "Retrieve the authenticated user profile", "type": "http" }, "http": { "method": "GET", "url": "https://badgerapis.badgermapping.com/api/2/profiles/" }, "docs": "Returns the profile of the authenticated user, including company info, profile settings, and the account custom data-field schema (datafields)." }, { "info": { "name": "Search for users", "type": "http" }, "http": { "method": "GET", "url": "https://badgerapis.badgermapping.com/api/2/search/users/", "params": [ { "name": "q", "value": "", "type": "query", "description": "Query string - an email address or user ID." } ] }, "docs": "Searches users the authenticated account manages, by email or user ID." } ] } ], "bundled": true }