{"info":{"_postman_id":"33515d81-6504-b0cc-16d2-7dc452be82b8","name":"kanban-api","description":"<html><head></head><body><h2 id=\"authentication\">Authentication</h2>\n<p>Request header <code>Authorization: Bearer &lt;token&gt;</code> is required to authenticate.</p>\n<p><strong>token</strong> is a JWT, it is obtained with <code>sign up</code> and <code>sign in</code> request.</p>\n<h2 id=\"error-response\">Error response</h2>\n<p>Invalid requests will yield an API response with status code of <strong>400</strong> <code>bad request</code>. </p>\n<p>Such response means that the request is invalid and that it should have been handled by the client in the first place.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">{\n    \"error\": \"\"\n}\n</code></pre>\n<h2 id=\"success-response\">Success response</h2>\n<p>status code <strong>200</strong> <code>OK</code>.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">{\n    \"data\": {\n    }\n}\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2866330","collectionId":"33515d81-6504-b0cc-16d2-7dc452be82b8","publishedId":"RVnWjzSA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-03-14T12:28:16.000Z"},"item":[{"name":"Sign up","id":"28eca568-3b4f-a887-27fc-9dd79cdd0a55","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"username\": \"mark\",\n\t\"password\": \"secret\",\n\t\"name\": \"Mark Zuckerburg\"\n}"},"url":"http://localhost:5000/api/signup","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"33515d81-6504-b0cc-16d2-7dc452be82b8","id":"33515d81-6504-b0cc-16d2-7dc452be82b8","name":"kanban-api","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"28eca568-3b4f-a887-27fc-9dd79cdd0a55"},{"name":"Sign in","id":"b181acd3-6ea8-6b2b-49b5-b1886ac094fc","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"username\": \"steve\",\n\t\"password\": \"secret\"\n}"},"url":"http://localhost:5000/api/signin","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"33515d81-6504-b0cc-16d2-7dc452be82b8","id":"33515d81-6504-b0cc-16d2-7dc452be82b8","name":"kanban-api","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","signin"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b181acd3-6ea8-6b2b-49b5-b1886ac094fc"},{"name":"Me","id":"acf4cdda-1124-a007-3f68-19303db9abdb","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:5000/api/me","description":"<p>Fetch user data for the logged in user</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"33515d81-6504-b0cc-16d2-7dc452be82b8","id":"33515d81-6504-b0cc-16d2-7dc452be82b8","name":"kanban-api","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","me"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"acf4cdda-1124-a007-3f68-19303db9abdb"},{"name":"Get all users","id":"8b15539e-f40e-83e5-471c-3e914432a4bb","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:5000/api/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"33515d81-6504-b0cc-16d2-7dc452be82b8","id":"33515d81-6504-b0cc-16d2-7dc452be82b8","name":"kanban-api","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b15539e-f40e-83e5-471c-3e914432a4bb"},{"name":"Get all tasks","id":"8731739d-8a97-f6d7-946c-1eed252b51e8","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:5000/api/tasks","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"33515d81-6504-b0cc-16d2-7dc452be82b8","id":"33515d81-6504-b0cc-16d2-7dc452be82b8","name":"kanban-api","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","tasks"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8731739d-8a97-f6d7-946c-1eed252b51e8"},{"name":"Create new task","id":"b6ea69ca-dff3-c838-f64a-5427a9a640f4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Add materialized data views\",\n  \"description\": \"Implement materialized views for common queries\",\n  \"status\": \"TODO\",\n  \"assignee\": null,\n  \"tags\": [2,3],\n  \"blockedBy\": []\n}"},"url":"http://localhost:5000/api/task","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"33515d81-6504-b0cc-16d2-7dc452be82b8","id":"33515d81-6504-b0cc-16d2-7dc452be82b8","name":"kanban-api","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","task"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6ea69ca-dff3-c838-f64a-5427a9a640f4"},{"name":"Update task","id":"ec8154e3-7685-3c5b-f02c-d4c88bcc46c1","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"task name\",\n  \"description\": \"description goes here\",\n  \"status\": \"IN_PROGRESS\",\n  \"assignee\": \"f33a440f-c18f-4d62-a6d8-25411d937cfa\",\n  \"tags\": [1],\n  \"blockedBy\": []\n}"},"url":"http://localhost:5000/api/task/50","description":"<p><code>/api/task/&lt;task id&gt;</code></p>\n<p>Specify the task to update by setting the task id in the request URL</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"33515d81-6504-b0cc-16d2-7dc452be82b8","id":"33515d81-6504-b0cc-16d2-7dc452be82b8","name":"kanban-api","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","task","50"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec8154e3-7685-3c5b-f02c-d4c88bcc46c1"},{"name":"Get all tags","id":"73e975b5-aecf-3176-66b0-8909e9864ab6","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:5000/api/tags","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"33515d81-6504-b0cc-16d2-7dc452be82b8","id":"33515d81-6504-b0cc-16d2-7dc452be82b8","name":"kanban-api","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["api","tags"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"73e975b5-aecf-3176-66b0-8909e9864ab6"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"f603a206-5e23-4829-b4e3-893f6b81025f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"341861d2-de97-4b24-b0d5-e72f172730f2","type":"text/javascript","exec":[""]}}]}