{"info":{"_postman_id":"c5bff096-c0fb-44a9-8597-a56ebf27974c","name":"Fixbit API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"13920141","collectionId":"c5bff096-c0fb-44a9-8597-a56ebf27974c","publishedId":"TVsuETmA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-12-22T08:56:09.000Z"},"item":[{"name":"api","item":[{"name":"users","item":[{"name":"Register New User","event":[{"listen":"test","script":{"id":"e9464d69-30f7-4bde-abd3-1df5b1ea24e0","exec":[""],"type":"text/javascript"}}],"id":"74e7f216-58ae-4cb5-aec0-b4d6810aafe8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\"   : \"navindu\",\n    \"fullname\"   : \"Navindu Dananga\",\n    \"email\"      : \"navindudananga123@gmail.com\" ,\n    \"password\"   : \"abc12345\",\n    \"c_password\" : \"abc12345\" \n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/users/register","description":"<p>Create new users. </p>\n","urlObject":{"protocol":"https","path":["api","users","register"],"host":["fixbit-api","herokuapp","com"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"29495f98-0a26-44c6-8d5f-cdc4cf34c298","name":"Register New User","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\"   : \"navindu\",\n    \"fullname\"   : \"Navindu Dananga\",\n    \"email\"      : \"navindudananga123@gmail.com\" ,\n    \"password\"   : \"abc12345\",\n    \"c_password\" : \"abc12345\" \n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://fixbit-api.herokuapp.com/api/users/register","protocol":"https","host":["fixbit-api","herokuapp","com"],"path":["api","users","register"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:20:27 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"User created successfully\",\n    \"data\": {\n        \"username\": \"navindu\",\n        \"fullname\": \"Navindu Dananga\",\n        \"email\": \"navindudananga123@gmail.com\",\n        \"updated_at\": \"2020-12-22T07:20:27.000000Z\",\n        \"created_at\": \"2020-12-22T07:20:27.000000Z\",\n        \"id\": 6\n    }\n}"}],"_postman_id":"74e7f216-58ae-4cb5-aec0-b4d6810aafe8"},{"name":"Login Existing User","id":"a79ed95b-173f-44c3-962c-5b55551418ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\"    : \"navindudananga123@gmail.com\",\n    \"password\" : \"abc12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/users/login","description":"<p>Validate user creadentials and issue tokens</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"348abbec-7324-47be-a51b-dd1566ad9540","id":"348abbec-7324-47be-a51b-dd1566ad9540","name":"users","type":"folder"}},"urlObject":{"protocol":"https","path":["api","users","login"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"75c5a33a-ecc2-4772-98e1-69ba97c07798","name":"Login Existing User","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\"    : \"navindudananga123@gmail.com\",\n    \"password\" : \"abc12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/users/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:21:36 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Login successed\",\n    \"data\": {\n        \"id\": 6,\n        \"username\": \"navindu\",\n        \"fullname\": \"Navindu Dananga\",\n        \"email\": \"navindudananga123@gmail.com\",\n        \"email_verified_at\": null,\n        \"created_at\": \"2020-12-22T07:20:27.000000Z\",\n        \"updated_at\": \"2020-12-22T07:20:27.000000Z\"\n    },\n    \"token\": {token}\n}"}],"_postman_id":"a79ed95b-173f-44c3-962c-5b55551418ec"},{"name":"Get User Details","id":"84b34dec-ad22-477e-843a-f93144e14ae9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/users/user","description":"<p>Get user details with bearer token</p>\n","urlObject":{"protocol":"https","path":["api","users","user"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"9f7248ce-5a2e-4f26-9a23-894b6b4458bf","name":"Get User Details","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/users/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:23:59 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"User found\",\n    \"data\": {\n        \"id\": 6,\n        \"username\": \"navindu\",\n        \"fullname\": \"Navindu Dananga\",\n        \"email\": \"navindudananga123@gmail.com\",\n        \"email_verified_at\": null,\n        \"created_at\": \"2020-12-22T07:20:27.000000Z\",\n        \"updated_at\": \"2020-12-22T07:20:27.000000Z\"\n    }\n}"}],"_postman_id":"84b34dec-ad22-477e-843a-f93144e14ae9"},{"name":"Get details of a specific user","id":"b9078a14-8941-411b-b848-0f2a731d73ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/users/user/{uid}","urlObject":{"protocol":"https","path":["api","users","user","{uid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"4ca95c5a-bec4-428b-a6bf-ac329d5ef751","name":"Get details of a specific user","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/users/user/{uid}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 30 Jan 2021 15:17:59 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"User Found\",\n    \"data\": {\n        \"id\": 1,\n        \"username\": \"w0lf\",\n        \"fullname\": \"Navindu Dananga\",\n        \"email\": \"navindudananga123@gmail.com\",\n        \"email_verified_at\": null,\n        \"twitter\": \"nav_i9\",\n        \"linkedIn\": \"navindu-dananga\",\n        \"github\": \"krypto-i9\",\n        \"created_at\": \"2021-01-14T15:00:42.000000Z\",\n        \"updated_at\": \"2021-01-30T07:15:10.000000Z\"\n    }\n}"}],"_postman_id":"b9078a14-8941-411b-b848-0f2a731d73ee"}],"id":"348abbec-7324-47be-a51b-dd1566ad9540","description":"<p>Register new users and login existing users</p>\n","auth":{"type":"noauth","isInherited":false},"_postman_id":"348abbec-7324-47be-a51b-dd1566ad9540"},{"name":"projects","item":[{"name":"Create project","id":"933e738f-bf5f-4cff-a7a9-17ad843d74d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\"        : \"super cool project\",\n    \"description\" : \"this project is really cool\",\n    \"is_public\"   : true\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/projects","description":"<p>Create new project</p>\n","urlObject":{"protocol":"https","path":["api","projects"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"3976f5d1-3baa-41ac-824d-627d674da198","name":"Create a project","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"name\"        : \"super cool project\",\n    \"description\" : \"this project is really cool\",\n    \"is_public\"   : true\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/projects"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:24:58 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"project created successfully\",\n    \"data\": {\n        \"name\": \"super cool project\",\n        \"description\": \"this project is really cool\",\n        \"is_public\": true,\n        \"creator_id\": 6,\n        \"admin_id\": 6,\n        \"team_id\": null,\n        \"updated_at\": \"2020-12-22T07:24:58.000000Z\",\n        \"created_at\": \"2020-12-22T07:24:58.000000Z\",\n        \"id\": 2\n    }\n}"}],"_postman_id":"933e738f-bf5f-4cff-a7a9-17ad843d74d5"},{"name":"Get all projects that user can access","id":"28122849-2617-44ed-b7b8-9f23f10f639d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://fixbit-api.herokuapp.com/api/projects","description":"<p>Get all projects(public and private) that user can access </p>\n","urlObject":{"protocol":"https","path":["api","projects"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"be163833-3911-41f2-a6db-04a81e09b01b","name":"Get all projects that user can access","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://fixbit-api.herokuapp.com/api/projects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:25:53 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"project fetched successfully\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"my first project\",\n            \"description\": \"this is my first project\",\n            \"is_public\": true,\n            \"creator_id\": 1,\n            \"admin_id\": 1,\n            \"team_id\": null,\n            \"created_at\": \"2020-12-20T05:44:23.000000Z\",\n            \"updated_at\": \"2020-12-20T05:44:23.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"super cool project\",\n            \"description\": \"this project is really cool\",\n            \"is_public\": true,\n            \"creator_id\": 6,\n            \"admin_id\": 6,\n            \"team_id\": null,\n            \"created_at\": \"2020-12-22T07:24:58.000000Z\",\n            \"updated_at\": \"2020-12-22T07:24:58.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"28122849-2617-44ed-b7b8-9f23f10f639d"},{"name":"Get Specific Project","id":"b3050a07-40c4-4e90-b832-78f68fbeb3a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}","urlObject":{"protocol":"https","path":["api","projects","{pid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"a5d27e3e-2794-44bf-9dc3-829e47df270d","name":"Get a Specific Project","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:27:30 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Project view success\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"super cool project\",\n        \"description\": \"this project is really cool\",\n        \"is_public\": true,\n        \"creator_id\": 6,\n        \"admin_id\": 6,\n        \"team_id\": null,\n        \"created_at\": \"2020-12-22T07:24:58.000000Z\",\n        \"updated_at\": \"2020-12-22T07:24:58.000000Z\"\n    }\n}"}],"_postman_id":"b3050a07-40c4-4e90-b832-78f68fbeb3a6"},{"name":"Update project ","id":"4858af42-6e52-4d36-947e-664ce17dc8d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\" : \"really cool project\",\n    \"is_public\" : false\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}","description":"<p>Update data of project if user have access (need to be project admin)</p>\n","urlObject":{"protocol":"https","path":["api","projects","{pid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"94cde464-4b4d-4687-aad1-d698d97e8cce","name":"Update a project ","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\" : \"really cool project\",\n    \"is_public\" : false\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:29:04 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Project updated successfully\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"really cool project\",\n        \"description\": \"this project is really cool\",\n        \"is_public\": false,\n        \"creator_id\": 6,\n        \"admin_id\": 6,\n        \"team_id\": null,\n        \"created_at\": \"2020-12-22T07:24:58.000000Z\",\n        \"updated_at\": \"2020-12-22T07:29:04.000000Z\"\n    }\n}"}],"_postman_id":"4858af42-6e52-4d36-947e-664ce17dc8d9"},{"name":"Delete Project","id":"8348c985-870a-46a6-a25d-8ad344ad814f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/projects/{pid}","urlObject":{"protocol":"http","port":"8000","path":["api","projects","{pid}"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8348c985-870a-46a6-a25d-8ad344ad814f"}],"id":"8c8e7692-e3d7-441f-b9e4-f34fa46c8652","_postman_id":"8c8e7692-e3d7-441f-b9e4-f34fa46c8652","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token_1}}"}]},"isInherited":true,"source":{"_postman_id":"c5bff096-c0fb-44a9-8597-a56ebf27974c","id":"c5bff096-c0fb-44a9-8597-a56ebf27974c","name":"Fixbit API","type":"collection"}}},{"name":"issues","item":[{"name":"Create Issue","id":"081223f8-958c-497a-a40f-0f3f8f8b4140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\"       : \"cool issue\",\n    \"description\" : \"this is my cool issue\",\n    \"priority\"    : 0,\n    \"type\"        : 0,\n    \"is_open\"     : true\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues","description":"<p>Create new issues for given project</p>\n","urlObject":{"protocol":"https","path":["api","projects","{pid}","issues"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"15fd7d60-3c5f-47ba-92c6-3f27ae3c0ccc","name":"Create an issue","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\"       : \"cool issue\",\n    \"description\" : \"this is my cool issue\",\n    \"priority\"    : 0,\n    \"type\"        : 0,\n    \"is_open\"     : true\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:30:02 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Issue created successfully\",\n    \"data\": null\n}"}],"_postman_id":"081223f8-958c-497a-a40f-0f3f8f8b4140"},{"name":"Get all Issues in Project","id":"568678cc-3c5f-49f8-808f-c5fd261112a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues","description":"<p>Get all issues in given project if user can access </p>\n","urlObject":{"protocol":"https","path":["api","projects","{pid}","issues"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"a348e30f-b5c6-4618-a5c4-e5534d7175ad","name":"Get all issues in Project","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:30:41 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Issues fetched successfully\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"cool issue\",\n            \"description\": \"this is my cool issue\",\n            \"attachments\": null,\n            \"creator_id\": 6,\n            \"assign_to\": null,\n            \"priority\": 0,\n            \"type\": 0,\n            \"is_open\": 1,\n            \"comments\": null,\n            \"created_at\": null,\n            \"updated_at\": null\n        }\n    ]\n}"}],"_postman_id":"568678cc-3c5f-49f8-808f-c5fd261112a0"},{"name":"Get Specific Issue","id":"02444d27-256e-4688-a903-c45379fd656f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues/{iid}","description":"<p>Get specific issue from  given project</p>\n","urlObject":{"protocol":"https","path":["api","projects","{pid}","issues","{iid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"ed114de0-0c34-4f17-b0dd-63deab8e5993","name":"Get a specific issue","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues/{iid}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:31:12 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Issue data fetched successfully\",\n    \"data\": {\n        \"id\": 1,\n        \"title\": \"cool issue\",\n        \"description\": \"this is my cool issue\",\n        \"attachments\": null,\n        \"creator_id\": 6,\n        \"assign_to\": null,\n        \"priority\": 0,\n        \"type\": 0,\n        \"is_open\": 1,\n        \"comments\": null,\n        \"created_at\": null,\n        \"updated_at\": null\n    }\n}"}],"_postman_id":"02444d27-256e-4688-a903-c45379fd656f"},{"name":"Update Issue","id":"0c52bcd8-854f-4b97-84c3-79574369a142","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"new title\",\n\t\"is_open\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues/{iid}","description":"<p>Update given issue in given project</p>\n","urlObject":{"protocol":"https","path":["api","projects","{pid}","issues","{iid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"4080d81e-380e-4caa-a329-f9df297eae45","name":"Update an issue","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"new title\",\n\t\"is_open\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues/{iid}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 08:41:45 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Issue updated successfully\",\n    \"data\": null\n}"}],"_postman_id":"0c52bcd8-854f-4b97-84c3-79574369a142"},{"name":"Delete Issue","id":"99a670d8-3a59-47c7-a467-97ba96cf1869","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues/{iid}","description":"<p>Delete issue in given project</p>\n","urlObject":{"protocol":"https","path":["api","projects","{pid}","issues","{iid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"aafd910e-7107-4144-9fc0-1184f0079bec","name":"Delete an issue","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/projects/{pid}/issues/{iid}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 07:43:45 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Issue deleted successfully\",\n    \"data\": null\n}"}],"_postman_id":"99a670d8-3a59-47c7-a467-97ba96cf1869"}],"id":"1261f50c-973f-445e-8715-f25fb0bed93d","description":"<p>Create, Read, Update and Delete issues </p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token_1}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"718feb7c-ffb8-4453-b83b-fb5dd43f187b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c6cbc279-a56a-4aa0-a35b-812f46742276","type":"text/javascript","exec":[""]}}],"_postman_id":"1261f50c-973f-445e-8715-f25fb0bed93d"},{"name":"teams","item":[{"name":"Create Team","id":"1e8c2210-76fb-4370-8deb-2d5940d0982e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\"        : \"super cool team\",\n\t\"description\" : \"my super cool team\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/teams","description":"<p>Create new team</p>\n","urlObject":{"protocol":"https","path":["api","teams"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"06342982-6806-400b-b20e-e773604f27cb","name":"Create a team","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\"        : \"super cool team\",\n\t\"description\" : \"my super cool team\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/teams"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 08:43:33 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Team created successfully\",\n    \"data\": {\n        \"name\": \"super cool team\",\n        \"description\": \"my super cool team\",\n        \"leader_id\": 6,\n        \"is_active\": true,\n        \"updated_at\": \"2020-12-22T08:43:33.000000Z\",\n        \"created_at\": \"2020-12-22T08:43:33.000000Z\",\n        \"id\": 2\n    }\n}"}],"_postman_id":"1e8c2210-76fb-4370-8deb-2d5940d0982e"},{"name":"Get all teams","id":"38c02f61-9e9c-410a-b15e-dc4ed0644645","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams","description":"<p>get all teams</p>\n","urlObject":{"protocol":"https","path":["api","teams"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"a976863d-8a68-4038-bbd0-a11de9c98fb2","name":"Get all teams","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 08:44:17 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"team data fetched successfully\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"my second3 w2team\",\n            \"description\": \"this is my second team\",\n            \"leader_id\": 6,\n            \"is_active\": true,\n            \"created_at\": \"2020-12-22T08:42:55.000000Z\",\n            \"updated_at\": \"2020-12-22T08:42:55.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"super cool team\",\n            \"description\": \"my super cool team\",\n            \"leader_id\": 6,\n            \"is_active\": true,\n            \"created_at\": \"2020-12-22T08:43:33.000000Z\",\n            \"updated_at\": \"2020-12-22T08:43:33.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"38c02f61-9e9c-410a-b15e-dc4ed0644645"},{"name":"Get specific team","id":"a06b4da2-f6a1-4db5-8730-df673e895da9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}","urlObject":{"protocol":"https","path":["api","teams","{tid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"539817fd-4795-4b87-b3d4-203d86d287c0","name":"Get specific a team","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 08:45:42 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Team view success\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"super cool team\",\n        \"description\": \"my super cool team\",\n        \"leader_id\": 6,\n        \"is_active\": true,\n        \"created_at\": \"2020-12-22T08:43:33.000000Z\",\n        \"updated_at\": \"2020-12-22T08:43:33.000000Z\"\n    }\n}"}],"_postman_id":"a06b4da2-f6a1-4db5-8730-df673e895da9"},{"name":"Update team","id":"fca0b743-d855-4600-9f46-32b985376635","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\" : \"really really cool team\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}","urlObject":{"protocol":"https","path":["api","teams","{tid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"f6ec56be-9b44-4dd5-a997-7ca7ee908e4f","name":"Update a team","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\" : \"really really cool team\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 08:47:09 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Team updated successfully\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"really really cool team\",\n        \"description\": \"my super cool team\",\n        \"leader_id\": 6,\n        \"is_active\": true,\n        \"created_at\": \"2020-12-22T08:43:33.000000Z\",\n        \"updated_at\": \"2020-12-22T08:47:09.000000Z\"\n    }\n}"}],"_postman_id":"fca0b743-d855-4600-9f46-32b985376635"},{"name":"Delete team","id":"64ccfeb4-9840-4d64-be47-158a38c4ae3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}","urlObject":{"protocol":"https","path":["api","teams","{tid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"fafc67b8-af88-4433-8e56-5b4f26e066f8","name":"Delete a team","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 22 Dec 2020 08:47:40 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Team deleted successfully\",\n    \"data\": null\n}"}],"_postman_id":"64ccfeb4-9840-4d64-be47-158a38c4ae3d"}],"id":"dde6d007-c95d-42d7-b6a0-1b703a8ba39a","_postman_id":"dde6d007-c95d-42d7-b6a0-1b703a8ba39a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token_1}}"}]},"isInherited":true,"source":{"_postman_id":"c5bff096-c0fb-44a9-8597-a56ebf27974c","id":"c5bff096-c0fb-44a9-8597-a56ebf27974c","name":"Fixbit API","type":"collection"}}},{"name":"members","item":[{"name":"Create member in the team","id":"d4ff2293-f96c-44db-9c45-aca36c13b5e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"uid\" : \"3\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members","description":"<p>Create new member in given team</p>\n","urlObject":{"protocol":"https","path":["api","teams","{tid}","members"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"778598a9-ae2c-4902-a368-ed8aceb2eeff","name":"Create member in the team","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"uid\" : \"3\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 30 Jan 2021 15:11:13 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Member added to the team\",\n    \"data\": null\n}"}],"_postman_id":"d4ff2293-f96c-44db-9c45-aca36c13b5e8"},{"name":"Get all members in team","id":"02b86a29-d767-425f-b66b-bedf17232ec0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members","description":"<p>get all teams</p>\n","urlObject":{"protocol":"https","path":["api","teams","{tid}","members"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"20a4e63b-1a7e-4132-b041-34142caac1de","name":"Get all members in the  team","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 30 Jan 2021 14:59:47 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Member information fetched\",\n    \"data\": [\n        {\n            \"member\": {\n                \"uid\": 1,\n                \"name\": \"w0lf\",\n                \"is_available\": 1,\n                \"role\": \"admin\",\n                \"created_at\": \"2021-01-14 15:04:53\",\n                \"updated_at\": \"2021-01-14 15:04:53\"\n            },\n            \"info\": {\n                \"id\": 1,\n                \"username\": \"w0lf\",\n                \"fullname\": \"Navindu Dananga\",\n                \"email\": \"navindudananga123@gmail.com\",\n                \"email_verified_at\": null,\n                \"twitter\": \"nav_i9\",\n                \"linkedIn\": \"navindu-dananga\",\n                \"github\": \"krypto-i9\",\n                \"created_at\": \"2021-01-14T15:00:42.000000Z\",\n                \"updated_at\": \"2021-01-30T07:15:10.000000Z\"\n            }\n        },\n        {\n            \"member\": {\n                \"uid\": 3,\n                \"name\": \"sand\",\n                \"is_available\": null,\n                \"role\": null,\n                \"created_at\": \"2021-01-29 14:06:52\",\n                \"updated_at\": \"2021-01-29 14:06:52\"\n            },\n            \"info\": {\n                \"id\": 3,\n                \"username\": \"sand\",\n                \"fullname\": \"sandul jayakody\",\n                \"email\": \"sanduljayakody@gmail.com\",\n                \"email_verified_at\": null,\n                \"twitter\": null,\n                \"linkedIn\": null,\n                \"github\": null,\n                \"created_at\": \"2021-01-28T10:17:57.000000Z\",\n                \"updated_at\": \"2021-01-28T10:17:57.000000Z\"\n            }\n        }\n    ]\n}"}],"_postman_id":"02b86a29-d767-425f-b66b-bedf17232ec0"},{"name":"Get specific member in the team","id":"7ae6961a-f585-4734-a1a3-99b6d92b2d55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members/{uid}","urlObject":{"protocol":"https","path":["api","teams","{tid}","members","{uid}"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"b4a9e685-740f-47e9-ba01-8464db064aa4","name":"Get specific member in the team","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members/{uid}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 30 Jan 2021 15:06:23 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Member data fetched successfully\",\n    \"data\": {\n        \"membership\": {\n            \"uid\": 1,\n            \"name\": \"w0lf\",\n            \"is_available\": 1,\n            \"role\": \"admin\",\n            \"created_at\": \"2021-01-14 15:04:53\",\n            \"updated_at\": \"2021-01-14 15:04:53\"\n        },\n        \"info\": {\n            \"id\": 1,\n            \"username\": \"w0lf\",\n            \"fullname\": \"Navindu Dananga\",\n            \"email\": \"navindudananga123@gmail.com\",\n            \"email_verified_at\": null,\n            \"twitter\": \"nav_i9\",\n            \"linkedIn\": \"navindu-dananga\",\n            \"github\": \"krypto-i9\",\n            \"created_at\": \"2021-01-14T15:00:42.000000Z\",\n            \"updated_at\": \"2021-01-30T07:15:10.000000Z\"\n        }\n    }\n}"}],"_postman_id":"7ae6961a-f585-4734-a1a3-99b6d92b2d55"},{"name":"Update member in the team","id":"9c67f4d6-147f-4468-a3f3-a8cf634c7a46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"role\" : \"Database Developer\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members/3","urlObject":{"protocol":"https","path":["api","teams","{tid}","members","3"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"9eec26c4-6eef-45ff-901e-81069a46a16a","name":"Update member details in the team","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"role\" : \"Database Developer\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 30 Jan 2021 15:09:59 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Member updated successfully\",\n    \"data\": null\n}"}],"_postman_id":"9c67f4d6-147f-4468-a3f3-a8cf634c7a46"},{"name":"Delete a member in the team","id":"02ca14a6-8b40-4e22-ba36-80d883730925","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members/3","urlObject":{"protocol":"https","path":["api","teams","{tid}","members","3"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"acb8d9a7-d2d3-4432-81c8-e82edce8d03e","name":"Delete a member in the team","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/teams/{tid}/members/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 30 Jan 2021 15:10:39 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Member deleted successfully\",\n    \"data\": null\n}"}],"_postman_id":"02ca14a6-8b40-4e22-ba36-80d883730925"}],"id":"3d9d8beb-e501-4665-8877-7ed7b89afcf1","_postman_id":"3d9d8beb-e501-4665-8877-7ed7b89afcf1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token_1}}"}]},"isInherited":true,"source":{"_postman_id":"c5bff096-c0fb-44a9-8597-a56ebf27974c","id":"c5bff096-c0fb-44a9-8597-a56ebf27974c","name":"Fixbit API","type":"collection"}}},{"name":"stats","item":[{"name":"get my stats","id":"396fa275-8e03-4253-9064-72a4842854ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/stats","urlObject":{"protocol":"https","path":["api","stats"],"host":["fixbit-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"6bda5c20-ec01-47cd-bada-bfc373df7a39","name":"get my stats","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://fixbit-api.herokuapp.com/api/stats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 14 Feb 2021 17:53:08 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"type\": \"success\",\n    \"reason\": null,\n    \"msg\": \"Stats fetched successfully\",\n    \"data\": {\n        \"projects_in\": [\n            {\n                \"id\": 1,\n                \"name\": \"Fixbit GUI\",\n                \"is_admin\": true,\n                \"is_public\": true\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Fixbit API\",\n                \"is_admin\": true,\n                \"is_public\": true\n            },\n            {\n                \"id\": 3,\n                \"name\": \"Test\",\n                \"is_admin\": true,\n                \"is_public\": false\n            },\n            {\n                \"id\": 5,\n                \"name\": \"tst\",\n                \"is_admin\": true,\n                \"is_public\": true\n            },\n            {\n                \"id\": 7,\n                \"name\": \"New Project\",\n                \"is_admin\": true,\n                \"is_public\": true\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Nre\",\n                \"is_admin\": false,\n                \"is_public\": false\n            }\n        ],\n        \"projects_in_count\": 6,\n        \"projects_admin_count\": 5,\n        \"teams_in\": [\n            {\n                \"id\": 1,\n                \"name\": \"Fixbit Dev Team\",\n                \"is_active\": true,\n                \"is_leader\": true\n            },\n            {\n                \"id\": 2,\n                \"name\": \"tst0\",\n                \"is_active\": true,\n                \"is_leader\": true\n            },\n            {\n                \"id\": 3,\n                \"name\": \"tst1\",\n                \"is_active\": true,\n                \"is_leader\": true\n            }\n        ],\n        \"teams_in_count\": 3,\n        \"teams_leader_count\": 3,\n        \"open_issues\": [\n            {\n                \"pid\": 3,\n                \"p_name\": \"Test\",\n                \"issues\": [\n                    {\n                        \"iid\": 11,\n                        \"title\": \"Assignee\",\n                        \"priority\": 2\n                    }\n                ]\n            },\n            {\n                \"pid\": 5,\n                \"p_name\": \"tst\",\n                \"issues\": [\n                    {\n                        \"iid\": 1,\n                        \"title\": \"Compile Error\",\n                        \"priority\": 3\n                    },\n                    {\n                        \"iid\": 2,\n                        \"title\": \"Compile error\",\n                        \"priority\": 2\n                    }\n                ]\n            },\n            {\n                \"pid\": 7,\n                \"p_name\": \"New Project\",\n                \"issues\": [\n                    {\n                        \"iid\": 2,\n                        \"title\": \"sjakdb\",\n                        \"priority\": 2\n                    }\n                ]\n            }\n        ],\n        \"open_issue_count\": 4,\n        \"total_issue_count\": 5\n    }\n}"}],"_postman_id":"396fa275-8e03-4253-9064-72a4842854ae"}],"id":"f94a1ceb-f270-42c7-9025-e8e4469f4ab9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{token}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"0a01ef60-b844-4988-bfab-f1336cb98a43","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f3db0d6e-6ae8-46a2-8231-80f8dd8647cf","type":"text/javascript","exec":[""]}}],"_postman_id":"f94a1ceb-f270-42c7-9025-e8e4469f4ab9","description":""}],"id":"fb2765ff-e030-4bcc-a4d1-84257ffd37a9","_postman_id":"fb2765ff-e030-4bcc-a4d1-84257ffd37a9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token_1}}"}]},"isInherited":true,"source":{"_postman_id":"c5bff096-c0fb-44a9-8597-a56ebf27974c","id":"c5bff096-c0fb-44a9-8597-a56ebf27974c","name":"Fixbit API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token_1}}"}]}},"event":[{"listen":"prerequest","script":{"id":"c7e6a37a-2f87-4c9b-a45b-af1c83f3ed2c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a7ea28a5-4715-450c-a17c-e83824cef81d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"bearer_token","value":"{token}"},{"key":"pid","value":"{pid}"},{"key":"iid","value":"{iid}"},{"key":"tid","value":"{tid}"},{"key":"mid","value":"{mid}"},{"key":"uid","value":"{uid}"}]}