{"info":{"_postman_id":"cb1cabb4-9bd3-4536-b618-0ef34d70c614","name":"CommunityReach API","description":"<html><head></head><body><p><em>Collection of APIs containing all the server requests that can be made to the Community reach backend.</em></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"22249059","collectionId":"cb1cabb4-9bd3-4536-b618-0ef34d70c614","publishedId":"2s93Y3w2CZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-04-22T11:18:51.000Z"},"item":[{"name":"Communities","item":[{"name":"create new community","id":"69f49bb6-6152-409b-8cd4-07ef1ae52649","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"UI UX developers\",\r\n    \"userId\": \"6443b8d8d544df6cbd32f04f\",\r\n    \"coverPic\": \"p3.jpg\",\r\n    \"about\": \"Coding community for Frontend Peeps\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/comms","urlObject":{"protocol":"http","port":"3001","path":["comms"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7cecd0fe-a8f2-40ad-a270-da6a545752ca","name":"create new comm","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"UI UX developers\",\r\n    \"userId\": \"6443b8d8d544df6cbd32f04f\",\r\n    \"coverPic\": \"p3.jpg\",\r\n    \"about\": \"Coding community for Frontend Peeps\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/comms"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1309"},{"key":"ETag","value":"W/\"51d-pZ/9meJ84tnqqYQibgCR4+nYUNY\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:49:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6442940e525a382407f865cd\",\n        \"name\": \"JUET coders\",\n        \"userId\": \"644291fbfe40ce8dc23c2467\",\n        \"createdBy\": \"vivek\",\n        \"coverPic\": \"p2.jpg\",\n        \"members\": [\n            \"644291fbfe40ce8dc23c2467\",\n            \"6442cb92d9e9cf9b8e9d9d33\",\n            \"644291d8fe40ce8dc23c2465\"\n        ],\n        \"posts\": [\n            \"6442dec5a5296b8f9e0d0f1d\",\n            \"6442df39a5296b8f9e0d0f25\",\n            \"6442e1e80c08d0bdcc85e4cb\"\n        ],\n        \"about\": \"Coding community for students of juet guna. All branches and all years are welcome.\",\n        \"createdAt\": \"2023-04-21T13:47:58.903Z\",\n        \"updatedAt\": \"2023-04-21T19:20:08.431Z\",\n        \"__v\": 4\n    },\n    {\n        \"_id\": \"6442c935d6412930252020a5\",\n        \"name\": \"MERN stack developers\",\n        \"userId\": \"644291d8fe40ce8dc23c2465\",\n        \"createdBy\": \"ankur\",\n        \"coverPic\": \"p3.jpg\",\n        \"members\": [\n            \"644291d8fe40ce8dc23c2465\",\n            \"6442cb92d9e9cf9b8e9d9d33\",\n            \"644291fbfe40ce8dc23c2467\"\n        ],\n        \"posts\": [\n            \"6442dddfa5296b8f9e0d0f16\",\n            \"6442dffe1b0a0dd9c5be9d64\",\n            \"6442e1c10c08d0bdcc85e4c4\",\n            \"6443baafd544df6cbd32f065\"\n        ],\n        \"about\": \"Coding community for MERN stack developers.\",\n        \"createdAt\": \"2023-04-21T17:34:45.506Z\",\n        \"updatedAt\": \"2023-04-22T10:45:03.349Z\",\n        \"__v\": 6\n    },\n    {\n        \"_id\": \"6443bbcad544df6cbd32f06c\",\n        \"name\": \"UI UX developers\",\n        \"userId\": \"6443b8d8d544df6cbd32f04f\",\n        \"createdBy\": \"ayush\",\n        \"coverPic\": \"p3.jpg\",\n        \"members\": [\n            \"6443b8d8d544df6cbd32f04f\"\n        ],\n        \"posts\": [],\n        \"about\": \"Coding community for Frontend Peeps\",\n        \"createdAt\": \"2023-04-22T10:49:46.638Z\",\n        \"updatedAt\": \"2023-04-22T10:49:46.638Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"69f49bb6-6152-409b-8cd4-07ef1ae52649"},{"name":"add or remove a community","id":"284bcb85-6c38-4942-be27-1933fe0b39e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"url":"http://localhost:3001/users/6443b8d8d544df6cbd32f04f/6442940e525a382407f865cd","urlObject":{"protocol":"http","port":"3001","path":["users","6443b8d8d544df6cbd32f04f","6442940e525a382407f865cd"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4af88c4e-370a-4725-aa39-5651334bd09b","name":"add or remove a comm","originalRequest":{"method":"PATCH","header":[],"url":"http://localhost:3001/users/6443b8d8d544df6cbd32f04f/6442940e525a382407f865cd"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"338"},{"key":"ETag","value":"W/\"152-KTcnPEaMd0PAKd3wIsIgJv///Zg\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:51:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6443bbcad544df6cbd32f06c\",\n        \"name\": \"UI UX developers\",\n        \"createdBy\": \"ayush\",\n        \"coverPic\": \"p3.jpg\",\n        \"about\": \"Coding community for Frontend Peeps\"\n    },\n    {\n        \"_id\": \"6442940e525a382407f865cd\",\n        \"name\": \"JUET coders\",\n        \"createdBy\": \"vivek\",\n        \"coverPic\": \"p2.jpg\",\n        \"about\": \"Coding community for students of juet guna. All branches and all years are welcome.\"\n    }\n]"}],"_postman_id":"284bcb85-6c38-4942-be27-1933fe0b39e9"},{"name":"get all communities","id":"b5d1ecc4-009c-45de-b715-52e88bbb4ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/comms","urlObject":{"protocol":"http","port":"3001","path":["comms"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7db986ac-769d-404a-ad46-213e71207cb6","name":"get all communities","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/comms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"963"},{"key":"ETag","value":"W/\"3c3-lteOsl+n+gkPIE1oqgDpO3YO7d8\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:31:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6442940e525a382407f865cd\",\n        \"name\": \"JUET coders\",\n        \"userId\": \"644291fbfe40ce8dc23c2467\",\n        \"createdBy\": \"vivek\",\n        \"coverPic\": \"p2.jpg\",\n        \"members\": [\n            \"644291fbfe40ce8dc23c2467\",\n            \"6442cb92d9e9cf9b8e9d9d33\",\n            \"644291d8fe40ce8dc23c2465\"\n        ],\n        \"posts\": [\n            \"6442dec5a5296b8f9e0d0f1d\",\n            \"6442df39a5296b8f9e0d0f25\",\n            \"6442e1e80c08d0bdcc85e4cb\"\n        ],\n        \"about\": \"Coding community for students of juet guna. All branches and all years are welcome.\",\n        \"createdAt\": \"2023-04-21T13:47:58.903Z\",\n        \"updatedAt\": \"2023-04-21T19:20:08.431Z\",\n        \"__v\": 4\n    },\n    {\n        \"_id\": \"6442c935d6412930252020a5\",\n        \"name\": \"MERN stack developers\",\n        \"userId\": \"644291d8fe40ce8dc23c2465\",\n        \"createdBy\": \"ankur\",\n        \"coverPic\": \"p3.jpg\",\n        \"members\": [\n            \"644291d8fe40ce8dc23c2465\",\n            \"6442cb92d9e9cf9b8e9d9d33\",\n            \"644291fbfe40ce8dc23c2467\"\n        ],\n        \"posts\": [\n            \"6442dddfa5296b8f9e0d0f16\",\n            \"6442dffe1b0a0dd9c5be9d64\",\n            \"6442e1c10c08d0bdcc85e4c4\"\n        ],\n        \"about\": \"Coding community for MERN stack developers.\",\n        \"createdAt\": \"2023-04-21T17:34:45.506Z\",\n        \"updatedAt\": \"2023-04-21T19:19:29.264Z\",\n        \"__v\": 5\n    }\n]"}],"_postman_id":"b5d1ecc4-009c-45de-b715-52e88bbb4ea2"},{"name":"get community's details","id":"9479bcaa-e4a8-4d2a-b87b-f3f3ecb6573d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/comms/6442940e525a382407f865cd","urlObject":{"protocol":"http","port":"3001","path":["comms","6442940e525a382407f865cd"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ddf32df5-8a03-44c3-aed7-548c85f665d1","name":"get community's details","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/comms/6442940e525a382407f865cd"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"495"},{"key":"ETag","value":"W/\"1ef-c9SoEsSikX3II0yU2d+v8Uez+aM\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:32:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6442940e525a382407f865cd\",\n    \"name\": \"JUET coders\",\n    \"userId\": \"644291fbfe40ce8dc23c2467\",\n    \"createdBy\": \"vivek\",\n    \"coverPic\": \"p2.jpg\",\n    \"members\": [\n        \"644291fbfe40ce8dc23c2467\",\n        \"6442cb92d9e9cf9b8e9d9d33\",\n        \"644291d8fe40ce8dc23c2465\"\n    ],\n    \"posts\": [\n        \"6442dec5a5296b8f9e0d0f1d\",\n        \"6442df39a5296b8f9e0d0f25\",\n        \"6442e1e80c08d0bdcc85e4cb\"\n    ],\n    \"about\": \"Coding community for students of juet guna. All branches and all years are welcome.\",\n    \"createdAt\": \"2023-04-21T13:47:58.903Z\",\n    \"updatedAt\": \"2023-04-21T19:20:08.431Z\",\n    \"__v\": 4\n}"}],"_postman_id":"9479bcaa-e4a8-4d2a-b87b-f3f3ecb6573d"},{"name":"get community's all members","id":"2905060d-2f87-4662-b606-ef32390a1a06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/comms/6442940e525a382407f865cd/members","urlObject":{"protocol":"http","port":"3001","path":["comms","6442940e525a382407f865cd","members"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9d4c2811-e13f-403d-b725-c8d7cc5af9a5","name":"get community's all members","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/comms/6442940e525a382407f865cd/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1351"},{"key":"ETag","value":"W/\"547-EGX4MbVf+Ab+qHUy9lSt5OYC9ZQ\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:33:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"644291d8fe40ce8dc23c2465\",\n        \"name\": \"ankur\",\n        \"email\": \"ankur@gmail.com\",\n        \"password\": \"$2b$10$cMKXSYw1nA6/pf0gM4VSMuSa1EECQKYHEmWVUJk28v6K72P7E28bm\",\n        \"picturePath\": \"p12.jpg\",\n        \"communities\": [\n            \"6442c935d6412930252020a5\",\n            \"6442940e525a382407f865cd\"\n        ],\n        \"bookmarks\": [],\n        \"location\": \"Patna, Bihar\",\n        \"bio\": \"cse student\",\n        \"contributions\": 0,\n        \"createdAt\": \"2023-04-21T13:38:32.410Z\",\n        \"updatedAt\": \"2023-04-21T17:34:45.518Z\",\n        \"__v\": 1\n    },\n    {\n        \"_id\": \"644291fbfe40ce8dc23c2467\",\n        \"name\": \"vivek\",\n        \"email\": \"vivek@gmail.com\",\n        \"password\": \"$2b$10$6YcYi9ZPLbhe0Qvd3utfI.U8GYzJGgJo8S4LkDxLzJ85uUzogwBdS\",\n        \"picturePath\": \"p1.jpg\",\n        \"communities\": [\n            \"6442940e525a382407f865cd\",\n            \"6442c935d6412930252020a5\"\n        ],\n        \"bookmarks\": [\n            \"6442dddfa5296b8f9e0d0f16\"\n        ],\n        \"location\": \"sitamarhi, Bihar\",\n        \"bio\": \"cse student\",\n        \"contributions\": 0,\n        \"createdAt\": \"2023-04-21T13:39:07.813Z\",\n        \"updatedAt\": \"2023-04-21T20:02:35.193Z\",\n        \"__v\": 3\n    },\n    {\n        \"_id\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"name\": \"snehel\",\n        \"email\": \"snehel@gmail.com\",\n        \"password\": \"$2b$10$mhsGKe3f4Z.76pPv/Z84ke0okIB9dO3WecF6LSDXln0/P3s6wmpOe\",\n        \"picturePath\": \"p5.jpg\",\n        \"communities\": [\n            \"6442940e525a382407f865cd\",\n            \"6442c935d6412930252020a5\"\n        ],\n        \"bookmarks\": [\n            \"6442dddfa5296b8f9e0d0f16\",\n            \"6442e1e80c08d0bdcc85e4cb\",\n            \"6442dffe1b0a0dd9c5be9d64\"\n        ],\n        \"location\": \"Patna, Bihar\",\n        \"bio\": \"CSE student at JUET guna\",\n        \"contributions\": 0,\n        \"createdAt\": \"2023-04-21T17:44:50.332Z\",\n        \"updatedAt\": \"2023-04-22T10:20:34.354Z\",\n        \"__v\": 5\n    }\n]"}],"_postman_id":"2905060d-2f87-4662-b606-ef32390a1a06"},{"name":"get community's all posts","id":"b58223b2-5071-42aa-a35f-0a8a444b08d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/comms/6442940e525a382407f865cd/posts","urlObject":{"protocol":"http","port":"3001","path":["comms","6442940e525a382407f865cd","posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6487a337-3d30-4ba8-8f4e-14f9b86b4e57","name":"get community's all posts","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/comms/6442940e525a382407f865cd/posts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1066"},{"key":"ETag","value":"W/\"42a-CShJ40KinHb654ep37YN0jnofSI\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:35:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6442dec5a5296b8f9e0d0f1d\",\n        \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"username\": \"snehel\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"snehel posts in juet coders\",\n        \"picturePath\": \"p10.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:06:45.033Z\",\n        \"updatedAt\": \"2023-04-21T19:06:45.033Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442df39a5296b8f9e0d0f25\",\n        \"userId\": \"644291d8fe40ce8dc23c2465\",\n        \"username\": \"ankur\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"ankur posts in juet coders\",\n        \"picturePath\": \"p11.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:08:41.633Z\",\n        \"updatedAt\": \"2023-04-21T19:08:41.633Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442e1e80c08d0bdcc85e4cb\",\n        \"userId\": \"644291fbfe40ce8dc23c2467\",\n        \"username\": \"vivek\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"vivek posts in juet coders\",\n        \"picturePath\": \"p15.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:20:08.419Z\",\n        \"updatedAt\": \"2023-04-22T10:20:11.397Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"b58223b2-5071-42aa-a35f-0a8a444b08d2"},{"name":"edit a community","id":"a8f915f8-42c4-42d5-8096-58e7a0612699","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"6443b8d8d544df6cbd32f04f\",\r\n    \"coverPic\": \"p19.jpg\",\r\n    \"about\": \"Community for Frontend peeps\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6001/comms/6443bbcad544df6cbd32f06c","urlObject":{"protocol":"http","port":"6001","path":["comms","6443bbcad544df6cbd32f06c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8f915f8-42c4-42d5-8096-58e7a0612699"}],"id":"7d678ae8-34ed-41d0-bdae-927aeed50bb2","description":"<p><em>Server requests to the APIs containing community related information.</em></p>\n","_postman_id":"7d678ae8-34ed-41d0-bdae-927aeed50bb2"},{"name":"Users","item":[{"name":"register user","id":"06a44062-4af2-4386-b369-5a4768f3c78c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"ayush\",\r\n    \"email\": \"ayush@gmail.com\",\r\n    \"password\": \"123456\",\r\n    \"picturePath\": \"p6.jpg\",\r\n    \"location\": \"Gwalior, MP\",\r\n    \"bio\": \"Junior at JUET guna\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/auth/register","urlObject":{"protocol":"http","port":"3001","path":["auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5f45463e-96eb-4c4c-bd4e-4844fedee164","name":"register user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"ayush\",\r\n    \"email\": \"ayush@gmail.com\",\r\n    \"password\": \"123456\",\r\n    \"picturePath\": \"p6.jpg\",\r\n    \"location\": \"Gwalior, MP\",\r\n    \"bio\": \"Junior at JUET guna\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"361"},{"key":"ETag","value":"W/\"169-w80pCyoB9SnDSTQUFy2H3BQCFps\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:37:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"ayush\",\n    \"email\": \"ayush@gmail.com\",\n    \"password\": \"$2b$10$lJCkDfmMOJLV5Taf4OrI5O6URR.F1ZABg6Eje3S2jvm8zBGxS4vvu\",\n    \"picturePath\": \"p6.jpg\",\n    \"communities\": [],\n    \"bookmarks\": [],\n    \"location\": \"Gwalior, MP\",\n    \"bio\": \"Junior at JUET guna\",\n    \"contributions\": 0,\n    \"_id\": \"6443b8d8d544df6cbd32f04f\",\n    \"createdAt\": \"2023-04-22T10:37:12.506Z\",\n    \"updatedAt\": \"2023-04-22T10:37:12.506Z\",\n    \"__v\": 0\n}"}],"_postman_id":"06a44062-4af2-4386-b369-5a4768f3c78c"},{"name":"login user","id":"7372818c-f886-485d-ac9b-59eb69ad5535","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"ayush@gmail.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6001/auth/login","urlObject":{"protocol":"http","port":"6001","path":["auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1f6be1a6-785c-4c3f-8619-9b76eee134d8","name":"login user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"snehel@gmail.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"590"},{"key":"ETag","value":"W/\"24e-YBK8FTrlnacpC1EAz9Zhz1q1YOk\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:13:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0NDJjYjkyZDllOWNmOWI4ZTlkOWQzMyIsImlhdCI6MTY4MjE1ODQwNX0.7ywwqmX7KgjGuVRW6LvjypU2s229mx1NyfWGxPwb2xE\",\n    \"user\": {\n        \"_id\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"name\": \"snehel\",\n        \"email\": \"snehel@gmail.com\",\n        \"password\": \"$2b$10$mhsGKe3f4Z.76pPv/Z84ke0okIB9dO3WecF6LSDXln0/P3s6wmpOe\",\n        \"picturePath\": \"p5.jpg\",\n        \"communities\": [\n            \"6442940e525a382407f865cd\",\n            \"6442c935d6412930252020a5\"\n        ],\n        \"bookmarks\": [],\n        \"location\": \"Patna, Bihar\",\n        \"bio\": \"CSE student at JUET guna\",\n        \"contributions\": 0,\n        \"createdAt\": \"2023-04-21T17:44:50.332Z\",\n        \"updatedAt\": \"2023-04-21T18:11:07.306Z\",\n        \"__v\": 2\n    }\n}"}],"_postman_id":"7372818c-f886-485d-ac9b-59eb69ad5535"},{"name":"get user's details","id":"4d5aee28-aa28-45f9-bf1d-19db4216eb5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/users/644291d8fe40ce8dc23c2465","urlObject":{"protocol":"http","port":"3001","path":["users","644291d8fe40ce8dc23c2465"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"dbafab4e-8145-4ed8-879b-b0d4197aea69","name":"get user's details","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/users/644291d8fe40ce8dc23c2465"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"408"},{"key":"ETag","value":"W/\"198-dO4t55SlwqJLOTAb1eiqsA/jhJU\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:28:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"644291d8fe40ce8dc23c2465\",\n    \"name\": \"ankur\",\n    \"email\": \"ankur@gmail.com\",\n    \"password\": \"$2b$10$cMKXSYw1nA6/pf0gM4VSMuSa1EECQKYHEmWVUJk28v6K72P7E28bm\",\n    \"picturePath\": \"p12.jpg\",\n    \"communities\": [\n        \"6442c935d6412930252020a5\",\n        \"6442940e525a382407f865cd\"\n    ],\n    \"bookmarks\": [],\n    \"location\": \"Patna, Bihar\",\n    \"bio\": \"cse student\",\n    \"contributions\": 0,\n    \"createdAt\": \"2023-04-21T13:38:32.410Z\",\n    \"updatedAt\": \"2023-04-21T17:34:45.518Z\",\n    \"__v\": 1\n}"}],"_postman_id":"4d5aee28-aa28-45f9-bf1d-19db4216eb5b"},{"name":"get user's all communities","id":"ad10f526-b2d4-403d-961f-40d68c39d6ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:6001/users/6442cb92d9e9cf9b8e9d9d33/comms","urlObject":{"protocol":"http","port":"6001","path":["users","6442cb92d9e9cf9b8e9d9d33","comms"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ab64997d-9315-49d8-80b1-93f149c87d0a","name":"get user's all communities","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/users/6442cb92d9e9cf9b8e9d9d33/comms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"351"},{"key":"ETag","value":"W/\"15f-wqAFMcsJptZlV+7apGebbBrI7dE\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:28:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6442940e525a382407f865cd\",\n        \"name\": \"JUET coders\",\n        \"createdBy\": \"vivek\",\n        \"coverPic\": \"p2.jpg\",\n        \"about\": \"Coding community for students of juet guna. All branches and all years are welcome.\"\n    },\n    {\n        \"_id\": \"6442c935d6412930252020a5\",\n        \"name\": \"MERN stack developers\",\n        \"createdBy\": \"ankur\",\n        \"coverPic\": \"p3.jpg\",\n        \"about\": \"Coding community for MERN stack developers.\"\n    }\n]"}],"_postman_id":"ad10f526-b2d4-403d-961f-40d68c39d6ad"},{"name":"get user's all bookmarks","id":"f3979750-6fea-4812-af9e-1dfe018cb513","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/users/6442cb92d9e9cf9b8e9d9d33/books","urlObject":{"protocol":"http","port":"3001","path":["users","6442cb92d9e9cf9b8e9d9d33","books"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e0c5292f-8bc3-400b-9f9a-a7d2d8f5f56f","name":"get user's all bookmarks","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/users/6442cb92d9e9cf9b8e9d9d33/books"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"745"},{"key":"ETag","value":"W/\"2e9-VckGkt+3Ld0Ak7xTGBig55B8b3k\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:28:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6442dddfa5296b8f9e0d0f16\",\n        \"username\": \"snehel\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"What's MVC architecture in MERN stack\",\n        \"picturePath\": \"p4.jpg\",\n        \"likes\": {\n            \"644291fbfe40ce8dc23c2467\": true\n        },\n        \"bookmarks\": {\n            \"644291fbfe40ce8dc23c2467\": true,\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": []\n    },\n    {\n        \"_id\": \"6442e1e80c08d0bdcc85e4cb\",\n        \"username\": \"vivek\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"vivek posts in juet coders\",\n        \"picturePath\": \"p15.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": []\n    },\n    {\n        \"_id\": \"6442dffe1b0a0dd9c5be9d64\",\n        \"username\": \"ankur\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"ankur posts in MERN stack\",\n        \"picturePath\": \"p11.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": []\n    }\n]"}],"_postman_id":"f3979750-6fea-4812-af9e-1dfe018cb513"},{"name":"get user's all posts","id":"ed5748eb-2e81-4d3a-af2c-338b5afb3b96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:6001/posts/6442cb92d9e9cf9b8e9d9d33/posts","urlObject":{"protocol":"http","port":"6001","path":["posts","6442cb92d9e9cf9b8e9d9d33","posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1b141fc1-0834-4ec7-a98a-01987571d76e","name":"get user's all posts","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/posts/6442cb92d9e9cf9b8e9d9d33/posts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"806"},{"key":"ETag","value":"W/\"326-5M5InOXn+CCNSa8RDiFATQE9Uhk\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:29:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6442dddfa5296b8f9e0d0f16\",\n        \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"username\": \"snehel\",\n        \"commId\": \"6442c935d6412930252020a5\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"What's MVC architecture in MERN stack\",\n        \"picturePath\": \"p4.jpg\",\n        \"likes\": {\n            \"644291fbfe40ce8dc23c2467\": true\n        },\n        \"bookmarks\": {\n            \"644291fbfe40ce8dc23c2467\": true,\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:02:56.005Z\",\n        \"updatedAt\": \"2023-04-22T10:19:32.476Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442dec5a5296b8f9e0d0f1d\",\n        \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"username\": \"snehel\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"snehel posts in juet coders\",\n        \"picturePath\": \"p10.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:06:45.033Z\",\n        \"updatedAt\": \"2023-04-21T19:06:45.033Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"ed5748eb-2e81-4d3a-af2c-338b5afb3b96"},{"name":"http://localhost:6001/users/644291d8fe40ce8dc23c2465/6442c935d6412930252020a5","id":"5274d54b-b537-4973-8be2-c039c28828b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:6001/users/644291d8fe40ce8dc23c2465/6442c935d6412930252020a5","urlObject":{"protocol":"http","port":"6001","path":["users","644291d8fe40ce8dc23c2465","6442c935d6412930252020a5"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5274d54b-b537-4973-8be2-c039c28828b6"}],"id":"94cd8135-e0ed-44d2-b1c6-70831919f1f6","description":"<p><em>Server requests to the APIs containing user related information.</em></p>\n","_postman_id":"94cd8135-e0ed-44d2-b1c6-70831919f1f6"},{"name":"Posts","item":[{"name":"create new post","id":"b2a487fe-3442-4b44-b3c7-e54599ae6746","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Hello world\",\r\n    \"userId\": \"6443b8d8d544df6cbd32f04f\",\r\n    \"picturePath\": \"p2.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6001/posts","urlObject":{"protocol":"http","port":"6001","path":["posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"61ee6b3a-8c32-4fa4-a408-d3e70ed8d1c3","name":"create new post","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Let's talk about JWT authentication\",\r\n    \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\r\n    \"picturePath\": \"p15.jpg\",\r\n    \"commName\": \"MERN stack developers\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/posts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2658"},{"key":"ETag","value":"W/\"a62-n542e9TIrUtm6UCqY/R+8K6FB5Y\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:45:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6442dddfa5296b8f9e0d0f16\",\n        \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"username\": \"snehel\",\n        \"commId\": \"6442c935d6412930252020a5\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"What's MVC architecture in MERN stack\",\n        \"picturePath\": \"p4.jpg\",\n        \"likes\": {\n            \"644291fbfe40ce8dc23c2467\": true,\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"bookmarks\": {\n            \"644291fbfe40ce8dc23c2467\": true,\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:02:56.005Z\",\n        \"updatedAt\": \"2023-04-22T10:42:03.197Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442dec5a5296b8f9e0d0f1d\",\n        \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"username\": \"snehel\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"snehel posts in juet coders\",\n        \"picturePath\": \"p10.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:06:45.033Z\",\n        \"updatedAt\": \"2023-04-21T19:06:45.033Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442df39a5296b8f9e0d0f25\",\n        \"userId\": \"644291d8fe40ce8dc23c2465\",\n        \"username\": \"ankur\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"ankur posts in juet coders\",\n        \"picturePath\": \"p11.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:08:41.633Z\",\n        \"updatedAt\": \"2023-04-21T19:08:41.633Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442dffe1b0a0dd9c5be9d64\",\n        \"userId\": \"644291d8fe40ce8dc23c2465\",\n        \"username\": \"ankur\",\n        \"commId\": \"6442c935d6412930252020a5\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"ankur posts in MERN stack\",\n        \"picturePath\": \"p11.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:11:58.876Z\",\n        \"updatedAt\": \"2023-04-22T10:40:42.165Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442e1c10c08d0bdcc85e4c4\",\n        \"userId\": \"644291fbfe40ce8dc23c2467\",\n        \"username\": \"vivek\",\n        \"commId\": \"6442c935d6412930252020a5\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"vivek posts in MERN stack\",\n        \"picturePath\": \"p11.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:19:29.239Z\",\n        \"updatedAt\": \"2023-04-21T19:19:29.239Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442e1e80c08d0bdcc85e4cb\",\n        \"userId\": \"644291fbfe40ce8dc23c2467\",\n        \"username\": \"vivek\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"vivek posts in juet coders\",\n        \"picturePath\": \"p15.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:20:08.419Z\",\n        \"updatedAt\": \"2023-04-22T10:20:11.397Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6443baafd544df6cbd32f065\",\n        \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"username\": \"snehel\",\n        \"commId\": \"6442c935d6412930252020a5\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"Let's talk about JWT authentication\",\n        \"picturePath\": \"p15.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-22T10:45:03.345Z\",\n        \"updatedAt\": \"2023-04-22T10:45:03.345Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"b2a487fe-3442-4b44-b3c7-e54599ae6746"},{"name":"like a post","id":"26e5da08-05cb-44fa-bb39-be3a2974823e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"6442cb92d9e9cf9b8e9d9d33\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/posts/6442dddfa5296b8f9e0d0f16/like","urlObject":{"protocol":"http","port":"3001","path":["posts","6442dddfa5296b8f9e0d0f16","like"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d9bd9317-b203-4a01-87fa-84622ace3a70","name":"like a post","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"6442cb92d9e9cf9b8e9d9d33\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/posts/6442dddfa5296b8f9e0d0f16/like"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"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-G4qYUbSY442u/WBrASfq60dZUpk\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:42:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6442dddfa5296b8f9e0d0f16\",\n    \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\n    \"username\": \"snehel\",\n    \"commId\": \"6442c935d6412930252020a5\",\n    \"commName\": \"MERN stack developers\",\n    \"description\": \"What's MVC architecture in MERN stack\",\n    \"picturePath\": \"p4.jpg\",\n    \"likes\": {\n        \"644291fbfe40ce8dc23c2467\": true,\n        \"6442cb92d9e9cf9b8e9d9d33\": true\n    },\n    \"bookmarks\": {\n        \"644291fbfe40ce8dc23c2467\": true,\n        \"6442cb92d9e9cf9b8e9d9d33\": true\n    },\n    \"comments\": [],\n    \"createdAt\": \"2023-04-21T19:02:56.005Z\",\n    \"updatedAt\": \"2023-04-22T10:42:03.197Z\",\n    \"__v\": 0\n}"}],"_postman_id":"26e5da08-05cb-44fa-bb39-be3a2974823e"},{"name":"bookmark a post","id":"734a1d75-c0c6-4de0-8a29-dbecc2111c08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"6442cb92d9e9cf9b8e9d9d33\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/posts/6442dffe1b0a0dd9c5be9d64/book","urlObject":{"protocol":"http","port":"3001","path":["posts","6442dffe1b0a0dd9c5be9d64","book"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d9251166-214a-4c67-90a7-4d14f588f238","name":"bookmark a post","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"6442cb92d9e9cf9b8e9d9d33\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/posts/6442dffe1b0a0dd9c5be9d64/book"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"383"},{"key":"ETag","value":"W/\"17f-Gzz/KNPU97X9GFCk/iG8VRYgNq8\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:40:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6442dffe1b0a0dd9c5be9d64\",\n    \"userId\": \"644291d8fe40ce8dc23c2465\",\n    \"username\": \"ankur\",\n    \"commId\": \"6442c935d6412930252020a5\",\n    \"commName\": \"MERN stack developers\",\n    \"description\": \"ankur posts in MERN stack\",\n    \"picturePath\": \"p11.jpg\",\n    \"likes\": {},\n    \"bookmarks\": {\n        \"6442cb92d9e9cf9b8e9d9d33\": true\n    },\n    \"comments\": [],\n    \"createdAt\": \"2023-04-21T19:11:58.876Z\",\n    \"updatedAt\": \"2023-04-22T10:40:42.165Z\",\n    \"__v\": 0\n}"}],"_postman_id":"734a1d75-c0c6-4de0-8a29-dbecc2111c08"},{"name":"get all posts","id":"cf3088f0-b30a-41f8-bd47-feeb844d0a4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/posts","urlObject":{"protocol":"http","port":"3001","path":["posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0dda73be-8031-417f-a6a3-fc6d14d6eaf8","name":"get all posts","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/posts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"cross-origin"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2262"},{"key":"ETag","value":"W/\"8d6-BpvObKZumpQlXMmH9UJKM8c67z0\""},{"key":"Date","value":"Sat, 22 Apr 2023 10:29:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6442dddfa5296b8f9e0d0f16\",\n        \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"username\": \"snehel\",\n        \"commId\": \"6442c935d6412930252020a5\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"What's MVC architecture in MERN stack\",\n        \"picturePath\": \"p4.jpg\",\n        \"likes\": {\n            \"644291fbfe40ce8dc23c2467\": true\n        },\n        \"bookmarks\": {\n            \"644291fbfe40ce8dc23c2467\": true,\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:02:56.005Z\",\n        \"updatedAt\": \"2023-04-22T10:19:32.476Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442dec5a5296b8f9e0d0f1d\",\n        \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\n        \"username\": \"snehel\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"snehel posts in juet coders\",\n        \"picturePath\": \"p10.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:06:45.033Z\",\n        \"updatedAt\": \"2023-04-21T19:06:45.033Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442df39a5296b8f9e0d0f25\",\n        \"userId\": \"644291d8fe40ce8dc23c2465\",\n        \"username\": \"ankur\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"ankur posts in juet coders\",\n        \"picturePath\": \"p11.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:08:41.633Z\",\n        \"updatedAt\": \"2023-04-21T19:08:41.633Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442dffe1b0a0dd9c5be9d64\",\n        \"userId\": \"644291d8fe40ce8dc23c2465\",\n        \"username\": \"ankur\",\n        \"commId\": \"6442c935d6412930252020a5\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"ankur posts in MERN stack\",\n        \"picturePath\": \"p11.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:11:58.876Z\",\n        \"updatedAt\": \"2023-04-22T10:20:34.352Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442e1c10c08d0bdcc85e4c4\",\n        \"userId\": \"644291fbfe40ce8dc23c2467\",\n        \"username\": \"vivek\",\n        \"commId\": \"6442c935d6412930252020a5\",\n        \"commName\": \"MERN stack developers\",\n        \"description\": \"vivek posts in MERN stack\",\n        \"picturePath\": \"p11.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {},\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:19:29.239Z\",\n        \"updatedAt\": \"2023-04-21T19:19:29.239Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6442e1e80c08d0bdcc85e4cb\",\n        \"userId\": \"644291fbfe40ce8dc23c2467\",\n        \"username\": \"vivek\",\n        \"commId\": \"6442940e525a382407f865cd\",\n        \"commName\": \"JUET coders\",\n        \"description\": \"vivek posts in juet coders\",\n        \"picturePath\": \"p15.jpg\",\n        \"likes\": {},\n        \"bookmarks\": {\n            \"6442cb92d9e9cf9b8e9d9d33\": true\n        },\n        \"comments\": [],\n        \"createdAt\": \"2023-04-21T19:20:08.419Z\",\n        \"updatedAt\": \"2023-04-22T10:20:11.397Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"cf3088f0-b30a-41f8-bd47-feeb844d0a4b"},{"name":"edit a post","id":"ef85fc22-4ebc-4cd8-b657-a6ae23399399","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": \"6442cb92d9e9cf9b8e9d9d33\",\r\n    \"description\": \"snehel posts in juet coders edit 2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6001/posts/6442dec5a5296b8f9e0d0f1d","urlObject":{"protocol":"http","port":"6001","path":["posts","6442dec5a5296b8f9e0d0f1d"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef85fc22-4ebc-4cd8-b657-a6ae23399399"}],"id":"d67dd3f4-28da-4139-b261-ddc3ce931549","description":"<p><em>Server requests to the APIs containing post related information.</em></p>\n","_postman_id":"d67dd3f4-28da-4139-b261-ddc3ce931549"}]}