{"info":{"_postman_id":"9431fa69-ee9c-439e-8fbe-dff67fde5936","name":"Tasks Tracking API","description":"<html><head></head><body><p>A simple sample API for testing purposes.</p>\n<p>Contact Support:<br>Name: Minae Lee</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4965758","collectionId":"9431fa69-ee9c-439e-8fbe-dff67fde5936","publishedId":"2s9Yyy7yEw","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-02-07T07:46:56.000Z"},"item":[{"name":"task","item":[{"name":"{id}","item":[{"name":"get Task By Id","id":"7d7d35b1-a702-4c60-8a9a-18f259e87604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//task/:id","description":"<p>Return a task based on its ID</p>\n","urlObject":{"path":["task",":id"],"host":["/"],"query":[],"variable":[{"id":"ca8362d9-8335-4c3b-afc8-f9b1ecad9262","description":{"content":"<p>(Required) ID of task to get</p>\n","type":"text/plain"},"type":"any","value":"<long>","key":"id"}]}},"response":[{"id":"227daf10-0184-4f9b-8b00-5bb272224970","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"//task/:id","host":["/"],"path":["task",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<long>\",\n  \"name\": \"<string>\",\n  \"tag\": \"<string>\"\n}"},{"id":"1c59daf3-8aba-48f8-8d34-851002b86fa9","name":"Unexpected error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"//task/:id","host":["/"],"path":["task",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}"}],"_postman_id":"7d7d35b1-a702-4c60-8a9a-18f259e87604"},{"name":"delete Task","id":"4376945e-0971-479e-b352-856280bc10bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"//task/:id","description":"<p>Delete a task based on ID supplied in path</p>\n","urlObject":{"path":["task",":id"],"host":["/"],"query":[],"variable":[{"id":"44b73cf0-0328-4dc8-b325-f2cea6e79687","description":{"content":"<p>(Required) ID of task to delete</p>\n","type":"text/plain"},"type":"any","value":"<long>","key":"id"}]}},"response":[{"id":"1a3dd78b-e0b2-4a50-904e-9d3347756f9b","name":"Task deleted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"//task/:id","host":["/"],"path":["task",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c6745c8e-4a0c-4851-8fe6-f6b11cb65fd8","name":"Unexpected error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"//task/:id","host":["/"],"path":["task",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}"}],"_postman_id":"4376945e-0971-479e-b352-856280bc10bc"}],"id":"504e4acd-4e9e-4d67-bc61-dad400d2617d","_postman_id":"504e4acd-4e9e-4d67-bc61-dad400d2617d","description":""},{"name":"add Task","id":"113bd7cc-fc27-4384-82bc-e0c9799d1802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"tag\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//task","description":"<p>Create a new task</p>\n","urlObject":{"path":["task"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"f1a19dd4-2299-49fe-af99-14cea9cac2d0","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"tag\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//task"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<long>\",\n  \"name\": \"<string>\",\n  \"tag\": \"<string>\"\n}"},{"id":"725b82b6-dc40-4757-9267-637856852090","name":"Unexpected error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"tag\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//task"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}"}],"_postman_id":"113bd7cc-fc27-4384-82bc-e0c9799d1802"}],"id":"dfd91e1b-deb0-492d-9d61-9bc7511541ca","_postman_id":"dfd91e1b-deb0-492d-9d61-9bc7511541ca","description":""},{"name":"tasks","item":[{"name":"get Tasks","id":"ad8de50d-0b1a-470e-921b-3c15018aef18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//tasks?limit=<integer>","description":"<p>Return all tasks in an array</p>\n","urlObject":{"path":["tasks"],"host":["/"],"query":[{"description":{"content":"<p>Set maximum number of results</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"3ec0aa8b-b4cc-42bb-a907-a6b9f1dfd418","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"//tasks?limit=<integer>","host":["/"],"path":["tasks"],"query":[{"description":"Set maximum number of results","key":"limit","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<long>\",\n    \"name\": \"<string>\",\n    \"tag\": \"<string>\"\n  },\n  {\n    \"id\": \"<long>\",\n    \"name\": \"<string>\",\n    \"tag\": \"<string>\"\n  }\n]"},{"id":"e7eaf24c-b4ec-4e35-8d82-eaa5a386cd50","name":"Unexpected error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"//tasks?limit=<integer>","host":["/"],"path":["tasks"],"query":[{"description":"Set maximum number of results","key":"limit","value":"<integer>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}"}],"_postman_id":"ad8de50d-0b1a-470e-921b-3c15018aef18"},{"name":"delete Tasks","id":"48790950-3b8a-48a0-8cfc-7e02629e29a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"//tasks?limit=<integer>","description":"<p>Delete all tasks</p>\n","urlObject":{"path":["tasks"],"host":["/"],"query":[{"description":{"content":"<p>Set maximum number to delete</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"d0f912e1-6175-4abe-b259-238b31d434ed","name":"Tasks deleted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"//tasks?limit=<integer>","host":["/"],"path":["tasks"],"query":[{"description":"Set maximum number to delete","key":"limit","value":"<integer>"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"e785e3ef-6441-4dd5-a7d5-33920fcc5437","name":"Unexpected error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"//tasks?limit=<integer>","host":["/"],"path":["tasks"],"query":[{"description":"Set maximum number to delete","key":"limit","value":"<integer>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"<integer>\",\n  \"message\": \"<string>\"\n}"}],"_postman_id":"48790950-3b8a-48a0-8cfc-7e02629e29a1"}],"id":"34dcbd19-5be9-47a8-85c3-adfef61704a7","_postman_id":"34dcbd19-5be9-47a8-85c3-adfef61704a7","description":""}],"variable":[{"id":"9edf7ff2-4b23-4b20-b45e-b387dfdef3f2","key":"baseUrl","value":"/"}]}