{"info":{"_postman_id":"a58a40f5-82d5-42ba-8d5e-ca0d9f61c5fa","name":"UpTask","description":"<html><head></head><body><p>Welcome to the API documentation for UP_TASK_API. This API provides a robust and versatile interface for interacting with [Your Service/Platform], designed to simplify integration and enhance the functionality of your applications.</p>\n<p>Our API enables you to seamlessly perform operations related to [describe key functionalities, e.g., user management, data retrieval, task management, etc.]. With well-defined endpoints and comprehensive response structures, it empowers developers to build and extend applications with ease.</p>\n<h3 id=\"key-features\">Key Features:</h3>\n<ul>\n<li><p><strong>RESTful Design</strong>: Our API adheres to REST principles, ensuring simplicity and consistency.</p>\n</li>\n<li><p><strong>Authentication</strong>: Secure access to the API with [OAuth2/Token-Based Authentication/Other methods].</p>\n</li>\n<li><p><strong>Flexible Data Handling</strong>: Effortlessly create, read, update, and delete resources with intuitive endpoints.</p>\n</li>\n<li><p><strong>Comprehensive Error Handling</strong>: Detailed error messages and status codes for robust error management.</p>\n</li>\n<li><p><strong>Detailed Documentation</strong>: Clear and concise documentation with examples to guide you through the integration process.</p>\n</li>\n</ul>\n<p>Whether you're building a new application or integrating with an existing one, our API provides the tools and flexibility you need to achieve your goals. Explore the endpoints, review the examples, and get started with integrating UP_TASK_API into your projects.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"32058825","collectionId":"a58a40f5-82d5-42ba-8d5e-ca0d9f61c5fa","publishedId":"2sAXjF8F16","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-08-24T08:44:19.000Z"},"item":[{"name":"Projects","item":[{"name":"Get All Projects","id":"3236acc8-96ad-4088-b238-63a9dc8abeae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/projects","urlObject":{"path":["projects"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3236acc8-96ad-4088-b238-63a9dc8abeae"},{"name":"Create Project","id":"86250e1f-6826-45b2-90d3-7ca944d4aeaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"projectName","value":"Mobile App","type":"text"},{"key":"clientName","value":"StarckBucks","type":"text"},{"key":"description","value":"Example project number 2","type":"text"}]},"url":"http://localhost:3000/api/projects","urlObject":{"path":["projects"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"fc187698-6929-485c-a849-9a3e3a71ce0b","name":"Project Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"projectName","value":"New Project Web Aplication","type":"text"},{"key":"clientName","value":"StarckBucks","type":"text"},{"key":"description","value":"create and development","type":"text"}]},"url":"http://localhost:3000/api/projects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"231"},{"key":"ETag","value":"W/\"e7-97FP9P9Bt02yYIRXuJ/8QN2Hmx8\""},{"key":"Date","value":"Sun, 28 Jul 2024 04:38:13 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"projectName\": \"New Project Web Aplication\",\n    \"clientName\": \"StarckBucks\",\n    \"description\": \"create and development\",\n    \"tasks\": [],\n    \"createdAt\": \"2024-07-28T04:38:13.371Z\",\n    \"updatedAt\": \"2024-07-28T04:38:13.371Z\",\n    \"id\": \"66a5cb35eff8ccbb90585f4a\"\n}"},{"id":"8fcbd277-5930-4a3d-b7e1-f2512bf896ba","name":"Missing body","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"projectName","value":"New Project Web Aplication","type":"text"},{"key":"clientName","value":"StarckBucks","type":"text","disabled":true},{"key":"description","value":"create and development","type":"text"}]},"url":"http://localhost:3000/api/projects"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"ETag","value":"W/\"1f-P1k31N9td13FiU+TkmyacF+Mmcc\""},{"key":"Date","value":"Sun, 28 Jul 2024 04:39:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Missing Client Name\"\n}"}],"_postman_id":"86250e1f-6826-45b2-90d3-7ca944d4aeaa"},{"name":"Get By Id","id":"1c789cd6-370e-4eb2-a42a-5bff6f6e95b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c6e764ae532859628a5b28/task/66c6e780ae532859628a5b3f","urlObject":{"path":["projects","66c6e764ae532859628a5b28","task","66c6e780ae532859628a5b3f"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"7b38a67d-88d7-4aab-82b2-f6991cb7d517","name":"Project by id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"687"},{"key":"ETag","value":"W/\"2af-QcKK8sIjLsrGs9xHHyLIg12nH5M\""},{"key":"Date","value":"Fri, 26 Jul 2024 05:14:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"projectName\": \"Web Aplication\",\n    \"clientName\": \"Pinnacle\",\n    \"description\": \"create and development\",\n    \"tasks\": [\n        {\n            \"_id\": \"66a3305b2142acf004d99be9\",\n            \"name\": \"Search Java Framework\",\n            \"description\": \"This is a description\",\n            \"status\": \"pending\",\n            \"createdAt\": \"2024-07-26T05:12:59.684Z\",\n            \"updatedAt\": \"2024-07-26T05:12:59.773Z\",\n            \"project\": \"66a330432142acf004d99be6\"\n        },\n        {\n            \"_id\": \"66a3306f2142acf004d99bef\",\n            \"name\": \"Search CFramework\",\n            \"description\": \"This is a description\",\n            \"status\": \"pending\",\n            \"createdAt\": \"2024-07-26T05:13:19.756Z\",\n            \"updatedAt\": \"2024-07-26T05:13:19.845Z\",\n            \"project\": \"66a330432142acf004d99be6\"\n        }\n    ],\n    \"createdAt\": \"2024-07-26T05:12:35.316Z\",\n    \"updatedAt\": \"2024-07-26T05:13:19.846Z\",\n    \"id\": \"66a330432142acf004d99be6\"\n}"},{"id":"d82e84b0-3671-4be3-be2f-a2bdb3b49b8d","name":"Not MongoId","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"100"},{"key":"ETag","value":"W/\"64-0/m9uAO9kzxSuDNgOD1+0TA0APg\""},{"key":"Date","value":"Sun, 28 Jul 2024 05:29:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"type\": \"field\",\n            \"value\": \"66\",\n            \"msg\": \"id is not mongoId\",\n            \"path\": \"id\",\n            \"location\": \"params\"\n        }\n    ]\n}"},{"id":"e8b221b0-628c-46d5-8ce8-fbf0df6e0270","name":"Action not valid / Different User","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c1adea22cf0f037cd9fb0d"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"ETag","value":"W/\"1a-6mIXl0nrraeseaneFGOIy4VOQC4\""},{"key":"Date","value":"Sun, 18 Aug 2024 08:48:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Action not valid\"\n}"}],"_postman_id":"1c789cd6-370e-4eb2-a42a-5bff6f6e95b8"},{"name":"Update","id":"996ce097-1cb0-4a0f-8859-081e450669a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"projectName","value":"New Project - Updated","type":"text"}]},"url":"http://localhost:3000/api/projects/66c1b23fd39b0add18efb825","urlObject":{"path":["projects","66c1b23fd39b0add18efb825"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"afda4576-78fe-46d9-9d9c-c9430d8c6a3c","name":"Action not valid","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"projectName","value":"New Project - Updated","type":"text"}]},"url":"http://localhost:3000/api/projects/66c1b181d39b0add18efb808"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"64"},{"key":"ETag","value":"W/\"40-tQgbuNIgVRQuChqxpY8n7MiQ9t8\""},{"key":"Date","value":"Sun, 18 Aug 2024 08:57:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Action not valid, only Manager can update this project\"\n}"}],"_postman_id":"996ce097-1cb0-4a0f-8859-081e450669a4"},{"name":"Delete","id":"6088c38c-771b-4d8b-8a6e-e6601c740840","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66c1adea22cf0f037cd9fb0d","urlObject":{"path":["projects","66c1adea22cf0f037cd9fb0d"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"3e7e8800-f05b-4641-a845-8023e101947b","name":"Project Deleted","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/669b65ca1e4a94a207079897"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"25"},{"key":"ETag","value":"W/\"19-fdcs1VRixzAPAdx73z3IedY/OEQ\""},{"key":"Date","value":"Sat, 20 Jul 2024 08:06:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Project Deleted\"\n}"},{"id":"1e5c8e93-facf-4a1b-9152-3b66aa913eb8","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/669b65ca1e4a94a207079897"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Sun, 18 Aug 2024 08:58:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"61509b9b-82ef-45aa-9b20-cb2967f27d24","name":"Not found","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/669b65ca1e4a94a207079897"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"61"},{"key":"ETag","value":"W/\"3d-8F207rIoClUsZvbnR5yGH68EuAM\""},{"key":"Date","value":"Sun, 18 Aug 2024 08:59:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Project with id: 669b65ca1e4a94a207079897 not found\"\n}"},{"id":"83159f6c-b2ef-4e78-b13a-a1a0c174c4cd","name":"Project Deleted","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"25"},{"key":"ETag","value":"W/\"19-fdcs1VRixzAPAdx73z3IedY/OEQ\""},{"key":"Date","value":"Sun, 18 Aug 2024 08:59:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Project Deleted\"\n}"},{"id":"dcc260b8-7a3a-4129-9c5a-072bea80b62f","name":"Action not valid","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66c1adea22cf0f037cd9fb0d"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"64"},{"key":"ETag","value":"W/\"40-Erg2ExSCNDGyRY30XDFkjHM7ppo\""},{"key":"Date","value":"Sun, 18 Aug 2024 08:59:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Action not valid, only Manager can delete this project\"\n}"}],"_postman_id":"6088c38c-771b-4d8b-8a6e-e6601c740840"}],"id":"e0496523-50d0-415d-9ce3-b4185dd8b3ac","_postman_id":"e0496523-50d0-415d-9ce3-b4185dd8b3ac","description":""},{"name":"Tasks","item":[{"name":"Create Task","id":"37f80bf7-6bc3-4998-ae4b-afb1e2b80e7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Test to be deleted","type":"text"},{"key":"description","value":"Description to be deleted","type":"text"}]},"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task","urlObject":{"path":["projects","66a330432142acf004d99be6","task"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"3982a63a-52f3-46ef-bbec-5eb712c21647","name":"Project not exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Search CFramework","type":"text"},{"key":"description","value":"This is a description","type":"text"}]},"url":"http://localhost:3000/api/projects/66a330432142acf004d99be0/task"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"67"},{"key":"ETag","value":"W/\"43-HV8RXLyudZX3UPWVSttTIO56UPc\""},{"key":"Date","value":"Sun, 28 Jul 2024 05:30:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Project with id: 66a330432142acf004d99be0 doesn't exist\"\n}"},{"id":"597167f3-dfa3-401f-9706-6d5cba7f8cf6","name":"Id is not MongoId","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Search CFramework","type":"text"},{"key":"description","value":"This is a description","type":"text"}]},"url":"http://localhost:3000/api/projects/66/task"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"107"},{"key":"ETag","value":"W/\"6b-YcHSSG1xSz3hAvrGJBq1LdJYx3I\""},{"key":"Date","value":"Sun, 28 Jul 2024 05:30:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"type\": \"field\",\n            \"value\": \"66\",\n            \"msg\": \"id is not MongoId\",\n            \"path\": \"projectId\",\n            \"location\": \"params\"\n        }\n    ]\n}"},{"id":"611b79e4-1473-49bb-bc09-ef73bea9cac0","name":"Task Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Create Backlog","type":"text"},{"key":"description","value":"This is a description for my backlog","type":"text"}]},"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"ETag","value":"W/\"16-W/lEIGNPnpNFof5yTbBr663EJ/A\""},{"key":"Date","value":"Sun, 28 Jul 2024 05:31:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Task Created\"\n}"}],"_postman_id":"37f80bf7-6bc3-4998-ae4b-afb1e2b80e7d"},{"name":"Get Project's Tasks","id":"89a98424-6592-40ec-a5c3-1c5b922589ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task","urlObject":{"path":["projects","66a330432142acf004d99be6","task"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"9194fbf2-3237-4e25-9466-a187ada1afc5","name":"Project without tasks","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/669b108cfe61b6adc5502d5e/task"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"39"},{"key":"ETag","value":"W/\"27-edO4hy0yPmqZHLzdQKBDlwOyAMM\""},{"key":"Date","value":"Fri, 26 Jul 2024 02:30:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"The project doesn't have task\"\n}"},{"id":"bc4c99bd-5b23-4a6e-9d76-381a47fdc58a","name":"ProjectId not exist","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/669b707eed83f6f74afd7c63/task"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"67"},{"key":"ETag","value":"W/\"43-jtqUx5ChEsLCD+tFsttTv0AW+Uw\""},{"key":"Date","value":"Fri, 26 Jul 2024 02:30:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Project with id: 669b707eed83f6f74afd7c63 doesn't exist\"\n}"},{"id":"ecc5a1df-b0c4-4c7d-a1de-cfc16808e0eb","name":"Tasks","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/669b707eed83f6f74afd7c62/task"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"490"},{"key":"ETag","value":"W/\"1ea-vbRnF4sD+hTosvednpwRAiCCCvw\""},{"key":"Date","value":"Fri, 26 Jul 2024 02:31:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"66a30390496e4beed7a073f5\",\n        \"name\": \"Search css Framework\",\n        \"description\": \"This is a description\",\n        \"status\": \"pending\",\n        \"createdAt\": \"2024-07-26T02:01:52.830Z\",\n        \"updatedAt\": \"2024-07-26T02:01:52.919Z\",\n        \"__v\": 0,\n        \"project\": \"669b707eed83f6f74afd7c62\"\n    },\n    {\n        \"_id\": \"66a304772bc0019433738975\",\n        \"name\": \"Search js Framework\",\n        \"description\": \"This is a description\",\n        \"status\": \"pending\",\n        \"createdAt\": \"2024-07-26T02:05:43.348Z\",\n        \"updatedAt\": \"2024-07-26T02:05:43.489Z\",\n        \"__v\": 0,\n        \"project\": \"669b707eed83f6f74afd7c62\"\n    }\n]"},{"id":"c0e883d5-f311-4a34-8b0c-ec905d18b329","name":"Not MongoId","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66/task"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"107"},{"key":"ETag","value":"W/\"6b-YcHSSG1xSz3hAvrGJBq1LdJYx3I\""},{"key":"Date","value":"Sun, 28 Jul 2024 05:29:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"type\": \"field\",\n            \"value\": \"66\",\n            \"msg\": \"id is not MongoId\",\n            \"path\": \"projectId\",\n            \"location\": \"params\"\n        }\n    ]\n}"}],"_postman_id":"89a98424-6592-40ec-a5c3-1c5b922589ae"},{"name":"Get By Id","id":"1d768bd7-cd89-46b4-9499-1a814182bb94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/task/66c2b170c9fde42b7148ad31","urlObject":{"path":["projects","66c236b26a8a892c8a1b7e7a","task","66c2b170c9fde42b7148ad31"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"60619fbe-424a-4261-a1e4-157ee4fc4fec","name":"TaskId wrong","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task/66a3305b2142acf004d99be8"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"58"},{"key":"ETag","value":"W/\"3a-5HTLuisLbmasoWzwd6qaFb8+L5M\""},{"key":"Date","value":"Sun, 28 Jul 2024 04:22:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Task with id: 66a3305b2142acf004d99be8 not found\"\n}"},{"id":"cc2bb433-0459-490d-b7c9-f2360dbc6310","name":"ProjectId wrong","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66a330432142acf004d99be7/task/66a3305b2142acf004d99be9"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"67"},{"key":"ETag","value":"W/\"43-2rXhE2Ct9Y8ypKl2S4WekWEZnLo\""},{"key":"Date","value":"Sun, 28 Jul 2024 04:26:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Project with id: 66a330432142acf004d99be7 doesn't exist\"\n}"},{"id":"3828dc49-030e-4077-9551-780c0bc06acd","name":"Task from other project","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66a30f38b2027da388e512eb/task/66a3305b2142acf004d99be9"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"ETag","value":"W/\"3b-n+oAsM4DXySnyotNiJaz/WPZfSs\""},{"key":"Date","value":"Sun, 28 Jul 2024 04:32:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Action not valid, this task is from other project\"\n}"},{"id":"6c63f7e1-8173-4036-89a6-c4b7bca49601","name":"Id is not MongoId","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/88/task/99"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"199"},{"key":"ETag","value":"W/\"c7-ZO35rXMWL5jxq0ET0UWDSiI15IM\""},{"key":"Date","value":"Sun, 28 Jul 2024 05:32:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"type\": \"field\",\n            \"value\": \"88\",\n            \"msg\": \"id is not MongoId\",\n            \"path\": \"projectId\",\n            \"location\": \"params\"\n        },\n        {\n            \"type\": \"field\",\n            \"value\": \"99\",\n            \"msg\": \"id is not MongoId\",\n            \"path\": \"taskId\",\n            \"location\": \"params\"\n        }\n    ]\n}"},{"id":"3700b12d-6811-4f78-86bb-ad73346e9e0a","name":"Get Task new Version","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/task/66c2b170c9fde42b7148ad31"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1981"},{"key":"ETag","value":"W/\"7bd-oQ2cz0hw4jX/9EDU29IIZPnnGxQ\""},{"key":"Date","value":"Mon, 19 Aug 2024 03:03:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"66c2b170c9fde42b7148ad31\",\n    \"name\": \"Nueva tarea\",\n    \"description\": \"Nueva des\",\n    \"status\": \"pending\",\n    \"notes\": [\n        {\n            \"_id\": \"66c2b21bc9fde42b7148ad43\",\n            \"content\": \"Nueva nota para tarea\",\n            \"createdBy\": {\n                \"_id\": \"66c1b1c3d39b0add18efb80e\",\n                \"email\": \"josefer.hdeza@hotmail.com\",\n                \"name\": \"Fernando Developer\"\n            },\n            \"task\": \"66c2b170c9fde42b7148ad31\",\n            \"createdAt\": \"2024-08-19T02:46:51.672Z\",\n            \"updatedAt\": \"2024-08-19T02:46:51.672Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"66c2b3a611484af81f635799\",\n            \"content\": \"Nueva nota para tarea v2\",\n            \"createdBy\": {\n                \"_id\": \"66c1b1c3d39b0add18efb80e\",\n                \"email\": \"josefer.hdeza@hotmail.com\",\n                \"name\": \"Fernando Developer\"\n            },\n            \"task\": \"66c2b170c9fde42b7148ad31\",\n            \"createdAt\": \"2024-08-19T02:53:26.648Z\",\n            \"updatedAt\": \"2024-08-19T02:53:26.648Z\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"66c2b3c011484af81f63579f\",\n            \"content\": \"New Comment for this note\",\n            \"createdBy\": {\n                \"_id\": \"66c1b1c3d39b0add18efb80e\",\n                \"email\": \"josefer.hdeza@hotmail.com\",\n                \"name\": \"Fernando Developer\"\n            },\n            \"task\": \"66c2b170c9fde42b7148ad31\",\n            \"createdAt\": \"2024-08-19T02:53:52.863Z\",\n            \"updatedAt\": \"2024-08-19T02:53:52.863Z\",\n            \"__v\": 0\n        }\n    ],\n    \"completedBy\": [\n        {\n            \"user\": {\n                \"_id\": \"66c1b1c3d39b0add18efb80e\",\n                \"email\": \"josefer.hdeza@hotmail.com\",\n                \"name\": \"Fernando Developer\"\n            },\n            \"status\": \"inProgress\",\n            \"_id\": \"66c2b540a8c9441dfa6e526e\"\n        },\n        {\n            \"user\": {\n                \"_id\": \"66b7393f63a2e7a0040211b1\",\n                \"email\": \"jose.hernandez228841@potros.itson.edu.mx\",\n                \"name\": \"Jose Fernando\"\n            },\n            \"status\": \"pending\",\n            \"_id\": \"66c2b554a8c9441dfa6e5294\"\n        },\n        {\n            \"user\": {\n                \"_id\": \"66b7393f63a2e7a0040211b1\",\n                \"email\": \"jose.hernandez228841@potros.itson.edu.mx\",\n                \"name\": \"Jose Fernando\"\n            },\n            \"status\": \"inProgress\",\n            \"_id\": \"66c2b55aa8c9441dfa6e52b6\"\n        },\n        {\n            \"user\": {\n                \"_id\": \"66c1b1c3d39b0add18efb80e\",\n                \"email\": \"josefer.hdeza@hotmail.com\",\n                \"name\": \"Fernando Developer\"\n            },\n            \"status\": \"onHold\",\n            \"_id\": \"66c2b55fa8c9441dfa6e52de\"\n        },\n        {\n            \"user\": {\n                \"_id\": \"66c1b1c3d39b0add18efb80e\",\n                \"email\": \"josefer.hdeza@hotmail.com\",\n                \"name\": \"Fernando Developer\"\n            },\n            \"status\": \"pending\",\n            \"_id\": \"66c2b566a8c9441dfa6e530c\"\n        }\n    ],\n    \"createdAt\": \"2024-08-19T02:44:00.995Z\",\n    \"updatedAt\": \"2024-08-19T03:00:54.322Z\",\n    \"__v\": 8,\n    \"project\": \"66c236b26a8a892c8a1b7e7a\"\n}"}],"_postman_id":"1d768bd7-cd89-46b4-9499-1a814182bb94"},{"name":"Update Task","id":"29de3705-9f43-4b1d-b582-386d23c02887","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Search Java Framework Updated 2","type":"text"},{"key":"description","value":"Description for backlog updated","type":"text","disabled":true}]},"url":"http://localhost:3000/api/projects/66c6e764ae532859628a5b28/task/66c6e780ae532859628a5b3f","urlObject":{"path":["projects","66c6e764ae532859628a5b28","task","66c6e780ae532859628a5b3f"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"fcdcb730-f5cb-49b6-a06b-f85e89e30b74","name":"Task Updated","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Search Java Framework Updated 5","type":"text","disabled":true},{"key":"description","value":"Description for backlog updated","type":"text"}]},"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task/66a5d7bdff0c1605ac368ab6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"548"},{"key":"ETag","value":"W/\"224-iC8LvUY9P1xdn5LH/bEiozfWHY0\""},{"key":"Date","value":"Sun, 28 Jul 2024 07:00:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Task Updated\",\n    \"task\": {\n        \"_id\": \"66a5d7bdff0c1605ac368ab6\",\n        \"name\": \"Create Backlog\",\n        \"description\": \"Description for backlog updated\",\n        \"status\": \"pending\",\n        \"createdAt\": \"2024-07-28T05:31:41.179Z\",\n        \"updatedAt\": \"2024-07-28T07:00:58.669Z\",\n        \"__v\": 0,\n        \"project\": {\n            \"projectName\": \"Web Aplication\",\n            \"clientName\": \"Pinnacle\",\n            \"description\": \"create and development\",\n            \"tasks\": [\n                \"66a3305b2142acf004d99be9\",\n                \"66a3306f2142acf004d99bef\",\n                \"66a5d7bdff0c1605ac368ab6\"\n            ],\n            \"createdAt\": \"2024-07-26T05:12:35.316Z\",\n            \"updatedAt\": \"2024-07-28T06:58:04.921Z\",\n            \"id\": \"66a330432142acf004d99be6\"\n        }\n    }\n}"},{"id":"0f35b2b7-e809-47a1-8956-41769a1527ec","name":"Task invalid","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Search Java Framework Updated 5","type":"text","disabled":true},{"key":"description","value":"Description for backlog updated","type":"text"}]},"url":"http://localhost:3000/api/projects/669b108cfe61b6adc5502d5e/task/66a5d7bdff0c1605ac368ab6"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"ETag","value":"W/\"1a-6mIXl0nrraeseaneFGOIy4VOQC4\""},{"key":"Date","value":"Sun, 28 Jul 2024 07:01:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Action not valid\"\n}"},{"id":"643fc728-d2e4-4b8c-9451-28d8476addc7","name":"Id is not MongoId","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Search Java Framework Updated 5","type":"text","disabled":true},{"key":"description","value":"Description for backlog updated","type":"text"}]},"url":"http://localhost:3000/api/projects/08hh-hh/task/698545"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"208"},{"key":"ETag","value":"W/\"d0-1cs9z3aGmvolF8GIak4/qiLLrQE\""},{"key":"Date","value":"Sun, 28 Jul 2024 07:02:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"type\": \"field\",\n            \"value\": \"08hh-hh\",\n            \"msg\": \"id is not MongoId\",\n            \"path\": \"projectId\",\n            \"location\": \"params\"\n        },\n        {\n            \"type\": \"field\",\n            \"value\": \"698545\",\n            \"msg\": \"id is not MongoId\",\n            \"path\": \"taskId\",\n            \"location\": \"params\"\n        }\n    ]\n}"},{"id":"5041027f-a245-4ff1-b2e1-3a88e9ed3fd2","name":"Other Project","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Search Java Framework Updated 2","type":"text"},{"key":"description","value":"Description for backlog updated","type":"text"}]},"url":"http://localhost:3000/api/projects/66c6e3e746d23413bf214797/task/66c6e4dfae532859628a5aa6"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"61"},{"key":"ETag","value":"W/\"3d-WwYqoSiZGVqwNcihvoCjYT/Zr7M\""},{"key":"Date","value":"Thu, 22 Aug 2024 07:18:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Action not valid, this task is from other project\"\n}"}],"_postman_id":"29de3705-9f43-4b1d-b582-386d23c02887"},{"name":"Delete Task","id":"6e281de5-9e03-414d-8bcb-a8664de604e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task/66a6090004f0e6e04d12afde","urlObject":{"path":["projects","66a330432142acf004d99be6","task","66a6090004f0e6e04d12afde"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"73aa4e6a-7a1c-405a-a17a-91b820bd558e","name":"Task Deleted","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task/66a5eb4d437fa1b84b6752ed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"33"},{"key":"ETag","value":"W/\"21-wATRpcRvPiSPnVEofta/byURIaU\""},{"key":"Date","value":"Sun, 28 Jul 2024 06:58:05 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Task deleted succefully\"\n}"},{"id":"d80535bb-895a-4678-9173-789690453213","name":"Task from other project","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task/66a32fca2142acf004d99bd7"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"ETag","value":"W/\"1a-6mIXl0nrraeseaneFGOIy4VOQC4\""},{"key":"Date","value":"Sun, 28 Jul 2024 06:59:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Action not valid\"\n}"},{"id":"2f294d06-5171-4cc5-b602-9b12fabf2a72","name":"Project not exist","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66a330432142acf004d99be8/task/66a32fca2142acf004d99bd7"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"67"},{"key":"ETag","value":"W/\"43-fWr6M4s0AOz3AWxC9mkv6mn31nE\""},{"key":"Date","value":"Sun, 28 Jul 2024 06:59:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Project with id: 66a330432142acf004d99be8 doesn't exist\"\n}"},{"id":"74b3e2c3-67d7-4b5a-b057-36e58288a1e7","name":"Id is not MongoId","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/834/task/fds34"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"203"},{"key":"ETag","value":"W/\"cb-ZkpbWsQzfYqp35co1aKvrX5mIsg\""},{"key":"Date","value":"Sun, 28 Jul 2024 06:59:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"type\": \"field\",\n            \"value\": \"834\",\n            \"msg\": \"id is not MongoId\",\n            \"path\": \"projectId\",\n            \"location\": \"params\"\n        },\n        {\n            \"type\": \"field\",\n            \"value\": \"fds34\",\n            \"msg\": \"id is not MongoId\",\n            \"path\": \"taskId\",\n            \"location\": \"params\"\n        }\n    ]\n}"}],"_postman_id":"6e281de5-9e03-414d-8bcb-a8664de604e0"},{"name":"Update Status","id":"16fcde34-d112-43ce-8834-a9f22addf9db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"completed","type":"text"}]},"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task/66a5d7bdff0c1605ac368ab6","urlObject":{"path":["projects","66a330432142acf004d99be6","task","66a5d7bdff0c1605ac368ab6"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"98813685-2c68-4d60-9c46-a7ac7dffc10a","name":"Status incompatible","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"finish","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task/66a5d7bdff0c1605ac368ab6"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-boOsdT0mM4vtK2NNIUwvNc1nWNI\""},{"key":"Date","value":"Sun, 28 Jul 2024 07:20:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Status: finish is incompatible\"\n}"},{"id":"446df806-cfd6-415e-b124-a466503dba1b","name":"Action not valid","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"finish","type":"text"}]},"url":"http://localhost:3000/api/projects/669b108cfe61b6adc5502d5e/task/66a5d7bdff0c1605ac368ab6"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"ETag","value":"W/\"1a-6mIXl0nrraeseaneFGOIy4VOQC4\""},{"key":"Date","value":"Sun, 28 Jul 2024 07:21:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Action not valid\"\n}"},{"id":"9981bfc9-320b-4a42-9623-6b03f25d90cc","name":"Status Updated","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"onHold","type":"text"}]},"url":"http://localhost:3000/api/projects/66a330432142acf004d99be6/task/66a5d7bdff0c1605ac368ab6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-A62jLphAZ4F/IMmFh7pMAR7Q/8Q\""},{"key":"Date","value":"Sun, 28 Jul 2024 07:35:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Status updated\"\n}"}],"_postman_id":"16fcde34-d112-43ce-8834-a9f22addf9db"}],"id":"0cf12aed-c479-40fc-8d34-0e8992f83e64","_postman_id":"0cf12aed-c479-40fc-8d34-0e8992f83e64","description":""},{"name":"Auth User","item":[{"name":"Create-count","id":"0e4220e5-185d-427d-ba1e-3c7510bc13a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"jose.hernandez228841@potros.itson.edu.mx","type":"text"},{"key":"name","value":"Fernando","type":"text"},{"key":"password","value":"adminadmin","type":"text"},{"key":"userDiscord","value":"Chanfles#1243","type":"text"}]},"url":"http://localhost:3000/api/auth/create-account","urlObject":{"path":["auth","create-account"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e4220e5-185d-427d-ba1e-3c7510bc13a1"},{"name":"Confirm-count","id":"0cd1f865-fe87-4a74-9098-d4657cef8f4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"109531","type":"text"}]},"url":"http://localhost:3000/api/auth/confirm-count","urlObject":{"path":["auth","confirm-count"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0cd1f865-fe87-4a74-9098-d4657cef8f4b"},{"name":"Login - AuthUser","id":"7c93f590-d51b-4924-9a33-7f1a741c9157","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"jose.hernandez228841@potros.itson.edu.mx","type":"text"},{"key":"password","value":"adminadmin","type":"text"}]},"url":"http://localhost:3000/api/auth/login","urlObject":{"path":["auth","login"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c93f590-d51b-4924-9a33-7f1a741c9157"},{"name":"Request-New-Confirmation-Code","id":"f0ebc46b-0d1a-4577-a716-cc6245d9818f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"josefer.hdeza@hotmail.com","type":"text"}]},"url":"http://localhost:3000/api/auth/request-code","urlObject":{"path":["auth","request-code"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0ebc46b-0d1a-4577-a716-cc6245d9818f"},{"name":"Forgot-Password","id":"7d952658-5609-4a5e-b8fc-75c378e1efc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"josefer.hdeza@hotmail.com","type":"text"}]},"url":"http://localhost:3000/api/auth/forgot-password","urlObject":{"path":["auth","forgot-password"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d952658-5609-4a5e-b8fc-75c378e1efc7"},{"name":"Validate-Token","id":"041c1ed9-b1d7-49b0-b5a3-d29e8e0b49e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"861414","type":"text"}]},"url":"http://localhost:3000/api/auth/validate-token","urlObject":{"path":["auth","validate-token"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"041c1ed9-b1d7-49b0-b5a3-d29e8e0b49e7"},{"name":"Update - Password","id":"d68c2872-f8ba-4664-a38d-95ccf63f55ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"holahola","type":"text"},{"key":"password_confirmation","value":"holahola","type":"text"}]},"url":"http://localhost:3000/api/auth/update-password/744451","urlObject":{"path":["auth","update-password","744451"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d68c2872-f8ba-4664-a38d-95ccf63f55ed"},{"name":"Get Auth - User","id":"9aadca64-48fc-40a8-b57b-ff735bbf6338","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/auth/user","urlObject":{"path":["auth","user"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"692543e3-f93a-40eb-bb8d-731b420b1936","name":"Token expires","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/auth/user"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"27"},{"key":"ETag","value":"W/\"1b-7+ofOlI6YsSfdYY2si9TkRf/dMQ\""},{"key":"Date","value":"Sun, 18 Aug 2024 17:53:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Token not valid\"\n}"}],"_postman_id":"9aadca64-48fc-40a8-b57b-ff735bbf6338"},{"name":"Update Profile","id":"72203796-88c2-4e67-9625-46535057b385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"josefer.hdezaUpdated@hotmail.com","type":"text"},{"key":"name","value":"Fernando actualizado!","type":"text"}]},"url":"http://localhost:3000/api/auth/profile","urlObject":{"path":["auth","profile"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"dad9497e-0837-4590-9d8d-baa058a04359","name":"Unauthorized","originalRequest":{"method":"PUT","header":[],"url":"http://localhost:3000/api/auth/profile"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:14:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"3c384784-ad2f-45cc-aa2f-20c3c13ed67c","name":"Missing data","originalRequest":{"method":"PUT","header":[],"url":"http://localhost:3000/api/auth/profile"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"25"},{"key":"ETag","value":"W/\"19-isCviK9mcOE0uAFkOq6VZ7kECJU\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:14:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Missing email\"\n}"},{"id":"639a8973-40d6-4e96-88d9-f83d23e25a36","name":"Email not valid","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"fdsafdsaf","type":"text"},{"key":"name","value":"Fernando actualizado!","type":"text"}]},"url":"http://localhost:3000/api/auth/profile"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"30"},{"key":"ETag","value":"W/\"1e-8pW44JwMDVjsyERRen6p+pjNImI\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:15:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Email is not valid\"\n}"},{"id":"000fc86d-7e20-41ea-b1ce-604aa53c8eb7","name":"Email is already registered","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"jose.hernandez228841@potros.itson.edu.mx","type":"text"},{"key":"name","value":"Fernando actualizado!","type":"text"}]},"url":"http://localhost:3000/api/auth/profile"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"39"},{"key":"ETag","value":"W/\"27-Nu42EHCma67NuR3q8UmQ1ieWUJ4\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:16:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Email is already registered\"\n}"},{"id":"550a5ac2-441f-4c20-9b4d-b6954ae60ad8","name":"Profile updated successfully","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"josefer.hdezaUpdated@hotmail.com","type":"text"},{"key":"name","value":"Fernando actualizado!","type":"text"}]},"url":"http://localhost:3000/api/auth/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"38"},{"key":"ETag","value":"W/\"26-s/dwq56qRDDkzHIqQ2Vd59vefiU\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:17:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Profile updated successfully\"\n}"}],"_postman_id":"72203796-88c2-4e67-9625-46535057b385"},{"name":"Change Password","id":"91be093e-bb8b-41d8-a669-86032d7f765e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"current_password","value":"adminupdated","type":"text"},{"key":"password","value":"adminadmin","type":"text"},{"key":"password_confirmation","value":"adminadmin","type":"text"}]},"url":"http://localhost:3000/api/auth/update-password","urlObject":{"path":["auth","update-password"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"d20ea97a-52b2-4559-a0be-f803e20c7280","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3000/api/auth/update-password"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:39:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"751aca7c-b1d1-489d-b093-1f0848658942","name":"Missing data","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:3000/api/auth/update-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28"},{"key":"ETag","value":"W/\"1c-NmpazMScs9tOqR7eDEesn+pqC9Q\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:39:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Missing password\"\n}"},{"id":"0881de01-3a07-410b-ad7e-98d6f394b045","name":"Pass to short","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"current_password","value":"adminupdated","type":"text"},{"key":"password","value":"hola","type":"text"},{"key":"password_confirmation","value":"admin","type":"text"}]},"url":"http://localhost:3000/api/auth/update-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"30"},{"key":"ETag","value":"W/\"1e-Cgr1TKKcbCo+IiHGWrgcrRPy7DY\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:40:34 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Password too short\"\n}"},{"id":"1c7d4638-cdc5-4ced-aa46-81c5cfeee5b5","name":"Current password incorrect","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"current_password","value":"adminupdated","type":"text"},{"key":"password","value":"holahola","type":"text"},{"key":"password_confirmation","value":"adminadmin","type":"text"}]},"url":"http://localhost:3000/api/auth/update-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-StFF4uR4/gDeuoZauy54cMgIoGk\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:40:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Current Password is incorrect\"\n}"},{"id":"65bca200-7406-448b-9dc9-55f8d630be32","name":"Password not match","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"current_password","value":"adminupdated","type":"text"},{"key":"password","value":"adminupdated","type":"text"},{"key":"password_confirmation","value":"adminadmin","type":"text"}]},"url":"http://localhost:3000/api/auth/update-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"ETag","value":"W/\"36-0kJejiWGDBjD4KYE+QR81sZUM3Y\""},{"key":"Date","value":"Wed, 21 Aug 2024 06:44:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Password & Password Confirmation not match\"\n}"}],"_postman_id":"91be093e-bb8b-41d8-a669-86032d7f765e"},{"name":"Check Password","id":"26dff7e5-93c4-45ff-ac31-7e6250e79fa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"adminadmin","type":"text"}]},"url":"http://localhost:3000/api/auth/check-password","urlObject":{"path":["auth","check-password"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"7a0f4ed1-8fa3-461f-8f67-8a443faa14f1","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3000/api/auth/check-password"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Wed, 21 Aug 2024 07:29:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"1c709051-772c-445e-a4d1-1da398f9397e","name":"Missing Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:3000/api/auth/check-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28"},{"key":"ETag","value":"W/\"1c-NmpazMScs9tOqR7eDEesn+pqC9Q\""},{"key":"Date","value":"Wed, 21 Aug 2024 07:29:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Missing password\"\n}"},{"id":"0499854c-489e-4597-ab5e-33904af310d8","name":"Password too short","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"pass","type":"text"}]},"url":"http://localhost:3000/api/auth/check-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"30"},{"key":"ETag","value":"W/\"1e-Cgr1TKKcbCo+IiHGWrgcrRPy7DY\""},{"key":"Date","value":"Wed, 21 Aug 2024 07:30:31 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Password too short\"\n}"},{"id":"d6cf9efc-c2bd-481a-8b8e-0d345efefe0d","name":"Incorrect password","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"password","type":"text"}]},"url":"http://localhost:3000/api/auth/check-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"30"},{"key":"ETag","value":"W/\"1e-yI8lx7vbpwW+EkxfwKSKzu8+B/0\""},{"key":"Date","value":"Wed, 21 Aug 2024 07:30:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Incorrect Password\"\n}"},{"id":"630cae02-4472-4715-9045-18e63cfcd82d","name":"Correct Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"adminadmin","type":"text"}]},"url":"http://localhost:3000/api/auth/check-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"ETag","value":"W/\"1a-nDTi63PnpcnoAXeQsBgPkFKENPA\""},{"key":"Date","value":"Wed, 21 Aug 2024 07:31:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Correct Password\"\n}"}],"_postman_id":"26dff7e5-93c4-45ff-ac31-7e6250e79fa7"}],"id":"b9d96979-9fa1-4b4b-bc64-e26be5aa5b07","_postman_id":"b9d96979-9fa1-4b4b-bc64-e26be5aa5b07","description":""},{"name":"Team","item":[{"name":"Find Email","id":"30054900-b84a-4388-b11d-18100f151f88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"jose.hernandez228841@potros.itson.edu.mx","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team/find","urlObject":{"path":["projects","66c236b26a8a892c8a1b7e7a","team","find"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"bba57e72-6a84-435a-aad4-0621a4adc712","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team/find"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:23:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"f367d38b-6a10-44ad-9a82-9f95106853ac","name":"Token Expires","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team/find"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"27"},{"key":"ETag","value":"W/\"1b-7+ofOlI6YsSfdYY2si9TkRf/dMQ\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:24:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Token not valid\"\n}"},{"id":"1d991784-449e-4136-9b70-ca05626caaff","name":"Missing email","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team/find"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"25"},{"key":"ETag","value":"W/\"19-isCviK9mcOE0uAFkOq6VZ7kECJU\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:25:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Missing email\"\n}"},{"id":"c04f5377-3fc2-4235-b651-a047187041fc","name":"Email not valid","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"jose.h","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team/find"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"30"},{"key":"ETag","value":"W/\"1e-8pW44JwMDVjsyERRen6p+pjNImI\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:25:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Email is not valid\"\n}"},{"id":"20808c3e-cd97-45e5-825a-3f715cdfc2fd","name":"User with email not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"jose.hernandez228841@potros.itson.edu","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team/find"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"74"},{"key":"ETag","value":"W/\"4a-xMXWZEuAUvBBUPe2HQORFVBteb8\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:26:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"User with email: jose.hernandez228841@potros.itson.edu not found\"\n}"},{"id":"b5bc80f3-8ff3-45ed-a9ef-1107ed51536a","name":"User Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"jose.hernandez228841@potros.itson.edu.mx","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team/find"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"108"},{"key":"ETag","value":"W/\"6c-iqI95IIPptTTLeeN1l4dx/+vscs\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:26:31 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"66b7393f63a2e7a0040211b1\",\n    \"email\": \"jose.hernandez228841@potros.itson.edu.mx\",\n    \"name\": \"Jose Fernando\"\n}"}],"_postman_id":"30054900-b84a-4388-b11d-18100f151f88"},{"name":"Add User","id":"3b2c9afe-10f1-4998-b146-626c25c86b2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"66b7393f63a2e7a0040211b1","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team","urlObject":{"path":["projects","66c236b26a8a892c8a1b7e7a","team"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"c71bcc2e-0e8f-4cfb-8d14-d6c00f5e38ce","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:48:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"38e7433b-34f6-4af8-9f03-5c2c790a2be3","name":"Missing Id","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"ETag","value":"W/\"16-FvmJCoBCsEu0iNuvJZFKqOZBNMU\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:49:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Missing id\"\n}"},{"id":"810c1ffa-70cb-495c-b47c-8c7e1f149208","name":"Id is not mongoId","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"kjdalks87","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"27"},{"key":"ETag","value":"W/\"1b-Jsvf/gCfjZML1RY7PBo8LXgzPXc\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:49:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"id is not valid\"\n}"},{"id":"da0ae954-291e-4dc5-8d84-d7c7472ac86d","name":"User Add Successfully","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"66b7393f63a2e7a0040211b1","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"33"},{"key":"ETag","value":"W/\"21-6VjxJFY9/PJkm/bMZFWYAq/3TTI\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:50:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"User added successfully\"\n}"},{"id":"fae86625-27a2-4970-bb0d-d03d17b06530","name":"User Already Exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"66b7393f63a2e7a0040211b1","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"48"},{"key":"ETag","value":"W/\"30-2QtBPPt/dac2ZsF0juve8SPCm+Y\""},{"key":"Date","value":"Sun, 18 Aug 2024 18:55:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"The user already exists in the project\"\n}"}],"_postman_id":"3b2c9afe-10f1-4998-b146-626c25c86b2c"},{"name":"Remove Member","id":"3f1fccfe-7733-40c8-9d28-e27d4d46b69f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team/66b7393f63a2e7a0040211b1","urlObject":{"path":["projects","66c236b26a8a892c8a1b7e7a","team","66b7393f63a2e7a0040211b1"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"3ce7c340-3bc9-4ff9-8379-01a6d7c43e8c","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Sun, 18 Aug 2024 19:12:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"3a875412-39b7-4675-8fa2-a0f4bf61cbd6","name":"Id is not MongoId","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"312321","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"27"},{"key":"ETag","value":"W/\"1b-Jsvf/gCfjZML1RY7PBo8LXgzPXc\""},{"key":"Date","value":"Sun, 18 Aug 2024 19:13:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"id is not valid\"\n}"},{"id":"c38dcd08-bea4-4b22-b6a4-598704ad4b58","name":"Member Remove Successfully","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"66b7393f63a2e7a0040211b1","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"51"},{"key":"ETag","value":"W/\"33-9Q0FKRS+YkHvDZKg0wncgT6/jgM\""},{"key":"Date","value":"Sun, 18 Aug 2024 19:13:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Member removed from the team successfully\"\n}"},{"id":"9b6113d1-030d-40f1-affe-950c2902e8cf","name":"Member does not exists","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"66b7393f63a2e7a0040211b1","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"49"},{"key":"ETag","value":"W/\"31-YzeVXk2QU+9CczWWHGRfqp5Dr9A\""},{"key":"Date","value":"Sun, 18 Aug 2024 19:13:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"The user does not exists in the project\"\n}"}],"_postman_id":"3f1fccfe-7733-40c8-9d28-e27d4d46b69f"},{"name":"Get Team","id":"4df330ea-c6f9-4868-a2ba-984160810308","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team","urlObject":{"path":["projects","66c236b26a8a892c8a1b7e7a","team"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"7f7ba476-9e87-4c85-a0cc-15eef16cee3d","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Sun, 18 Aug 2024 19:28:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"5e413e9d-8a34-4339-935a-e4c783a54e19","name":"Get Team Member","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/team"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-GikF9ANIEOegaSIT4AgWk/lHUv4\""},{"key":"Date","value":"Sun, 18 Aug 2024 19:36:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"team\": [\n        {\n            \"_id\": \"66b7393f63a2e7a0040211b1\",\n            \"email\": \"jose.hernandez228841@potros.itson.edu.mx\",\n            \"name\": \"Jose Fernando\"\n        }\n    ]\n}"}],"_postman_id":"4df330ea-c6f9-4868-a2ba-984160810308"}],"id":"5196de39-c99c-4978-9329-75a177b5d983","_postman_id":"5196de39-c99c-4978-9329-75a177b5d983","description":""},{"name":"Note","item":[{"name":"Create Note","id":"0abdd2f1-9479-4d8d-add6-3273ef5416e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"content","value":"New Comment for this note","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes","urlObject":{"path":["projects","66c236b26a8a892c8a1b7e7a","tasks","66c2b170c9fde42b7148ad31","notes"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"887164c5-a61a-4e7c-9db4-06e54c7f2390","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/note"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Mon, 19 Aug 2024 02:45:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"dc687505-574a-435b-bf0a-9f259b4108ca","name":"Missing Content","originalRequest":{"method":"POST","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"27"},{"key":"ETag","value":"W/\"1b-gdNnH3uX6exmg5O8+GCduXbW80w\""},{"key":"Date","value":"Mon, 19 Aug 2024 02:46:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Missing content\"\n}"},{"id":"a9f519c8-4793-47df-b8fb-ec73ea58f96c","name":"Note Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"content","value":"New Comment for this note","type":"text"}]},"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"35"},{"key":"ETag","value":"W/\"23-+dtCTHm3W12A64P1Q7LPrnWrzi0\""},{"key":"Date","value":"Mon, 19 Aug 2024 02:53:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Note created successfully\"\n}"}],"_postman_id":"0abdd2f1-9479-4d8d-add6-3273ef5416e8"},{"name":"Get Notes","id":"f5e75f70-19a0-4133-bf94-371f5a90d569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes","urlObject":{"path":["projects","66c236b26a8a892c8a1b7e7a","tasks","66c2b170c9fde42b7148ad31","notes"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"1412f268-cf97-413f-aade-6b9b45c05a2c","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Mon, 19 Aug 2024 02:54:13 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"055f8faf-1370-4fc2-83ad-2b4111def40d","name":"Get Notes Successfully","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"692"},{"key":"ETag","value":"W/\"2b4-TIxqDoZfnCV0boYifet7dO4az2U\""},{"key":"Date","value":"Mon, 19 Aug 2024 02:54:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"66c2b21bc9fde42b7148ad43\",\n        \"content\": \"Nueva nota para tarea\",\n        \"createdBy\": \"66c1b1c3d39b0add18efb80e\",\n        \"task\": \"66c2b170c9fde42b7148ad31\",\n        \"createdAt\": \"2024-08-19T02:46:51.672Z\",\n        \"updatedAt\": \"2024-08-19T02:46:51.672Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"66c2b3a611484af81f635799\",\n        \"content\": \"Nueva nota para tarea v2\",\n        \"createdBy\": \"66c1b1c3d39b0add18efb80e\",\n        \"task\": \"66c2b170c9fde42b7148ad31\",\n        \"createdAt\": \"2024-08-19T02:53:26.648Z\",\n        \"updatedAt\": \"2024-08-19T02:53:26.648Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"66c2b3c011484af81f63579f\",\n        \"content\": \"New Comment for this note\",\n        \"createdBy\": \"66c1b1c3d39b0add18efb80e\",\n        \"task\": \"66c2b170c9fde42b7148ad31\",\n        \"createdAt\": \"2024-08-19T02:53:52.863Z\",\n        \"updatedAt\": \"2024-08-19T02:53:52.863Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"f5e75f70-19a0-4133-bf94-371f5a90d569"},{"name":"Delete Note","id":"e08c0f3e-292c-48ec-9542-f29657cb040b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes/66c2b3a611484af81f635799","urlObject":{"path":["projects","66c236b26a8a892c8a1b7e7a","tasks","66c2b170c9fde42b7148ad31","notes","66c2b3a611484af81f635799"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"2d4fb1b5-500f-4e10-b8ee-7658eccb1e6f","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes/66c2b3a611484af81f635799"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"24"},{"key":"ETag","value":"W/\"18-XPDV80vbMk4yY1/PADG4jYM4rSI\""},{"key":"Date","value":"Mon, 19 Aug 2024 03:24:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"525ccbae-d49d-4625-b633-35a728d16c98","name":"Action not valid","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes/66c2b3a611484af81f635799"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28"},{"key":"ETag","value":"W/\"1c-I/t74BgQIIjFe3apJB+KCtz5CF0\""},{"key":"Date","value":"Mon, 19 Aug 2024 03:32:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Action not valid\"\n}"},{"id":"75409944-f254-4ecd-93b3-8509c4ec5d97","name":"Note Deleted","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/projects/66c236b26a8a892c8a1b7e7a/tasks/66c2b170c9fde42b7148ad31/notes/66c2b3a611484af81f635799"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"ETag","value":"W/\"16-j3dTK/KX9s3iYAoYsW+93mEqDDY\""},{"key":"Date","value":"Mon, 19 Aug 2024 03:35:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"Note deleted\"\n}"}],"_postman_id":"e08c0f3e-292c-48ec-9542-f29657cb040b"}],"id":"1961fbc3-3b5b-4c67-b725-64d5804ef3e7","_postman_id":"1961fbc3-3b5b-4c67-b725-64d5804ef3e7","description":""}],"event":[{"listen":"prerequest","script":{"id":"8b1adff6-b7cb-43c4-90d9-19b2619dbea8","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"2d0001a0-7ee8-4771-bc08-540e06547525","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"API_URL","value":"http://localhost:3000/api","type":"string"}]}