{"info":{"_postman_id":"70e7790b-e875-476c-8818-2e229d1df70a","name":"📋 TaskManager","description":"<html><head></head><body><h2 id=\"a-simple-api-that-creates-updates-and-deletes-tasks-from-a-db\">A simple API that creates, updates and deletes tasks from a DB.</h2>\n<h4 id=\"🍃-created-with-java-and-spring-boot\">🍃 <em>Created with Java and Spring Boot.</em></h4>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"49061873","collectionId":"70e7790b-e875-476c-8818-2e229d1df70a","publishedId":"2sB3QKrVRm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-09T18:22:42.000Z"},"item":[{"name":"🔍 Get All Tasks","id":"1fe7ea99-e095-4ef5-81b5-634e373f20ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/task","description":"<h3 id=\"get-all-tasks-currently-saved\">Get all tasks currently saved.</h3>\n","urlObject":{"protocol":"http","port":"8080","path":["task"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"337634ce-32b0-487b-ba9c-9b90edbf45a4","name":"Get All Tasks","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/task"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 09 Oct 2025 17:56:10 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"msg\": \"Tasks retrieved successfully.\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Do summary\",\n            \"dueDate\": \"2025-10-12\",\n            \"responsible\": \"Artur\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Refactor code\",\n            \"dueDate\": \"2025-10-15\",\n            \"responsible\": \"John\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Send email to professor\",\n            \"dueDate\": \"2025-10-10\",\n            \"responsible\": \"Maria\"\n        }\n    ]\n}"}],"_postman_id":"1fe7ea99-e095-4ef5-81b5-634e373f20ad"},{"name":"🔍 Get Task By Id","id":"4353825b-55cf-4698-aa1d-a2f2d6c6c8fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/task/1","description":"<h3 id=\"get-a-single-task-by-adding-its-id-after-the-endpoint\">Get a single task by adding its ID after the endpoint.</h3>\n","urlObject":{"protocol":"http","port":"8080","path":["task","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"316ef113-c442-4620-8c25-0670a8790697","name":"Get Task By Id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/task/1"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 09 Oct 2025 18:00:51 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"msg\": \"Task retrieved successfully.\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Do summary\",\n        \"dueDate\": \"2025-10-12\",\n        \"responsible\": \"Artur\"\n    }\n}"}],"_postman_id":"4353825b-55cf-4698-aa1d-a2f2d6c6c8fe"},{"name":"📝 Create Task","id":"5a5ddba9-fae2-427d-98e1-8bceeb547782","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Test\",\r\n  \"dueDate\": \"2025-11-20\",\r\n  \"responsible\": \"Gabriela\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/task","description":"<h3 id=\"create-a-task\">Create a task.</h3>\n<h4 id=\"fields-required\">Fields required:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Data Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>dueDate</td>\n<td>LocalDate</td>\n</tr>\n<tr>\n<td>responsible</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"http","port":"8080","path":["task"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5e487ca8-652b-4620-b737-10369567760a","name":"Create Task","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Test\",\r\n  \"dueDate\": \"2025-11-20\",\r\n  \"responsible\": \"Gabriela\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/task"},"status":"Created","code":201,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 09 Oct 2025 18:01:08 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"msg\": \"Task created successfully.\",\n    \"data\": {\n        \"id\": 4,\n        \"name\": \"Test\",\n        \"dueDate\": \"2025-11-20\",\n        \"responsible\": \"Gabriela\"\n    }\n}"}],"_postman_id":"5a5ddba9-fae2-427d-98e1-8bceeb547782"},{"name":"✏️ Update Task","id":"472634da-4e10-4cda-9908-d27d359703a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Updated task\",\r\n  \"dueDate\": \"2025-10-25\",\r\n  \"responsible\": \"Carlos\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/task/1","description":"<h3 id=\"update-a-task-by-adding-its-id-after-the-endpoint\">Update a task by adding its ID after the endpoint.</h3>\n<h4 id=\"fields-required\">Fields required:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Data Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>dueDate</td>\n<td>LocalDate</td>\n</tr>\n<tr>\n<td>responsible</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"http","port":"8080","path":["task","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8e7af3b9-abfe-4787-874b-d3907a0e9a94","name":"Update Task","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Updated task\",\r\n  \"dueDate\": \"2025-10-25\",\r\n  \"responsible\": \"Carlos\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/task/1"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 09 Oct 2025 18:01:19 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"msg\": \"Task updated successfully.\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Updated task\",\n        \"dueDate\": \"2025-10-25\",\n        \"responsible\": \"Carlos\"\n    }\n}"}],"_postman_id":"472634da-4e10-4cda-9908-d27d359703a9"},{"name":"🗑️ Delete Task By Id","id":"587d4020-ea56-4661-abd7-b9c575ff2ccd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Test\",\r\n  \"dueDate\": \"2025-11-20\",\r\n  \"responsible\": \"Gabriela\"\r\n}\r\n"},"url":"http://localhost:8080/task/1","description":"<h3 id=\"delete-a-single-task-by-adding-its-id-after-the-endpoint\">Delete a single task by adding its ID after the endpoint.</h3>\n","urlObject":{"protocol":"http","port":"8080","path":["task","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"865cb3ad-ac4f-41fd-94b4-e2f82272b513","name":"Delete Task By Id","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Test\",\r\n  \"dueDate\": \"2025-11-20\",\r\n  \"responsible\": \"Gabriela\"\r\n}\r\n"},"url":"http://localhost:8080/task/1"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 09 Oct 2025 18:01:39 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"msg\": \"Task deleted successfully.\",\n    \"data\": null\n}"}],"_postman_id":"587d4020-ea56-4661-abd7-b9c575ff2ccd"},{"name":"🗑️ Delete All Tasks","id":"2c0e1794-8df5-44bd-85ba-c9511d644d3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Test\",\r\n  \"dueDate\": \"2025-11-20\",\r\n  \"responsible\": \"Gabriela\"\r\n}\r\n"},"url":"http://localhost:8080/task","description":"<h3 id=\"delete-all-tasks\">Delete all tasks.</h3>\n","urlObject":{"protocol":"http","port":"8080","path":["task"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"77a33d98-48f9-4106-a5be-d374d09fb8cb","name":"Delete All Tasks","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Test\",\r\n  \"dueDate\": \"2025-11-20\",\r\n  \"responsible\": \"Gabriela\"\r\n}\r\n"},"url":"http://localhost:8080/task"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 09 Oct 2025 18:01:47 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"msg\": \"All tasks deleted successfully.\",\n    \"data\": null\n}"}],"_postman_id":"2c0e1794-8df5-44bd-85ba-c9511d644d3b"}]}