{"info":{"_postman_id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","name":"CollabConnect","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"19308263","collectionId":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","publishedId":"2sAYBPnF2Q","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-17T18:57:42.000Z"},"item":[{"name":"Search Functionality","item":[{"name":"Search All","id":"be769858-3821-406f-b3ba-16719c099fc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"0"}]},"isInherited":false},"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/search/searchQuery","description":"<p>This endpoint retrieves the information for products or repository which one will enter to search.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response returns a JSON array with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"employee_id\": integer,\n        \"first_name\": string,\n        \"last_name\": string,\n        \"chat_username\": string,\n        \"title\": string,\n        \"phone\": string,\n        \"email_id\": string,\n        \"description\": string,\n        \"is_team_lead\": boolean,\n        \"is_poc\": boolean,\n        \"team_id\": integer,\n        \"team_name\": string,\n        \"team_desc\": string,\n        \"location_id\": integer,\n        \"country\": string,\n        \"state\": string,\n        \"city\": string,\n        \"zipcode\": string,\n        \"repository_id\": integer,\n        \"repository_name\": string,\n        \"created_date\": string,\n        \"product_id\": integer,\n        \"product_name\": string,\n        \"product_description\": string\n    }\n]\n\n</code></pre>\n","urlObject":{"path":["search","searchQuery"],"host":["https://collabconnect-y1zi.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"a5468d16-67a0-4657-8a75-6136c66a330b","name":"Search All Successful Response","originalRequest":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/search/ui"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 17 Nov 2024 18:37:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"450"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"8e41d5c458ef2037-IND"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"br"},{"key":"ETag","value":"W/\"308-S+8bUFbTCJGN/jFp6D1FK5nx8TM\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"rndr-id","value":"9349f6ff-9f8c-45eb"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"employee_id\": 7,\n        \"first_name\": \"Grace\",\n        \"last_name\": \"Martinez\",\n        \"chat_username\": \"grace.martinez\",\n        \"title\": \"Sales Director - Europe\",\n        \"phone\": \"01-555-2678\",\n        \"email_id\": \"grace.martinez@servicenow.com\",\n        \"description\": \"Leads sales for Europe region.\",\n        \"is_team_lead\": true,\n        \"is_poc\": true,\n        \"team_id\": 3,\n        \"team_name\": \"Customer Success\",\n        \"team_desc\": \"Focuses on driving customer satisfaction and success.\",\n        \"location_id\": 1,\n        \"country\": \"US\",\n        \"state\": \"California\",\n        \"city\": \"Santa Clara\",\n        \"zipcode\": \"95054\",\n        \"repository_id\": 3,\n        \"repository_name\": \"UI Framework\",\n        \"created_date\": \"2024-09-10T00:00:00.000Z\",\n        \"product_id\": 1,\n        \"product_name\": \"ServiceNow Platform\",\n        \"product_description\": \"A comprehensive suite of enterprise IT service management solutions that enable businesses to automate and streamline workflows.\"\n    }\n]"},{"id":"49eb2011-8aba-4b4c-a980-42e0421bffb8","name":"Search All Bad Request","originalRequest":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/search/xyz"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 17 Nov 2024 18:41:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"8e41dbaa4fc3a8ae-IND"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"br"},{"key":"ETag","value":"W/\"2c-JdXDpkVVSp4N+J4Isr590GXIlKY\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"rndr-id","value":"56e21daf-1619-41e8"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No repository or product found\"\n}"}],"_postman_id":"be769858-3821-406f-b3ba-16719c099fc3"},{"name":"Search by Repository Name","id":"0dc239f0-4d56-4780-b447-ae8b0b6f625a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"0"}]},"isInherited":false},"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/search/repository/searchQuery","description":"<h3 id=\"search-repository-backend\">Search Repository Backend</h3>\n<p>This endpoint is used to search for POC's using repositories name where you need to enter the repository name after the / in the URL. The example here I had used is backend</p>\n<p><strong>Request Body</strong><br />This is a GET request and does not contain a request body.</p>\n<p><strong>Response</strong></p>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"Repository details\": [\n        {\n            \"employee_id\": 0,\n            \"first_name\": \"\",\n            \"last_name\": \"\",\n            \"chat_username\": \"\",\n            \"title\": \"\",\n            \"phone\": \"\",\n            \"email_id\": \"\",\n            \"description\": \"\",\n            \"is_team_lead\": true,\n            \"is_poc\": true,\n            \"team_id\": 0,\n            \"team_name\": \"\",\n            \"team_desc\": \"\",\n            \"location_id\": 0,\n            \"country\": \"\",\n            \"state\": \"\",\n            \"city\": \"\",\n            \"zipcode\": \"\",\n            \"repository_id\": 0,\n            \"repository_name\": \"\",\n            \"created_date\": \"\",\n            \"product_id\": 0,\n            \"product_name\": \"\",\n            \"product_description\": \"\"\n        }\n    ],\n    \"message\": \"\"\n}\n\n</code></pre>\n","urlObject":{"path":["search","repository","searchQuery"],"host":["https://collabconnect-y1zi.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"2afdec29-30ff-4120-b874-efad1762c7e6","name":"Search by Repository Name No Repo Found","originalRequest":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/search/repository/something"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 17 Nov 2024 18:36:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"8e41d3d55de02037-IND"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"br"},{"key":"ETag","value":"W/\"21-yRHSg6VKcoi1zOc/ekQGEWSKwi8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"rndr-id","value":"de927cb5-880b-4c91"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No repository found\"\n}"},{"id":"13f831bf-44ed-4a3c-98a5-b18ee5747207","name":"Search by Repository Name Successful Retrivation","originalRequest":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/search/repository/cloud"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 17 Nov 2024 18:37:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"472"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"8e41d4c15e472037-IND"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"br"},{"key":"ETag","value":"W/\"336-8en7GAovCN3t9+Dd+r4Oi2uo/DE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"rndr-id","value":"641ed0de-f045-487e"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"Repository details\": [\n        {\n            \"employee_id\": 5,\n            \"first_name\": \"Eve\",\n            \"last_name\": \"Davis\",\n            \"chat_username\": \"eve.davis\",\n            \"title\": \"Customer Success Manager\",\n            \"phone\": \"01-555-2333\",\n            \"email_id\": \"eve.davis@servicenow.com\",\n            \"description\": \"Focuses on customer retention.\",\n            \"is_team_lead\": true,\n            \"is_poc\": true,\n            \"team_id\": 2,\n            \"team_name\": \"Cloud Operations\",\n            \"team_desc\": \"Ensures seamless cloud services and uptime for customers.\",\n            \"location_id\": 1,\n            \"country\": \"US\",\n            \"state\": \"California\",\n            \"city\": \"Santa Clara\",\n            \"zipcode\": \"95054\",\n            \"repository_id\": 2,\n            \"repository_name\": \"Cloud Services\",\n            \"created_date\": \"2024-02-10T00:00:00.000Z\",\n            \"product_id\": 1,\n            \"product_name\": \"ServiceNow Platform\",\n            \"product_description\": \"A comprehensive suite of enterprise IT service management solutions that enable businesses to automate and streamline workflows.\"\n        }\n    ],\n    \"message: \": \"Repository found\"\n}"}],"_postman_id":"0dc239f0-4d56-4780-b447-ae8b0b6f625a"},{"name":"Search by Product Name","id":"3792da6c-f2b1-4d69-83e5-82b2c5f7b201","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"0"}]},"isInherited":false},"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/search/product/something","description":"<h1 id=\"search-product-details\">Search Product Details</h1>\n<p>This endpoint is used to search for POC's using products name where you need to enter the product name after the / in the URL. The example here I had used is ai.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"request-url\">Request URL</h3>\n<p><code>GET /search/product/ai</code></p>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"response-body\">Response Body</h3>\n<p>The response will be a JSON object with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"Product details\": [\n        {\n            \"employee_id\": 0,\n            \"first_name\": \"\",\n            \"last_name\": \"\",\n            \"chat_username\": \"\",\n            \"title\": \"\",\n            \"phone\": \"\",\n            \"email_id\": \"\",\n            \"description\": \"\",\n            \"is_team_lead\": true,\n            \"is_poc\": true,\n            \"team_id\": 0,\n            \"team_name\": \"\",\n            \"team_desc\": \"\",\n            \"location_id\": 0,\n            \"country\": \"\",\n            \"state\": \"\",\n            \"city\": \"\",\n            \"zipcode\": \"\",\n            \"repository_id\": 0,\n            \"repository_name\": \"\",\n            \"created_date\": \"\",\n            \"product_id\": 0,\n            \"product_name\": \"\",\n            \"product_description\": \"\"\n        }\n    ],\n    \"message\": \"\"\n}\n\n</code></pre>\n","urlObject":{"path":["search","product","something"],"host":["https://collabconnect-y1zi.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"d74376e2-e264-4ac5-962a-eac88e28a2a9","name":"Search by Product Name Successful Response","originalRequest":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/search/product/ai"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 17 Nov 2024 18:08:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"435"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"8e41aaaa9e2b20fd-IND"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"br"},{"key":"ETag","value":"W/\"319-Q2LBUr64Ya9nfTcskZ8NpUzIm00\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"rndr-id","value":"c98e88ec-da9b-4d23"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"Product details\": [\n        {\n            \"employee_id\": 9,\n            \"first_name\": \"Irene\",\n            \"last_name\": \"Patel\",\n            \"chat_username\": \"irene.patel\",\n            \"title\": \"AI/ML Engineer\",\n            \"phone\": \"080-555-2345\",\n            \"email_id\": \"irene.patel@servicenow.com\",\n            \"description\": \"Builds ML models for AI-powered products.\",\n            \"is_team_lead\": true,\n            \"is_poc\": true,\n            \"team_id\": 4,\n            \"team_name\": \"AI and Machine Learning\",\n            \"team_desc\": \"Develops intelligent solutions using AI and ML technologies.\",\n            \"location_id\": 2,\n            \"country\": \"IE\",\n            \"state\": \"Dublin\",\n            \"city\": \"Dublin\",\n            \"zipcode\": \"D02 A620\",\n            \"repository_id\": 4,\n            \"repository_name\": \"AI Core\",\n            \"created_date\": \"2024-05-12T00:00:00.000Z\",\n            \"product_id\": 2,\n            \"product_name\": \"AI Insights\",\n            \"product_description\": \"A machine learning-based product that provides AI-powered recommendations for improving business operations.\"\n        }\n    ],\n    \"message: \": \"Product found\"\n}"},{"id":"667e2182-b9a6-41ec-a74f-cf557b71a797","name":"Search by Product Name where product is not found","originalRequest":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/search/product/something"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 17 Nov 2024 18:51:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"33"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"8e41e95b38a720fd-IND"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"br"},{"key":"ETag","value":"W/\"1e-+xqlovDpuD/SgKcesk5RwDQJXC0\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"rndr-id","value":"7cfc4699-5157-4ff7"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No product found\"\n}"}],"_postman_id":"3792da6c-f2b1-4d69-83e5-82b2c5f7b201"}],"id":"3f4cd826-f73a-4d15-b519-966e0aa83c00","description":"<p>The Search Functionality for the POC</p>\n","_postman_id":"3f4cd826-f73a-4d15-b519-966e0aa83c00","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","name":"CollabConnect","type":"collection"}}},{"name":"Authentication","item":[{"name":"Login","event":[{"listen":"test","script":{"id":"fc9ecf37-bb27-45f2-9c07-979cfabe11da","exec":["// Parse the response JSON\r","let response = pm.response.json();\r","\r","// Check if the response contains a token\r","if (response.token) {\r","    // Set the token as a collection variable\r","    pm.collectionVariables.set(\"token\", response.token);\r","    console.log(\"Token saved to collection variable:\", response.token);\r","} else {\r","    console.error(\"Token not found in response\");\r","    pm.response.to.have.jsonBody('token'); // Ensure the response has 'token'\r","}"],"type":"text/javascript","packages":{}}}],"id":"35fd6b29-23f7-4974-9dfd-ea4c888e902d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"alice.johnson@servicenow.com","type":"text"},{"key":"password","value":"1234567890","type":"text"}]},"url":"http://localhost:5000/login/","description":"<h3 id=\"login\">Login</h3>\n<p>This endpoint allows users to log in and obtain a token for authentication.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: POST</p>\n</li>\n<li><p>URL: <code>http://localhost:5000/login/</code></p>\n</li>\n<li><p>Body (x-www-form-urlencoded):</p>\n<ul>\n<li><p><code>email</code> (text, required): The email address of the user.</p>\n</li>\n<li><p><code>password</code> (text, required): The password of the user.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is in JSON format and includes the following properties:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"\",\n  \"token\": \"\",\n  \"user\": \"\"\n}\n\n</code></pre>\n<ul>\n<li><p><code>message</code>: A message related to the login process.</p>\n</li>\n<li><p><code>token</code>: The authentication token for the logged-in user.</p>\n</li>\n<li><p><code>user</code>: Details of the logged-in user.</p>\n</li>\n</ul>\n<h4 id=\"json-schema\">JSON Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"message\": {\"type\": \"string\"},\n    \"token\": {\"type\": \"string\"},\n    \"user\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","name":"CollabConnect","type":"collection"}},"urlObject":{"protocol":"http","port":"5000","path":["login",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9443c8b2-48f2-4f3a-82ea-73a3ca5bd6be","name":"Login Successful","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"alice.johnson@servicenow.com","type":"text"},{"key":"password","value":"1234567890","type":"text"}]},"url":"http://localhost:5000/login/"},"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":"247"},{"key":"ETag","value":"W/\"f7-ihrtDFAEjXhftrOVwoKgGm4T6kM\""},{"key":"Date","value":"Sun, 17 Nov 2024 18:44:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User logged in successfully\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFsaWNlLmpvaG5zb25Ac2VydmljZW5vdy5jb20iLCJpYXQiOjE3MzE4NjkwNTksImV4cCI6MTczMjEyODI1OX0.AtxX0FlkoDh1_qVqV44ZF8E_vkmawMmnK2n7xd-CzjI\",\n    \"user\": \"Alice\"\n}"}],"_postman_id":"35fd6b29-23f7-4974-9dfd-ea4c888e902d"}],"id":"01f768eb-349f-44e4-bafd-cf6ca608e992","_postman_id":"01f768eb-349f-44e4-bafd-cf6ca608e992","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","name":"CollabConnect","type":"collection"}}},{"name":"Location Functionality","item":[{"name":"Get All Locations","id":"60558e72-9fd5-40c5-8a82-7af64ca797c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/locations/","description":"<h3 id=\"get-locations\">Get Locations</h3>\n<p>This endpoint retrieves a list of locations.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>https://collabconnect-y1zi.onrender.com/locations/</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON array containing objects with the following properties:</p>\n<ul>\n<li><p><code>location_id</code> (number): The unique identifier for the location.</p>\n</li>\n<li><p><code>country</code> (string): The country of the location.</p>\n</li>\n<li><p><code>state</code> (string): The state of the location.</p>\n</li>\n<li><p><code>city</code> (string): The city of the location.</p>\n</li>\n<li><p><code>zipcode</code> (string): The zipcode of the location.</p>\n</li>\n<li><p><code>created_at</code> (string): The timestamp when the location was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The timestamp when the location was last updated.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"location_id\": 0,\n        \"country\": \"\",\n        \"state\": \"\",\n        \"city\": \"\",\n        \"zipcode\": \"\",\n        \"created_at\": \"\",\n        \"updated_at\": \"\"\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","name":"CollabConnect","type":"collection"}},"urlObject":{"path":["locations",""],"host":["https://collabconnect-y1zi.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"d5c6b1d8-9edb-4077-8de3-db27d187e8c6","name":"Get All Locations","originalRequest":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/locations/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 17 Nov 2024 17:05:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"209"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"8e414e9479d0209d-IND"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"br"},{"key":"ETag","value":"W/\"2a5-AwD6NBv+ySDBMa0fiWbRiYEsZ8E\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"rndr-id","value":"ec860179-a278-4516"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"location_id\": 1,\n        \"country\": \"US\",\n        \"state\": \"California\",\n        \"city\": \"Santa Clara\",\n        \"zipcode\": \"95054\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    },\n    {\n        \"location_id\": 2,\n        \"country\": \"IE\",\n        \"state\": \"Dublin\",\n        \"city\": \"Dublin\",\n        \"zipcode\": \"D02 A620\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    },\n    {\n        \"location_id\": 3,\n        \"country\": \"IN\",\n        \"state\": \"Karnataka\",\n        \"city\": \"Bengaluru\",\n        \"zipcode\": \"560103\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    },\n    {\n        \"location_id\": 4,\n        \"country\": \"JP\",\n        \"state\": \"Tokyo\",\n        \"city\": \"Tokyo\",\n        \"zipcode\": \"100-0001\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    }\n]"}],"_postman_id":"60558e72-9fd5-40c5-8a82-7af64ca797c9"},{"name":"Get a Location","id":"8f6eb2b2-f385-4ea2-85d9-3385aa0bc4e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/locations/us","description":"<h3 id=\"get-us-locations\">Get US Locations</h3>\n<p>This endpoint retrieves a location which was passed as a parameter in the url. For example us in this case.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will be a JSON array containing location objects with the following attributes:</p>\n<ul>\n<li><p><code>location_id</code> (number): The unique identifier for the location.</p>\n</li>\n<li><p><code>country</code> (string): The country of the location.</p>\n</li>\n<li><p><code>state</code> (string): The state of the location.</p>\n</li>\n<li><p><code>city</code> (string): The city of the location.</p>\n</li>\n<li><p><code>zipcode</code> (string): The ZIP code of the location.</p>\n</li>\n<li><p><code>created_at</code> (string): The timestamp of when the location was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The timestamp of when the location was last updated.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","name":"CollabConnect","type":"collection"}},"urlObject":{"path":["locations","us"],"host":["https://collabconnect-y1zi.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"f0b89de1-0aed-43b7-9315-ee298e2df6e5","name":"Get a Location","originalRequest":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/locations/us"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 17 Nov 2024 17:24:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"118"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"8e416aa25916a8a9-IND"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"br"},{"key":"ETag","value":"W/\"ae-oHkvYu/Fo0YIO4NfASblt2uCuBU\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"rndr-id","value":"898f6e06-5ab0-47ba"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"location_id\": 1,\n        \"country\": \"US\",\n        \"state\": \"California\",\n        \"city\": \"Santa Clara\",\n        \"zipcode\": \"95054\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    }\n]"}],"_postman_id":"8f6eb2b2-f385-4ea2-85d9-3385aa0bc4e6"}],"id":"aac95787-06a4-4ec4-8bf1-b4303ad13d51","_postman_id":"aac95787-06a4-4ec4-8bf1-b4303ad13d51","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","name":"CollabConnect","type":"collection"}}},{"name":"Team Functionality","item":[{"name":"Get Teams","id":"33f5bb01-0c56-4952-831d-ed6c127b588f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/teams","description":"<h3 id=\"get-teams\">Get Teams</h3>\n<p>This endpoint makes an HTTP GET request to retrieve a list of teams.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n</ul>\n<p>The response will include an array of team objects, each containing the following properties:</p>\n<ul>\n<li><p><code>team_id</code> (number): The unique identifier for the team.</p>\n</li>\n<li><p><code>location_id</code> (number): The identifier for the team's location.</p>\n</li>\n<li><p><code>team_name</code> (string): The name of the team.</p>\n</li>\n<li><p><code>team_desc</code> (string): The description of the team.</p>\n</li>\n<li><p><code>created_at</code> (string): The timestamp indicating when the team was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The timestamp indicating when the team was last updated.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","name":"CollabConnect","type":"collection"}},"urlObject":{"path":["teams"],"host":["https://collabconnect-y1zi.onrender.com"],"query":[],"variable":[]}},"response":[{"id":"b26e38f9-b474-4126-b8cb-dacf143e36ca","name":"Get Teams","originalRequest":{"method":"GET","header":[],"url":"https://collabconnect-y1zi.onrender.com/teams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 17 Nov 2024 17:08:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"371"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"8e4152448b51a8ab-IND"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"br"},{"key":"ETag","value":"W/\"507-Kztn4UyQkjn78BGbfQxWzin48RU\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"rndr-id","value":"8f57b420-3738-480d"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"team_id\": 1,\n        \"location_id\": 1,\n        \"team_name\": \"Platform Engineering\",\n        \"team_desc\": \"Responsible for building and scaling the ServiceNow platform.\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    },\n    {\n        \"team_id\": 2,\n        \"location_id\": 1,\n        \"team_name\": \"Cloud Operations\",\n        \"team_desc\": \"Ensures seamless cloud services and uptime for customers.\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    },\n    {\n        \"team_id\": 3,\n        \"location_id\": 1,\n        \"team_name\": \"Customer Success\",\n        \"team_desc\": \"Focuses on driving customer satisfaction and success.\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    },\n    {\n        \"team_id\": 4,\n        \"location_id\": 2,\n        \"team_name\": \"AI and Machine Learning\",\n        \"team_desc\": \"Develops intelligent solutions using AI and ML technologies.\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    },\n    {\n        \"team_id\": 5,\n        \"location_id\": 3,\n        \"team_name\": \"Quality Assurance\",\n        \"team_desc\": \"Ensures product reliability through rigorous testing.\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    },\n    {\n        \"team_id\": 6,\n        \"location_id\": 4,\n        \"team_name\": \"Japan Sales\",\n        \"team_desc\": \"Handles sales and customer acquisition in the Japan region.\",\n        \"created_at\": \"2024-11-16T22:43:57.776Z\",\n        \"updated_at\": \"2024-11-16T22:43:57.776Z\"\n    }\n]"}],"_postman_id":"33f5bb01-0c56-4952-831d-ed6c127b588f"}],"id":"75d07b9e-f784-41cb-a105-41b65c49df28","_postman_id":"75d07b9e-f784-41cb-a105-41b65c49df28","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","id":"36f469eb-9f11-4b36-b663-a9c8ae25cf7b","name":"CollabConnect","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"d03727e7-8c2a-4d30-8e0a-f289327f545e","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"5d8d3c89-3b46-4924-b72b-a906b307e262","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"token","value":"0","type":"string"},{"key":"base_url","value":"https://collabconnect-y1zi.onrender.com","type":"string"}]}