{"info":{"_postman_id":"ce849828-b041-491c-8fc3-d44434423416","name":"High/Low API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>This API allows you to interact with the High/Low system and database.</p>\n<h1 id=\"overview\">Overview</h1>\n<p>The endpoints are organized by services; as the infrastructure was orginally based on a microservices architecture. \nSo if you want to make a query to read, create, update, or edit a High/Low, your endpoint would start with <code>/highlow/</code>.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>To make requests to authenticated endpoints, your request must contain the <code>Authorization</code> HTTP header with a value of <code>Bearer &lt;token&gt;</code>. The token must be obtained from one of the appropriate <code>/auth</code> endpoints.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>All authenticated endpoints may return an error of value <code>ERROR-INVALID-TOKEN</code> or <code>ERROR-INVALID-REFRESH-TOKEN</code>. \nThe error is usually returned as the key <code>error</code> in a JSON object.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"}],"owner":"8265206","collectionId":"ce849828-b041-491c-8fc3-d44434423416","publishedId":"SVn3tw4t","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FB2A57"},"publishDate":"2019-09-29T04:11:47.000Z"},"item":[{"name":"Auth","item":[{"name":"Sign Up","id":"ffa8a82f-99fa-4211-8838-577857dd13bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"firstname","value":"John","description":"<p>First name of the new user</p>\n","type":"text"},{"key":"lastname","value":"Doe","description":"<p>Last name of the new user</p>\n","type":"text"},{"key":"email","value":"johndoe@example.com","description":"<p>Email of the new user</p>\n","type":"text"},{"key":"password","value":"<password>","description":"<p>Password of the new user</p>\n","type":"text"},{"key":"confirmpassword","value":"<confirm_password>","description":"<p>Password confirmation (should be equal to password)</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/auth/sign_up","description":"<p>Used to create a new High/Low account.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    access: String,\n    refresh: String,\n    uid: String,\n    error: String*\n}\n</code></pre><h2 id=\"errors\">Errors:</h2>\n<ul>\n<li><code>empty-first-name</code>: The firstname had a length of 0 or nonexistent</li>\n<li><code>empty-last-name</code>: The lastname had a length of 0 or nonexistent</li>\n<li><code>empty-email</code>: The email had a length of 0 or nonexistent</li>\n<li><code>email-already-taken</code>: The email given is in use by another user</li>\n<li><code>invalid-email</code>: The email given was invalid</li>\n<li><code>password-too-short</code>: The password was too short (minimum length of 6 chars)</li>\n<li><code>passwords-no-match</code>: The password and confirmpassword do not match.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["auth","sign_up"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffa8a82f-99fa-4211-8838-577857dd13bc"},{"name":"Sign In","id":"e03c0ea8-6e3f-41a6-ae16-fd8a1a2342e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"johndoe@example.com","description":"<p>Email of the user being signed in</p>\n","type":"text"},{"key":"password","value":"<password>","description":"<p>Password of the user being signed in</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/auth/sign_in","description":"<p>Checks credentials and returns an authorization token if valid.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    access: String,\n    refresh: String,\n    uid: String,\n    error: String*\n}\n</code></pre><h2 id=\"errors\">Errors:</h2>\n<ul>\n<li><code>incorrect-email-or-password</code>: The username or password was incorrect</li>\n<li><code>user-no-exist</code>: There is no user with the given email</li>\n</ul>\n","urlObject":{"protocol":"https","path":["auth","sign_in"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e03c0ea8-6e3f-41a6-ae16-fd8a1a2342e4"},{"name":"Password Reset","id":"ddc2c0f6-2e65-4097-86fd-2cc341ac0bcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"password","value":"<password>","description":"<p>The new password for the user</p>\n","type":"text"},{"key":"confirmpassword","value":"<confirmpassword>","description":"<p>The password confirmation (should be equal to password)</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/auth/password_reset/<string:reset_id>","description":"<p>Reset's a users password. The <code>reset_id</code> probided in the URL must be a valid authorization token. </p>\n<p><em>Note: You will likely never have to use this endpoint, as it will instead appear as a link in the password reset email.</em></p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-RESET-ID</code>: The reset id provided in the URL was invalid</li>\n<li><code>passwords-no-match</code>: The password and confirmpassword do not match</li>\n</ul>\n","urlObject":{"protocol":"https","path":["auth","password_reset","<string:reset_id>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ddc2c0f6-2e65-4097-86fd-2cc341ac0bcd"},{"name":"Forgot Password","id":"0114622a-dbda-4237-aff1-133840cbe87a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"johndoe@example.com","description":"<p>Email of the user who forgot their password</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/auth/forgot_password","description":"<p>Sends an email with a password reset link.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>user-no-exist</code>: No user exists with the given email</li>\n</ul>\n","urlObject":{"protocol":"https","path":["auth","forgot_password"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0114622a-dbda-4237-aff1-133840cbe87a"},{"name":"Verify Token","id":"0f39fae4-44ca-4cbe-b974-95b7cadc850d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/auth/verify_token","description":"<p>Determines whether a given authorization token is valid. Usually, this is handled automatically on the backend, so you probably won't need this endpoint.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    uid: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token given was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["auth","verify_token"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f39fae4-44ca-4cbe-b974-95b7cadc850d"},{"name":"Refresh Access","id":"182e83b6-b170-4179-942f-ce714eb7cde8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"refresh","value":"<refresh_token>","description":"<p>A refresh token used to retrieve a new access token</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/auth/refresh_access","description":"<p>Attempts to create a new access token based on a given refresh token.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    access: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-REFRESH-TOKEN</code>: The refresh token provided was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["auth","refresh_access"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"182e83b6-b170-4179-942f-ce714eb7cde8"},{"name":"OAuth Sign in","id":"ef565a24-22ce-48b6-91bf-cb615ca68761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"firstname","value":"John","description":"<p>The firstname of the user, obtained by the OAuth authentication process.</p>\n","type":"text"},{"key":"lastname","value":"Doe","description":"<p>The lastname of the user, obtained by the OAuth authentication process.</p>\n","type":"text"},{"key":"email","value":"johndoe@example.com","description":"<p>The email of the user, obtained by the OAuth authentication process.</p>\n","type":"text"},{"key":"profileimage","value":"https://example.com/johndoe.png","description":"<p>The profileimage URL of the user obtained by the OAuth authentication process.</p>\n","type":"text"},{"key":"provider_key","value":"<provider_key>","description":"<p>The unique key used to identify the user, obtained by the OAuth authentication process.</p>\n","type":"text"},{"key":"provider_name","value":"google","description":"<p>The name of the provider of the OAuth system used. Can be either 'apple' or 'google'.</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/auth/oauth/sign_in","description":"<p>Signs in a user with an oauth account rather than with email and password.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    uid: String,\n    access: String,\n    refresh: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>missing-provider</code> - an OAuth provider key and name were not given</li>\n<li><code>invalid-provider</code> - the provider given is not supported.</li>\n<li><code>missing-information</code> - A firstname, lastname, or email was not given.</li>\n<li><code>empty-firstname</code> - the given firstname was empty</li>\n<li><code>empty-lastname</code> - the given lastname was empty</li>\n<li><code>empty-email</code> - the given email was empty</li>\n<li><code>invalid-email</code> - the given email was not a valid email address.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["auth","oauth","sign_in"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef565a24-22ce-48b6-91bf-cb615ca68761"}],"id":"3b8faaee-35cf-43a9-a9f7-b13224187ecd","description":"<p>Requests for the auth service</p>\n","_postman_id":"3b8faaee-35cf-43a9-a9f7-b13224187ecd"},{"name":"User","item":[{"name":"Get user","id":"bc0ea02f-49d3-41e7-9cd6-c04e5b9b0df2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/user/get","description":"<p>Gets user profile information.</p>\n<p><em>Optionally takes url parameter <code>uid</code>, the uid of the user whose profile is requested</em></p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    uid: String, \n    firstname: String,\n    lastname: String,\n    profileimage: String,\n    streak: Int,\n    email: String,\n    bio: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token provided was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","get"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc0ea02f-49d3-41e7-9cd6-c04e5b9b0df2"},{"name":"Get user property (deprecated)","id":"f65a15fa-a1b5-42ef-8af8-bfe74ddee3e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/user/get/<string:property>","description":"<p>Gets a specific property of the current user.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    &lt;property&gt;: &lt;value&gt;,\n    error: String\n}\n</code></pre><h2 id=\"error\">Error</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token given was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","get","<string:property>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f65a15fa-a1b5-42ef-8af8-bfe74ddee3e8"},{"name":"Set user property (deprecated)","id":"a042791d-51bc-4faa-aa24-4877fc6f1e4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/user/set/<string:property>","description":"<p>Sets a specific property of a user.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"error\">Error</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token provided was invalid</li>\n<li><code>no-file-uploaded</code>: (When setting profileimage) no file was uploaded to the server</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","set","<string:property>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a042791d-51bc-4faa-aa24-4877fc6f1e4c"},{"name":"Set user profile","id":"d95c575d-bea8-49d3-a170-0b84bc858271","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"firstname","value":"John","description":"<p>New first name of user</p>\n","type":"text"},{"key":"lastname","value":"Doe","description":"<p>New last name of user</p>\n","type":"text"},{"key":"email","value":"johndoe@example.com","description":"<p>New email of user</p>\n","type":"text"},{"key":"bio","value":"I'm John Doe, a test user","description":"<p>New description of user</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/user/set_profile","description":"<p>Sets the current user's profile.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token provided was invalid</li>\n<li><code>user-no-exist</code>: No user exists with that uid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","set_profile"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d95c575d-bea8-49d3-a170-0b84bc858271"},{"name":"Flag User","id":"49908a31-9b82-460c-86c0-c50c396d8407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/user/flag/<string:user>","description":"<p>Flags a user for review by administrators.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token provided was invalid</li>\n<li><code>user-no-exist</code>: No user exists with that uid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","flag","<string:user>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"49908a31-9b82-460c-86c0-c50c396d8407"},{"name":"Unflag User","id":"61a6c642-22b3-4d8c-97e1-ab0a51570f0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/user/unflag/<string:user>","description":"<p>Unflags a user.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token provided was invalid</li>\n<li><code>user-no-exist</code>: No user exists with the given uid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","unflag","<string:user>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"61a6c642-22b3-4d8c-97e1-ab0a51570f0d"},{"name":"Get User Feed","id":"07bd011b-65e0-457f-b175-b766df8b1eff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.gethighlow.com/user/feed/page/<int:page>","description":"<p>Gets the feed for a user at a given page.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    feed: [\n        {\n            user: {\n                uid: String,\n                firstname: String,\n                lastname: String,\n                profileimage: String,\n                streak: Int,\n                bio: String\n            },\n            highlow: {\n                highlowid: String,\n                high: String,\n                low: String,\n                high_image: String,\n                low_image: String,\n                _date: String,\n                _timestamp: String,\n                total_likes: Int,\n                uid: String,\n                liked: Int,\n                flagged: Int,\n                comments: [\n                    commentid: String,\n                    uid: String,\n                    message: String,\n                    _timestamp: String,\n                    firstname: String,\n                    lastname: String,\n                    profileimage: String\n                ]\n            }\n        }\n    ]\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token provided was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","feed","page","<int:page>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"07bd011b-65e0-457f-b175-b766df8b1eff"},{"name":"List Friends","id":"60d90bea-3855-4a92-87e7-45e7e2fa9ed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.gethighlow.com/user/friends","description":"<p>List a user's friends.\n<em>Optionally accepts url parameter <code>uid</code> - the uid of the user whose friends are to be listed. Defaults to current user</em></p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    friends: [\n        {\n            uid: String,\n            firstname: String,\n            lastname: String,\n            profileimage: String,\n            streak: Int,\n            bio: String\n        }\n    ],\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token given was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","friends"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"60d90bea-3855-4a92-87e7-45e7e2fa9ed3"},{"name":"Unfriend","id":"bd442904-ebe8-4bbd-ab71-5afadf2b01a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/user/<string:friend>/unfriend","description":"<p>Unfriends on of the current user's friends.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","<string:friend>","unfriend"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd442904-ebe8-4bbd-ab71-5afadf2b01a4"},{"name":"Request Friend","id":"bf90edc5-7818-4412-b67f-405549f8a3ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/user/<string:user_id>/request_friend","description":"<p>Sends a friend request from the current user to another user.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token provided was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","<string:user_id>","request_friend"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf90edc5-7818-4412-b67f-405549f8a3ab"},{"name":"Search Users","id":"ac18d509-2e5a-4d92-854c-35199c7766d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"search","value":"John Doe","description":"<p>A keyword search based on the name of the user</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/user/search","description":"<p>Searches users, usually in order to find new friends.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    users: [\n        {\n            user: {\n                uid: String,\n                firstname: String,\n                lastname: String,\n                email: String,\n                profileimage: String,\n                streak: Int, \n                bio: String\n            },\n            rank: Int\n        }\n    ],\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token provided was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","search"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac18d509-2e5a-4d92-854c-35199c7766d1"},{"name":"Get pending friendships","id":"5cf14c89-723c-476b-826d-bbb952bf447d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.gethighlow.com/user/get_pending_friendships","description":"<p>Lists the pending friendship requests for the current user.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    requests: [\n        {\n            uid: String,\n            firstname: String,\n            lastname: String,\n            profileimage: String,\n            streak: Int,\n            bio: String\n        }\n    ],\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","get_pending_friendships"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cf14c89-723c-476b-826d-bbb952bf447d"},{"name":"Accept Friend","id":"95bbd57f-2b9f-4fdc-81d5-d4e9701c098e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/user/accept_friend/<string:friend>","description":"<p>Accepts a friendship request for the current user.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","accept_friend","<string:friend>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"95bbd57f-2b9f-4fdc-81d5-d4e9701c098e"},{"name":"Get Calendar","id":"1223348a-8302-463e-b240-e22e93e9001a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.gethighlow.com/user/calendar","description":"<p>Gets users High/Lows with minimum information, to be used in displaying a calendar.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    calendar: [\n        {\n            highlowid: String,\n            _date: String\n        }\n    ],\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["user","calendar"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1223348a-8302-463e-b240-e22e93e9001a"}],"id":"d7366c4f-1001-4f06-8ef5-a8a99b1adf0a","description":"<p>Requests for the user service</p>\n","_postman_id":"d7366c4f-1001-4f06-8ef5-a8a99b1adf0a"},{"name":"HighLow","item":[{"name":"Set High","id":"6605f2a7-da52-4495-b8a2-e23a8fd3a8e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"high","value":"This is an example High content","description":"<p>The text content of the high of a High/Low</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/highlow/set/high","description":"<p>Sets the high portion of a High/Low.</p>\n<p><em>Accepts both a high as text content and a file as an image.</em></p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","set","high"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6605f2a7-da52-4495-b8a2-e23a8fd3a8e2"},{"name":"Set Low","id":"7d3ce926-e75f-4935-a95c-3180eaab5fb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"low","value":"This is an example Low content","description":"<p>The text content of the low of a High/Low</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/highlow/set/low","description":"<p>Sets the low portion of a High/Low.</p>\n<p><em>Accepts both a low as text content and a file as an image.</em></p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","set","low"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d3ce926-e75f-4935-a95c-3180eaab5fb0"},{"name":"Like","id":"71957dad-f667-49f8-b6d6-32290beeea30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/highlow/like/<string:highlowid>","description":"<p>Used to like a High/Low.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    total_likes: Int,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n<li><code>invalid-highlowid</code>: No highlow exists with the given id</li>\n<li><code>already-liked</code>: The user has already liked this High/Low</li>\n<li><code>not-allowed</code>: The user is trying to like their own highlow</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","like","<string:highlowid>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"71957dad-f667-49f8-b6d6-32290beeea30"},{"name":"Unlike","id":"a7cf3683-f743-4600-be11-8366b252e8b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/highlow/unlike/<string:highlowid>","description":"<p>Unlikes a High/Low.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    total_likes: Int,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The token provided was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","unlike","<string:highlowid>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7cf3683-f743-4600-be11-8366b252e8b5"},{"name":"Comment","id":"a0e50f54-9ec7-44dd-ae48-ac9558575467","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"message","value":"This is an example comment","description":"<p>The text content of the comment</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/highlow/comment/<string:highlowid>","description":"<p>Comments on a High/Low.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n<li><code>no-comment</code>: The message provided had a length of 0 or none</li>\n<li><code>invalid-highlow</code>: No highlow exists with that id</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","comment","<string:highlowid>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0e50f54-9ec7-44dd-ae48-ac9558575467"},{"name":"Get Today","id":"afc120a4-47a8-4b1e-ae37-505b93c74c8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.gethighlow.com/highlow/get/today","description":"<p>Gets the High/Low for today belonging to the current user.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    id: Int,\n    highlowid: String,\n    uid: String,\n    high: String,\n    low: String,\n    high_image: String,\n    low_image: String,\n    total_likes: Int,\n    _timestamp: String,\n    _date: String,\n    liked: Int,\n    flagged: Int,\n    comments: [\n        {\n            commentid: String,\n            uid: String,\n            message: String,\n            _timestamp: String,\n            firstname: String,\n            lastname: String,\n            profileimage: String\n        }\n    ]\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","get","today"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"afc120a4-47a8-4b1e-ae37-505b93c74c8f"},{"name":"Get High/Low (by highlowid)","id":"aa87416b-d5c8-4e72-9184-8031ed3561ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.gethighlow.com/highlow/<string:highlowid>","description":"<p>Gets an arbitrary High/Low, given its highlowid.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    uid: String,\n    high: String,\n    low: String,\n    high_image: String,\n    low_image: String,\n    total_likes: Int,\n    highlowid: String,\n    _timestamp: String,\n    _date: String,\n    liked: Boolean,\n    flagged: Boolean,\n    comments: [\n        {\n            commentid: String,\n            uid: String,\n            message: String,\n            _timestamp: String,\n            firstname: String,\n            lastname: String,\n            profileimage: String\n        }\n    ]\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n<li><code>invalid-highlowid</code>: No High/Low exists with the given id</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","<string:highlowid>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa87416b-d5c8-4e72-9184-8031ed3561ba"},{"name":"Get HighLows for User","id":"0ed1fea1-b849-4300-ba92-f45c8de59fe0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.gethighlow.com/highlow/get/user/page/<int:page>","description":"<p>Gets the highlows for a given user at a given page.</p>\n<p><em>Optionally excepts url parameter uid; the uid of the user whose High/Lows are being fetched</em></p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    highlows: [\n        {\n            uid: String,\n            highlowid: String,\n            high: String,\n            low: String,\n            low_image: String,\n            high_image: String,\n            _timestamp: String,\n            _date: String,\n            total_likes: Int,\n            flagged: Int,\n            liked: Int,\n            comments: [\n                {\n                    commentid: String,\n                    uid: String,\n                    message: String,\n                    _timestamp: String,\n                    firstname: String,\n                    lastname: String,\n                    profileimage: String\n                }\n            ]\n        }\n    ],\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","get","user","page","<int:page>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ed1fea1-b849-4300-ba92-f45c8de59fe0"},{"name":"Get High/Low by date","id":"8a19b6d7-a352-4418-8dc4-47f59b1d35be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"date","value":"yyyy-MM-dd","description":"<p>The date string of the High/Low being fetched</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/highlow/get/date","description":"<p>Gets the High/Low with the given date belonging to the current user.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    highlowid: String,\n    uid: String,\n    high: String,\n    low: String,\n    total_likes: Int,\n    high_image: String,\n    low_image: String,\n    flagged: Int,\n    liked: Int,\n    _date: String,\n    comments: [\n        {\n            commentid: String,\n            uid: String,\n            message: String,\n            _timestamp: String,\n            firstname: String,\n            lastname: String,\n            profileimage: String\n        }\n    ]\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","get","date"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a19b6d7-a352-4418-8dc4-47f59b1d35be"},{"name":"Flag High/Low","id":"6256399f-eebd-450f-88f5-20c8ea29f084","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/highlow/flag/<string:highlowid>","description":"<p>Flags a High/Low for admin attention.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"error\">Error</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n<li><code>already-flagged</code>: The user has already flagged this High/Low</li>\n<li><code>highlow-no-exist</code>: No High/Low exists with the given highlowid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","flag","<string:highlowid>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6256399f-eebd-450f-88f5-20c8ea29f084"},{"name":"Unflag High/Low","id":"8b1a4fbe-2a74-460a-9325-c8a9ab5b9b4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.gethighlow.com/highlow/unflag/<string:highlowid>","description":"<p>Unflags a High/Low.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","unflag","<string:highlowid>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b1a4fbe-2a74-460a-9325-c8a9ab5b9b4f"},{"name":"Get comments","id":"c2aca1f4-1a9f-410a-9d32-a5271168a96b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.gethighlow.com/highlow/get_comments/<string:highlowid>","description":"<p>Gets the comments for a give High/Low.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    comments: [\n        {\n            commentid: String,\n            uid: String,\n            message: String,\n            _timestamp: String,\n            firstname: String,\n            lastname: String,\n            profileimage: String\n        }\n    ],\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n<li><code>highlow-no-exist</code>: No highlow exists with the given id</li>\n</ul>\n","urlObject":{"protocol":"https","path":["highlow","get_comments","<string:highlowid>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2aca1f4-1a9f-410a-9d32-a5271168a96b"},{"name":"Delete Comment","id":"b8538887-fc24-4ad3-9173-87bd5b9aca4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.gethighlow.com/comment/delete/<string:commentid>","description":"<p>Deletes a comment by id.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["comment","delete","<string:commentid>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8538887-fc24-4ad3-9173-87bd5b9aca4b"},{"name":"Update Comment","id":"68797d33-ea51-43c2-acfe-807b116aeec5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"message","value":"This is an example comment","description":"<p>The message of the comment</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/comment/update/<string:commentid>","description":"<p>Updates a comment with a given id.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n<li><code>no-message</code>: No message was given</li>\n</ul>\n","urlObject":{"protocol":"https","path":["comment","update","<string:commentid>"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"68797d33-ea51-43c2-acfe-807b116aeec5"}],"id":"d40b02be-d854-4b47-908a-ddfbd7f477e1","description":"<p>Requests to the High/Low service.</p>\n","_postman_id":"d40b02be-d854-4b47-908a-ddfbd7f477e1"},{"name":"Submit Bug Report","id":"6be947e7-ee69-48b9-b2f6-3437d5d71cfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"My  Bug Report","description":"<p>The title of the bug report</p>\n","type":"text"},{"key":"message","value":"I found a bug...","description":"<p>The message of the bug report</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/bug_reports/submit","description":"<p>Submits a bug report for admin review.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    status: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["bug_reports","submit"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6be947e7-ee69-48b9-b2f6-3437d5d71cfe"},{"name":"Register for notifications","id":"e18918de-a1de-4b47-b969-e1d7718227ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"platform","value":"iOS","description":"<p>The platform of the device being registered</p>\n","type":"text"},{"key":"device_id","value":"<device_id>","description":"<p>The FCM id of the device</p>\n","type":"text"}]},"url":"https://api.gethighlow.com/notifications/register","description":"<p>Registers a device to receive push notifications.</p>\n<h2 id=\"returns\">Returns</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    device_id: String,\n    uid: String,\n    platform: String,\n    error: String\n}\n</code></pre><h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>ERROR-INVALID-TOKEN</code>: The provided token was invalid</li>\n</ul>\n","urlObject":{"protocol":"https","path":["notifications","register"],"host":["api","gethighlow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e18918de-a1de-4b47-b969-e1d7718227ec"}]}