{"info":{"_postman_id":"794e64bb-c82a-46bb-802b-7d037ccfa1e6","name":"Notes-App","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"50840769","collectionId":"794e64bb-c82a-46bb-802b-7d037ccfa1e6","publishedId":"2sBXqCR5Cx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-16T13:04:14.000Z"},"item":[{"name":"POST-Create a single note","id":"6ec467ea-db7c-44a8-a437-970d47975834","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"5ede41b8-c986-48aa-b408-0fc22d7e7ce9","name":"POST-Create a single note","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Team standup agenda\",\r\n  \"content\": \"Discuss sprint blockers and deployment plan\",\r\n  \"category\": \"work\",\r\n  \"isPinned\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/notes"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"302"},{"key":"ETag","value":"W/\"12e-WZlk3QQoV0tMV2mF6IzXMQtiVFk\""},{"key":"Date","value":"Thu, 16 Apr 2026 12:40:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Note created successfully\",\n    \"data\": {\n        \"title\": \"Team standup agenda\",\n        \"content\": \"Discuss sprint blockers and deployment plan\",\n        \"category\": \"work\",\n        \"isPinned\": true,\n        \"_id\": \"69e0d8ce8b5598f3c8f5921c\",\n        \"createdAt\": \"2026-04-16T12:40:46.482Z\",\n        \"updatedAt\": \"2026-04-16T12:40:46.482Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"6ec467ea-db7c-44a8-a437-970d47975834"},{"name":"GET - Create multiple notes at once","id":"aec75dac-1c14-4c38-b4f9-d087267cd5c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"ab02481a-d806-4c98-8a15-1dbe07df8a15","name":"GET - Create multiple notes at once","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/notes"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"305"},{"key":"ETag","value":"W/\"131-6q2l+nhEek5JWWDnG57s8RO77yk\""},{"key":"Date","value":"Thu, 16 Apr 2026 12:41:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Notes fetched successfully\",\n    \"data\": [\n        {\n            \"_id\": \"69e0d8ce8b5598f3c8f5921c\",\n            \"title\": \"Team standup agenda\",\n            \"content\": \"Discuss sprint blockers and deployment plan\",\n            \"category\": \"work\",\n            \"isPinned\": true,\n            \"createdAt\": \"2026-04-16T12:40:46.482Z\",\n            \"updatedAt\": \"2026-04-16T12:40:46.482Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"aec75dac-1c14-4c38-b4f9-d087267cd5c6"},{"name":"POST - Create multiple notes at once","id":"c399852a-52a5-4bd2-9fd3-7b1a5fea68b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"922e05ba-5421-4506-b5d9-4fbb51b936a7","name":"POST - Create multiple notes at once","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"notes\": [\r\n    { \"title\": \"Note one\",   \"content\": \"Content one\",   \"category\": \"work\"     },\r\n    { \"title\": \"Note two\",   \"content\": \"Content two\",   \"category\": \"study\"    },\r\n    { \"title\": \"Note three\", \"content\": \"Content three\", \"category\": \"personal\" }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/notes/bulk"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"672"},{"key":"ETag","value":"W/\"2a0-2LbatEdo4PlDcEL2zKLJ35byK3U\""},{"key":"Date","value":"Thu, 16 Apr 2026 12:43:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"3 notes created successfully\",\n    \"data\": [\n        {\n            \"title\": \"Note one\",\n            \"content\": \"Content one\",\n            \"category\": \"work\",\n            \"isPinned\": false,\n            \"_id\": \"69e0d95a8b5598f3c8f5921d\",\n            \"__v\": 0,\n            \"createdAt\": \"2026-04-16T12:43:06.045Z\",\n            \"updatedAt\": \"2026-04-16T12:43:06.045Z\"\n        },\n        {\n            \"title\": \"Note two\",\n            \"content\": \"Content two\",\n            \"category\": \"study\",\n            \"isPinned\": false,\n            \"_id\": \"69e0d95a8b5598f3c8f5921e\",\n            \"__v\": 0,\n            \"createdAt\": \"2026-04-16T12:43:06.046Z\",\n            \"updatedAt\": \"2026-04-16T12:43:06.046Z\"\n        },\n        {\n            \"title\": \"Note three\",\n            \"content\": \"Content three\",\n            \"category\": \"personal\",\n            \"isPinned\": false,\n            \"_id\": \"69e0d95a8b5598f3c8f5921f\",\n            \"__v\": 0,\n            \"createdAt\": \"2026-04-16T12:43:06.046Z\",\n            \"updatedAt\": \"2026-04-16T12:43:06.046Z\"\n        }\n    ]\n}"}],"_postman_id":"c399852a-52a5-4bd2-9fd3-7b1a5fea68b0"},{"name":"GET Get a single note by ID","id":"25984602-894a-4047-b840-3dc5660aefa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"aea1362f-d68b-4790-9de7-9e990fa65fcf","name":"GET Get a single note by ID","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/notes/69e0d8ce8b5598f3c8f5921c"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"302"},{"key":"ETag","value":"W/\"12e-C69nytJQoLuqYKK/i78TK4oEGBE\""},{"key":"Date","value":"Thu, 16 Apr 2026 12:44:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Note fetched successfully\",\n    \"data\": {\n        \"_id\": \"69e0d8ce8b5598f3c8f5921c\",\n        \"title\": \"Team standup agenda\",\n        \"content\": \"Discuss sprint blockers and deployment plan\",\n        \"category\": \"work\",\n        \"isPinned\": true,\n        \"createdAt\": \"2026-04-16T12:40:46.482Z\",\n        \"updatedAt\": \"2026-04-16T12:40:46.482Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"25984602-894a-4047-b840-3dc5660aefa8"},{"name":"PUT -  Replace a note completely","id":"575bfdf3-fa42-4d78-ab04-4e32bf7d46de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"cac27c12-cbbe-4b8e-9afd-5f287fcc926e","name":"PUT -  Replace a note completely","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":" {\r\n            \"title\": \"Team standup agenda Updated\",\r\n            \"content\": \"Discuss sprint blockers and deployment plan updated\"\r\n            \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/notes/69e0d8ce8b5598f3c8f5921c"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"319"},{"key":"ETag","value":"W/\"13f-Op+IOCwHJjgIswfilf3ppnoEOF4\""},{"key":"Date","value":"Thu, 16 Apr 2026 12:49:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Note replaced successfully\",\n    \"data\": {\n        \"_id\": \"69e0d8ce8b5598f3c8f5921c\",\n        \"title\": \"Team standup agenda Updated\",\n        \"content\": \"Discuss sprint blockers and deployment plan updated\",\n        \"category\": \"work\",\n        \"isPinned\": true,\n        \"createdAt\": \"2026-04-16T12:40:46.482Z\",\n        \"updatedAt\": \"2026-04-16T12:49:38.382Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"575bfdf3-fa42-4d78-ab04-4e32bf7d46de"},{"name":"GET - Update specific fields only","id":"1484d062-c25c-49df-8974-344a5faf610e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"aac51e0c-b8d5-4897-8749-e6e2ddd46eea","name":"PATCH - Update specific fields only","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"isPinned\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/notes/69e0d8ce8b5598f3c8f5921c"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"318"},{"key":"ETag","value":"W/\"13e-lHfTKkrjSC2/g1h/DrgPkaC6cBM\""},{"key":"Date","value":"Thu, 16 Apr 2026 12:53:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Note updated successfully\",\n    \"data\": {\n        \"_id\": \"69e0d8ce8b5598f3c8f5921c\",\n        \"title\": \"Team standup agenda Updated\",\n        \"content\": \"Discuss sprint blockers and deployment plan updated\",\n        \"category\": \"work\",\n        \"isPinned\": true,\n        \"createdAt\": \"2026-04-16T12:40:46.482Z\",\n        \"updatedAt\": \"2026-04-16T12:53:09.706Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"1484d062-c25c-49df-8974-344a5faf610e"},{"name":"DELETE - Delete a single note","id":"d36f6312-5e69-42ea-bbcf-132f995beb32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"730af047-a887-442e-aaa7-935547bbc63f","name":"DELETE - Delete a single note","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/notes/69e0d8ce8b5598f3c8f5921c"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"66"},{"key":"ETag","value":"W/\"42-RW7uFP1XrWJWLEvic7cWVb1sNh0\""},{"key":"Date","value":"Thu, 16 Apr 2026 12:55:13 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Note deleted successfully\",\n    \"data\": null\n}"}],"_postman_id":"d36f6312-5e69-42ea-bbcf-132f995beb32"},{"name":"DELETE - delete multiple","id":"83cae4bf-6035-46b6-8ec2-5518100af89d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"47b5a6e5-9a25-4dbb-a176-0f51113ff941","name":"DELETE - delete multiple","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"ids\": [\r\n    \"64b1f2c3e4d5a6b7c8d9e0f1\",\r\n    \"64b1f2c3e4d5a6b7c8d9e0f2\"\r\n  ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/notes/bulk"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"69"},{"key":"ETag","value":"W/\"45-+CDc0WsmCNdTvGevJcjlFwkf300\""},{"key":"Date","value":"Thu, 16 Apr 2026 12:56:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"0 notes deleted successfully\",\n    \"data\": null\n}"}],"_postman_id":"83cae4bf-6035-46b6-8ec2-5518100af89d"}]}