{"info":{"_postman_id":"8090dbe3-22d9-4060-af30-56b0779a9390","name":"Task-Management-System","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"21726622","collectionId":"8090dbe3-22d9-4060-af30-56b0779a9390","publishedId":"2sAYdoFnqp","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-03-09T12:17:43.000Z"},"item":[{"name":"Auth","item":[{"name":"login","id":"d06c077f-c847-43f6-84d3-a6ff7ade2dac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"demetris.quitzon@example.org","description":"<p><a href=\"mailto:manager1@tasks.org\">manager1@tasks.org</a></p>\n","type":"text","uuid":"78938986-094b-4419-9b69-bb49e5bea399"},{"key":"password","value":"password","description":"<p>password</p>\n","type":"text","uuid":"8906918d-08fc-4b37-8bd3-bc678b2d3c62"}]},"url":"localhost:8000/api/login","urlObject":{"path":["login"],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d06c077f-c847-43f6-84d3-a6ff7ade2dac"},{"name":"logout","id":"43b120e1-2e6c-4c9a-a5df-153802cc0476","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"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"localhost:8000/api/logout","urlObject":{"path":["logout"],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"43b120e1-2e6c-4c9a-a5df-153802cc0476"}],"id":"b441fc26-cb33-435f-821d-5ba37f5f3188","_postman_id":"b441fc26-cb33-435f-821d-5ba37f5f3188","description":""},{"name":"Tasks","item":[{"name":"get-all-tasks","id":"9334938c-284b-4102-ba93-75d878e72ec1","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":"localhost:8000/api/tasks?assignee=7&dueDate[start]=2025-10-05","urlObject":{"path":["tasks"],"host":["localhost:8000/api"],"query":[{"disabled":true,"description":{"content":"<p>records no. per page</p>\n","type":"text/plain"},"key":"perPage","value":"5"},{"disabled":true,"description":{"content":"<p>pending-canceled-completed</p>\n","type":"text/plain"},"key":"status","value":"completed"},{"description":{"content":"<p>assignee</p>\n","type":"text/plain"},"key":"assignee","value":"7"},{"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"dueDate[start]","value":"2025-10-05"},{"disabled":true,"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"dueDate[end]","value":"2025-10-05"}],"variable":[]}},"response":[],"_postman_id":"9334938c-284b-4102-ba93-75d878e72ec1"},{"name":"get-single-task-by-id /tasks/{task}","event":[{"listen":"test","script":{"id":"ec1f20be-1ca3-4cdc-86a2-7661ff579140","exec":["var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>ID</th>\r","        <th>Title</th>\r","        <th>Description</th>\r","        <th>Due Date</th>\r","        <th>Status</th>\r","        <th>Assignee</th>\r","    </tr>\r","    \r","    <tr>\r","        <td>{{response.data.id}}</td>\r","        <td>{{response.data.title}}</td>\r","        <td>{{response.data.description}}</td>\r","        <td>{{response.data.dueDate}}</td>\r","        <td>{{response.data.status}}</td>\r","        <td>{{response.data.assignee}}</td>\r","    </tr>\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","    return {response: pm.response.json()}\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"aecf193b-1ddb-4187-b6cb-467b636259d8","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":"localhost:8000/api/tasks/2","urlObject":{"path":["tasks","2"],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"aecf193b-1ddb-4187-b6cb-467b636259d8"},{"name":"create-task /tasks","id":"0dbf8852-2a76-41ce-8f0d-b1f6ae461f00","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"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"title","value":"task50","description":"<p>string</p>\n","type":"text","uuid":"9c221c2c-98ca-4f12-990b-5b41b627bf17"},{"key":"description","value":"this is task 50","description":"<p>string</p>\n","type":"text","uuid":"6d95947a-b9ff-4592-84fa-cdc05ea379e9"},{"key":"dueDate","value":"2024-05-20","description":"<p>YYYY-MM-DD</p>\n","type":"text","uuid":"2e93cea8-416f-4e9c-bb77-1a9f024cc042"},{"key":"parentTask","value":"3","description":"<p>parent task_id</p>\n","type":"text","uuid":"bf7ac574-c834-44d5-88ae-42666d8b1c9f"},{"key":"assignee","value":"7","description":"<p>user_id</p>\n","type":"text","uuid":"2295d5b1-8987-4bc4-bc19-e05dad6c11fc"},{"key":"status","value":"pending","description":"<p>canceled-pending-completed</p>\n","type":"text","uuid":"f8068e66-3db8-4c27-9f1a-b6c4041b9e23","disabled":true}]},"url":"localhost:8000/api/tasks","urlObject":{"path":["tasks"],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0dbf8852-2a76-41ce-8f0d-b1f6ae461f00"},{"name":"update-task /tasks/{task}","id":"1de7925a-fef1-40a2-bd68-5cc857360b82","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"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"task1","type":"text","uuid":"9c221c2c-98ca-4f12-990b-5b41b627bf17","description":"<p>string</p>\n"},{"key":"description","value":"this is task 1","type":"text","uuid":"6d95947a-b9ff-4592-84fa-cdc05ea379e9","description":"<p>string</p>\n"},{"key":"dueDate","value":"2025-03-15","type":"text","uuid":"2e93cea8-416f-4e9c-bb77-1a9f024cc042","description":"<p>YYYY-MM-DD</p>\n"},{"key":"parentTask","value":"","type":"text","uuid":"bf7ac574-c834-44d5-88ae-42666d8b1c9f","description":"<p>parent task_id</p>\n","disabled":true},{"key":"assignee","value":"5","type":"text","uuid":"2295d5b1-8987-4bc4-bc19-e05dad6c11fc","description":"<p>user_id</p>\n"}]},"url":"localhost:8000/api/tasks/1","urlObject":{"path":["tasks","1"],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1de7925a-fef1-40a2-bd68-5cc857360b82"},{"name":"update-status /tasks/{task}/status","id":"1771ec59-2fa9-4f07-8ad4-128fc5e18be0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"pending","description":"<p>complete-pending-canceled</p>\n","type":"text","uuid":"6d508f70-c159-438f-8525-a585567d9d3b"}]},"url":"localhost:8000/api/tasks/5/status","urlObject":{"path":["tasks","5","status"],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1771ec59-2fa9-4f07-8ad4-128fc5e18be0"},{"name":"add-dependencies /tasks/{task}/dependencies","id":"9f1cae74-5c69-4f0a-8094-87b171d3a079","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"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"dependencies[]","value":"11","type":"text","uuid":"d9812db0-8452-4c1f-a34e-8730b648ad30"},{"key":"dependencies[]","value":"12","type":"text","uuid":"fff189b0-66d9-4672-ba49-7105c44d36fa"}]},"url":"localhost:8000/api/tasks/1/dependencies","urlObject":{"path":["tasks","1","dependencies"],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f1cae74-5c69-4f0a-8094-87b171d3a079"},{"name":"assign-task-to-user /tasks/{task}/assign/{user}","id":"fb8497ed-0697-41b7-9519-d9583b0c4bba","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"}],"url":"localhost:8000/api/tasks/10/assign/1","urlObject":{"path":["tasks","10","assign","1"],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb8497ed-0697-41b7-9519-d9583b0c4bba"}],"id":"a664739c-13e4-4159-9c6d-2756a59e2b8e","_postman_id":"a664739c-13e4-4159-9c6d-2756a59e2b8e","description":""}],"event":[{"listen":"prerequest","script":{"id":"29d40b20-2b4b-4a89-aea1-8376a0385857","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"0ce48805-ed13-4c0e-bf59-5081f52d2340","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"base_url","value":"localhost:8000/api","type":"string"}]}