{"info":{"_postman_id":"3a3534d5-5bf7-4956-a1bc-701deb28189c","name":"dotcode_api","description":"<html><head></head><body><img src=\"https://content.pstmn.io/bdd021d5-23b9-44c0-9808-1b33605474bf/aG9tZTEucG5n\"></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"38037883","collectionId":"3a3534d5-5bf7-4956-a1bc-701deb28189c","publishedId":"2sAY4rG5vR","public":true,"customColor":{"top-bar":"0f172a","right-sidebar":"282c34","highlight":"858DFF"},"publishDate":"2024-10-24T10:45:44.000Z"},"item":[{"name":"projects","item":[{"name":"Update Project","id":"a7a50a24-fc7e-4dc1-b3fe-0eef01bcdcfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTdkYTRhZGM1OWEwZGI2MGMyMDMzZiIsImlhdCI6MTcyOTYxNzQzNywiZXhwIjoxNzI5NjIxMDM3fQ.NBLoOVArcGLVHVSDSNhGLZVKbhkMhXf-fTmt-VLKxas","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"code\": \r\n                {\r\n                    \"html\": \"<h1>Hello world from postman4</h1>\",\r\n                    \"css\": \"\",\r\n                    \"js\": \"\"\r\n                }\r\n            \r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/projects/67a0bfdfdac301366bb14bf1","description":"<p>This endpoint makes an HTTP PATCH request to update a specific project with the provided ID. The request body should contain a JSON payload with the \"lngName\" field to update the language name of the project.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON schema representing the structure of the updated project data.</p>\n","urlObject":{"port":"9000","path":["api","v1","projects","67a0bfdfdac301366bb14bf1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7a50a24-fc7e-4dc1-b3fe-0eef01bcdcfd"},{"name":"Delete Project","id":"8263246f-5c0d-49de-ac7a-6829f1b821a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"a user friendly login form\",\r\n    \"type\": \"ui\",\r\n    \"lngName\": \"react\",\r\n    \"note\": \"a minimalized nodejs sever powered by express .. as a starting point to develop api for any application\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/projects/67094711354233213c0f9","description":"<p>This endpoint makes an HTTP DELETE request to delete a specific project with the given ID. The request payload includes the name, type, lngName, and note of the project to be deleted.</p>\n<p>The response of this request can be documented as a JSON schema.</p>\n","urlObject":{"port":"9000","path":["api","v1","projects","67094711354233213c0f9"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8263246f-5c0d-49de-ac7a-6829f1b821a2"},{"name":"Like Project","id":"eff2697b-c2e8-4cc2-b139-1a858cbe3156","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"127.0.0.1:9000/api/v1/projects/like/672233523d38944ec95ba7d7","urlObject":{"port":"9000","path":["api","v1","projects","like","672233523d38944ec95ba7d7"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"eff2697b-c2e8-4cc2-b139-1a858cbe3156"},{"name":"Get project by id","id":"9d898612-cb95-45f4-983d-e0427ca1a4d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/projects/","description":"<p>This endpoint makes an HTTP GET request to retrieve the details of a specific project with the ID \"6717e1c3a9212f25adb2b1a2\". The response is documented below as a JSON schema.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"projectId\": {\n      \"type\": \"string\"\n    },\n    \"projectName\": {\n      \"type\": \"string\"\n    },\n    \"description\": {\n      \"type\": \"string\"\n    },\n    \"createdBy\": {\n      \"type\": \"string\"\n    },\n    \"createdAt\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    },\n    \"updatedAt\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","projects",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d898612-cb95-45f4-983d-e0427ca1a4d9"},{"name":"Get all project","id":"d1ae6d98-6f54-48f4-a027-10d4ec29a4c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"name\": \"simple server\",\r\n\t\"type\": \"snippet\",\r\n\t\"lngName\": \"node\",\r\n    \"note\":\"a minimalized nodejs sever powered by express .. as a starting point to develop api for any application\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/projects?page=1&limit=100","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of projects from the server. The request does not require any parameters or request body.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON object representing the list of projects. Below is a JSON schema representing the structure of the response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"projects\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\"\n          },\n          \"type\": {\n            \"type\": \"string\"\n          },\n          \"lngName\": {\n            \"type\": \"string\"\n          },\n          \"note\": {\n            \"type\": \"string\"\n          }\n          // Additional properties may exist based on the server response\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","projects"],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"lngName","value":"react"},{"disabled":true,"key":"type","value":"snippet"},{"disabled":true,"key":"likes[lt]","value":"22"},{"disabled":true,"key":"sort","value":"likes"},{"disabled":true,"key":"fields","value":"name,type,lngName"},{"key":"page","value":"1"},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"d1ae6d98-6f54-48f4-a027-10d4ec29a4c8"},{"name":"Unlike project","id":"bb9148a5-70c9-43bf-adeb-2a6f5a27b516","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"127.0.0.1:9000/api/v1/projects/unlike/671ee807dce16a14866b6519","urlObject":{"port":"9000","path":["api","v1","projects","unlike","671ee807dce16a14866b6519"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb9148a5-70c9-43bf-adeb-2a6f5a27b516"},{"name":"Create Project","id":"2565d2d8-4e57-4cc5-a784-509f9da59889","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTdkYTRhZGM1OWEwZGI2MGMyMDMzZiIsImlhdCI6MTcyOTYxNzQzNywiZXhwIjoxNzI5NjIxMDM3fQ.NBLoOVArcGLVHVSDSNhGLZVKbhkMhXf-fTmt-VLKxas","type":"text"}],"body":{"mode":"raw","raw":"{\r\n                \"tags\": [\"simple-server\", \"sever-go\", \"go-server\", \"go\", \"server-with-go\", \"react-with-go\"],\r\n                \"name\": \"server trial\",\r\n                \"type\": \"snippet\",\r\n                \"code\": \r\n                     {\r\n                        \"code\": \"\\n<div className=\\\"relative w-[8rem] bg-slate-800 py-2 px-4 rounded-lg mt-3\\\">\\n\\t<div className=\\\" absolute -top-3 left-1/2 -translate-x-1/2 text-slate-800 -z-1\\\">\\n\\t\\t<TbTriangleFilled size={20} />\\n\\t</div>\\n\\t<span>Tooltip Down update</span>\\n</div>\\n\"\r\n                    },\r\n                \"lngName\": \"nodejs\",\r\n                \"note\": \"a minimalized go sever .. as a starting point to develop api for any application\"\r\n            }","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/projects","description":"<p>This endpoint makes an HTTP POST request to create a new project. The request should include a JSON payload with the following parameters:</p>\n<ul>\n<li><p>tags (array of strings): Tags associated with the project.</p>\n</li>\n<li><p>name (string): Name of the project.</p>\n</li>\n<li><p>type (string): Type of the project.</p>\n</li>\n<li><p>lngName (string): Language name of the project.</p>\n</li>\n<li><p>note (string): Additional notes about the project.</p>\n</li>\n</ul>\n<p>The response of this request is documented as a JSON schema.</p>\n","urlObject":{"port":"9000","path":["api","v1","projects"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2565d2d8-4e57-4cc5-a784-509f9da59889"},{"name":"Get my projects","id":"139683d5-c3d8-482f-b742-26739a830161","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTdkYTRhZGM1OWEwZGI2MGMyMDMzZiIsImlhdCI6MTcyOTY2OTE5NCwiZXhwIjoxNzI5NjcyNzk0fQ.0Mz3EZ0JNYe6un3qVVloyjzLJvhABAQVlddWXlLzNX4","type":"text"}],"url":"127.0.0.1:9000/api/v1/projects/myProjects","description":"<p>This endpoint retrieves the list of projects associated with the user. The response of this request is documented below as a JSON schema.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"projects\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"projectId\": {\n            \"type\": \"string\"\n          },\n          \"projectName\": {\n            \"type\": \"string\"\n          },\n          \"createdBy\": {\n            \"type\": \"string\"\n          },\n          \"createdAt\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\"\n          }\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","projects","myProjects"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"139683d5-c3d8-482f-b742-26739a830161"},{"name":"Suggest Commit Message","id":"b83e7382-d935-448d-9c8f-fb8ff1556948","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"code\": {\r\n                    \"html\": \"<p>Final year Project is finished and enjoy it</p>\",\r\n                    \"css\":\"p{color:blue}\"\r\n                }\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/projects/suggest/67aa3fda84d729d845c1365e","urlObject":{"port":"9000","path":["api","v1","projects","suggest","67aa3fda84d729d845c1365e"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b83e7382-d935-448d-9c8f-fb8ff1556948"}],"id":"5c3662a7-12f1-4aed-8bcf-7be59da4bbdd","description":"<p>end-points to create, update, read and read projects</p>\n","_postman_id":"5c3662a7-12f1-4aed-8bcf-7be59da4bbdd"},{"name":"users","item":[{"name":"Get all users","id":"bdf86337-2494-412d-b952-d46128176f72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTYwMzBlYmM0MzFkMDdkOGYyMDU0MSIsImlhdCI6MTcyOTQ5NTgyMywiZXhwIjoxNzI5NDk5NDIzfQ.dTL5xEmanLa7E9Ogf5V-kinf9PukOL9bduD7Zu_5Il8","type":"text"}],"url":"127.0.0.1:9000/api/v1/users","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of users from the server. The response is in JSON format and can be documented as a JSON schema.</p>\n","urlObject":{"port":"9000","path":["api","v1","users"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"bdf86337-2494-412d-b952-d46128176f72"},{"name":"Update user data","id":"349c1c80-2132-4fec-b5ed-5b6ece06ceb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"smex\",\r\n    \"email\": \"smex@gmail.com\",\r\n    \"password\": \"fldsjfsd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/users/updateMe","description":"<p>The <code>PATCH</code> request is used to update the user's information at the endpoint <code>127.0.0.1:9000/api/v1/users/updateMe</code>. The request body should be in raw JSON format and include the fields <code>name</code>, <code>email</code>, and <code>password</code> to update the user's information.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON schema representing the updated user information. The schema will include the updated <code>name</code>, <code>email</code>, and other relevant user details.</p>\n","urlObject":{"port":"9000","path":["api","v1","users","updateMe"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"349c1c80-2132-4fec-b5ed-5b6ece06ceb1"},{"name":"Update user data","id":"67d1aa51-6b20-4c88-87e6-722d0782aa03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTRhYzc3ZmM2MzBmNzUxZmU1MjI1NSIsImlhdCI6MTcyOTQwODEyMCwiZXhwIjoxNzI5NDExNzIwfQ.enHPhVQewIXscvLW5BHRRxO145p49FCMAwQxW7zXlb4","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"smex\",\r\n    \"email\": \"smex@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/users/updateMe","description":"<h3 id=\"update-user-information\">Update User Information</h3>\n<p>This endpoint is used to update the user's information.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: PATCH</p>\n</li>\n<li><p>URL: <code>127.0.0.1:9000/api/v1/users/updateMe</code></p>\n</li>\n<li><p>{ \"name\": \"string\", \"email\": \"string\"}</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response of this request is a JSON schema representing the updated user information. The specific structure of the response will depend on the user's information and the server's implementation.</p>\n","urlObject":{"port":"9000","path":["api","v1","users","updateMe"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"67d1aa51-6b20-4c88-87e6-722d0782aa03"},{"name":"Get current user data","id":"451d2ba0-e635-4036-9fbb-8bb28b99e6bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTdkYTRhZGM1OWEwZGI2MGMyMDMzZiIsImlhdCI6MTcyOTYyMTMzMCwiZXhwIjoxNzI5NjI0OTMwfQ.f7GDfQetXV-2m-6SlHm_t5C_xrQ9pBzmk85HTq4cEZI","type":"text"}],"url":"127.0.0.1:9000/api/v1/users/me","description":"<p>This endpoint retrieves the details of the authenticated user. The response of this request can be documented as a JSON schema to describe the structure of the data returned.</p>\n","urlObject":{"port":"9000","path":["api","v1","users","me"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"451d2ba0-e635-4036-9fbb-8bb28b99e6bb"}],"id":"2f2189e0-4b6b-4a70-a66f-927fef9cc438","_postman_id":"2f2189e0-4b6b-4a70-a66f-927fef9cc438","description":""},{"name":"comments","item":[{"name":"Delete Comment","id":"c66bfc8b-1c07-48b0-b722-4654bdb120bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTdkOTFhZGM1OWEwZGI2MGMyMDMzMSIsImlhdCI6MTcyOTYxNzAzOSwiZXhwIjoxNzI5NjIwNjM5fQ.3OiqHhcG1tXhPa7s1zNA2JoEr61bvPlQCmM9ILyZ_ls","type":"text"}],"url":"127.0.0.1:9000/api/v1/comments/6717da1cdc59a0db60c20337","description":"<p>This endpoint is used to delete a specific comment identified by its ID. Upon a successful deletion, the response will include a JSON schema describing the structure of the response data.</p>\n","urlObject":{"port":"9000","path":["api","v1","comments","6717da1cdc59a0db60c20337"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c66bfc8b-1c07-48b0-b722-4654bdb120bb"},{"name":"Update Comment","id":"277bafff-b1a2-4bc2-9de0-2e7366bf7152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTdkYTRhZGM1OWEwZGI2MGMyMDMzZiIsImlhdCI6MTcyOTYxNjQ1OSwiZXhwIjoxNzI5NjIwMDU5fQ.IzamG0w3j9KWnJIJBcRJkbIf46PoiEX7AvkUdbK2eRk","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"comment\": \"nice work man .. i love it\",\r\n    \"abc\": \"dlfjsdljfas\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/comments/6717e0fd104eb219897ef1d4","description":"<p>This endpoint makes an HTTP PATCH request to update a specific comment identified by the ID \"6717e0fd104eb219897ef1d4\". The request body should include the \"comment\" field to update the comment content, and an additional \"abc\" field with its value.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON schema representing the updated comment. The schema will define the structure of the response object, including the data types and properties returned after the comment is successfully updated.</p>\n","urlObject":{"port":"9000","path":["api","v1","comments","6717e0fd104eb219897ef1d4"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"277bafff-b1a2-4bc2-9de0-2e7366bf7152"},{"name":"Get My comment","id":"974fea67-fe81-4399-8e0f-e58d7aee4f54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/comments/myComments","description":"<p>This endpoint retrieves the comments associated with the user's account. The response of this request is documented as a JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"comments\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"text\": {\n            \"type\": \"string\"\n          },\n          \"author\": {\n            \"type\": \"string\"\n          },\n          \"created_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\"\n          }\n        },\n        \"required\": [\"id\", \"text\", \"author\", \"created_at\"]\n      }\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","comments","myComments"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"974fea67-fe81-4399-8e0f-e58d7aee4f54"}],"id":"24af1006-ead5-41f5-b1df-101b8cd25231","_postman_id":"24af1006-ead5-41f5-b1df-101b8cd25231","description":""},{"name":"authorization","item":[{"name":"Login with email and password","event":[{"listen":"test","script":{"id":"34de820c-1b7c-49d8-9038-a578fde42c4e","exec":["// Parse the JSON response body\r","var jsonData = pm.response.json();\r","\r","// Set the access_token in the environment variable if it exists\r","if (jsonData.token) {\r","    pm.environment.set(\"access_token\", jsonData.token);\r","}"],"type":"text/javascript","packages":{}}}],"id":"c6d21e04-3f31-487a-bb0f-688d8bd7d02c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"qene@gmail.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:9000/api/v1/users/login","description":"<p>This API endpoint allows users to log in by sending a POST request to the specified URL. The request should include a JSON payload in the raw request body type, containing the user's email and password.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON schema representing the structure of the response data. It includes the keys and data types expected in the response from the server.</p>\n","urlObject":{"protocol":"http","port":"9000","path":["api","v1","users","login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6d21e04-3f31-487a-bb0f-688d8bd7d02c"},{"name":"Update password","id":"011614a8-e1b0-483c-a912-bc7aa4ad9957","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTNhYzhkZTNiMTRkNTNmMWMyNWY3ZSIsImlhdCI6MTcyOTM4NzA0OCwiZXhwIjoxNzI5MzkwNjQ4fQ.7yW8Ik_OxOILqdpPTbr-tLJ62J0RfpAHdA_Um-xuUUI","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currPassword\": \"123456\",\r\n    \"newPassword\": \"new1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/users/updatePassword","description":"<h3 id=\"update-user-password\">Update User Password</h3>\n<p>This endpoint is used to update the password of a user.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>currPassword (string, required): The current password of the user.</p>\n</li>\n<li><p>newPassword (string, required): The new password for the user.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response of this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"message\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","users","updatePassword"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"011614a8-e1b0-483c-a912-bc7aa4ad9957"},{"name":"Reset Password","id":"479c7191-a151-4729-a675-3ba46485fcc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"123456\",\r\n    \"confirmPassword\":\"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/users/resetpassword/92b5f82810014f8bca821ef7065ca2f2859a6a9c5d3f88e579a53aa22bb3ca93","description":"<h3 id=\"reset-user-password\">Reset User Password</h3>\n<p>This endpoint allows the user to reset their password.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: PATCH</p>\n</li>\n<li><p>URL: <code>127.0.0.1:9000/api/v1/users/resetpassword/864ec6e26cb620618a1126e7c6b67c4e266d87e72d9875728892fa9769911156</code></p>\n</li>\n<li><p>Headers:</p>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n</li>\n<li><p>{ \"password\": \"<strong><strong>\", \"confirmPassword\": \"</strong></strong>\"}</p>\n<ul>\n<li><p><code>password</code> (string): The new password for the user.</p>\n</li>\n<li><p><code>confirmPassword</code> (string): The confirmation of the new password.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response of this request is a JSON schema.</p>\n","urlObject":{"port":"9000","path":["api","v1","users","resetpassword","92b5f82810014f8bca821ef7065ca2f2859a6a9c5d3f88e579a53aa22bb3ca93"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"479c7191-a151-4729-a675-3ba46485fcc9"},{"name":"Forgot Password","id":"2dfeb438-973f-48e4-93f9-bc10b9ad6f50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"dawitzewdu212121@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://unlikely-brina-sgc-6053c46d.koyeb.app/api/v1/users/forgotpassword","description":"<p>This endpoint is used to initiate the process of resetting a user's password by sending a reset link to the provided email address.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li>email (string, required): The email address of the user for whom the password reset link will be sent.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"string\",\n    \"success\": \"boolean\"\n}\n\n</code></pre>\n<ul>\n<li><p>message (string): A message indicating the outcome of the password reset request.</p>\n</li>\n<li><p>success (boolean): A flag indicating whether the password reset request was successful.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v1","users","forgotpassword"],"host":["unlikely-brina-sgc-6053c46d","koyeb","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"2dfeb438-973f-48e4-93f9-bc10b9ad6f50"},{"name":"Sign up user","id":"b8037570-a77c-4e45-a9b5-0a2f57c7c88d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Dawit1\",\r\n    \"email\":\"dawitzewdu212121@gmail.com\",\r\n    \"password\":\"123456\",\r\n    \"confirmPassword\":\"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://unlikely-brina-sgc-6053c46d.koyeb.app/api/v1/users/signup","description":"<h3 id=\"api-request-description\">API Request Description</h3>\n<p>This POST request is used to sign up a new user. The request should be sent to the endpoint <code>127.0.0.1:9000/api/v1/users/signup</code> with the following parameters in the raw request body:</p>\n<ul>\n<li><p><code>name</code>: (string) The name of the user.</p>\n</li>\n<li><p><code>password</code>: (string) The user's chosen password.</p>\n</li>\n<li><p><code>confirmPassword</code>: (string) Confirmation of the user's chosen password.</p>\n</li>\n<li><p><code>email</code>: (string) The user's email address.</p>\n</li>\n</ul>\n<h3 id=\"api-response\">API Response</h3>\n<p>The response of this request is a JSON schema, which defines the structure of the response data in a JSON format. The schema will outline the properties and their data types that can be expected in the response.</p>\n","urlObject":{"protocol":"https","path":["api","v1","users","signup"],"host":["unlikely-brina-sgc-6053c46d","koyeb","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8037570-a77c-4e45-a9b5-0a2f57c7c88d"}],"id":"fe98b0a5-c27a-4137-bee0-a427f637cf37","_postman_id":"fe98b0a5-c27a-4137-bee0-a427f637cf37","description":""},{"name":"posts","item":[{"name":"Create post","id":"4d1aa3b8-ca42-4f60-a06c-850a6bd8e22b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"title\": \"13 reasons to code\",\r\n\t\"description\": \"why we should code right now ... code@anywhere@anytime\",\r\n\t\"contents\": [\r\n\t\t{\r\n\t\t\t\"type\": \"text\",\r\n\t\t\t\"value\":\r\n\t\t\t\t\"check out the following html code to understand why we should code every time when we got the chance.\\n\"\r\n\t\t}\r\n\t],\r\n\t\"links\": [\r\n\t\t\"https://www.w3school.com/web-development\",\r\n\t\t\"https://www.github.com/community/abc\"\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/posts","description":"<p>The POST request is used to create a new post in the API. The request should be made to the endpoint 127.0.0.1:9000/api/v1/posts with the following payload in the raw request body type:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"title\": \"string\",\n  \"description\": \"string\",\n  \"contents\": [\n    {\n      \"type\": \"string\",\n      \"value\": \"string\"\n    }\n  ],\n  \"likes\": \"number\",\n  \"links\": [\"string\"]\n}\n\n</code></pre>\n<p>The response of this request can be documented as a JSON schema.</p>\n","urlObject":{"port":"9000","path":["api","v1","posts"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d1aa3b8-ca42-4f60-a06c-850a6bd8e22b"},{"name":"Unlike post","id":"d29f8cb4-d669-4fbd-8817-72bdc1514af6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"127.0.0.1:9000/api/v1/posts/unlike/67223b30845202c0d3d90ad1","urlObject":{"port":"9000","path":["api","v1","posts","unlike","67223b30845202c0d3d90ad1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d29f8cb4-d669-4fbd-8817-72bdc1514af6"},{"name":"Get my posts","id":"ad82fbf7-c87d-4c87-ab33-e47454052855","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTdkYTRhZGM1OWEwZGI2MGMyMDMzZiIsImlhdCI6MTcyOTY2OTE5NCwiZXhwIjoxNzI5NjcyNzk0fQ.0Mz3EZ0JNYe6un3qVVloyjzLJvhABAQVlddWXlLzNX4","type":"text"}],"url":"127.0.0.1:9000/api/v1/posts/myPosts","description":"<h3 id=\"get-my-posts\">Get My Posts</h3>\n<p>This endpoint makes an HTTP GET request to retrieve the posts belonging to the current user.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response of this request is a JSON object representing the posts of the user. You can refer to the JSON schema below to understand the structure of the response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"postId\": {\n      \"type\": \"string\"\n    },\n    \"title\": {\n      \"type\": \"string\"\n    },\n    \"content\": {\n      \"type\": \"string\"\n    },\n    \"createdAt\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","posts","myPosts"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad82fbf7-c87d-4c87-ab33-e47454052855"},{"name":"Get all posts","id":"a1098143-a0ab-4bb5-a166-fe4ea7a184e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/posts","description":"<p>This endpoint retrieves a list of posts in JSON format. Below is the JSON schema for the response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"posts\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"title\": {\n            \"type\": \"string\"\n          },\n          \"content\": {\n            \"type\": \"string\"\n          },\n          \"author\": {\n            \"type\": \"string\"\n          },\n          \"created_at\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\"\n          }\n        },\n        \"required\": [\"id\", \"title\", \"content\", \"author\", \"created_at\"]\n      }\n    }\n  },\n  \"required\": [\"posts\"]\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","posts"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a1098143-a0ab-4bb5-a166-fe4ea7a184e7"},{"name":"Get Post by Id","id":"f4ff2023-5f83-4c1f-86ee-29798c75cde8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/posts/671816857c7ba7f94d88bb77","description":"<p>This endpoint retrieves a specific post identified by the provided ID. The response of this request is documented below as a JSON schema.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"postId\": {\n      \"type\": \"string\"\n    },\n    \"title\": {\n      \"type\": \"string\"\n    },\n    \"content\": {\n      \"type\": \"string\"\n    },\n    \"author\": {\n      \"type\": \"string\"\n    },\n    \"createdAt\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    },\n    \"updatedAt\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","posts","671816857c7ba7f94d88bb77"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f4ff2023-5f83-4c1f-86ee-29798c75cde8"},{"name":"Update post","id":"c6a1dd91-8d39-4052-ab75-add85eaf0d5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTdkYTRhZGM1OWEwZGI2MGMyMDMzZiIsImlhdCI6MTcyOTY2OTE5NCwiZXhwIjoxNzI5NjcyNzk0fQ.0Mz3EZ0JNYe6un3qVVloyjzLJvhABAQVlddWXlLzNX4","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"13 reasons why we should code in the morning\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/posts/671816857c7ba7f94d88bb77","description":"<p>This endpoint makes an HTTP PATCH request to update a specific post with the given ID. The request body should contain the updated title of the post.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON schema representing the structure of the updated post object. The schema will define the properties and data types of the fields in the updated post object.</p>\n","urlObject":{"port":"9000","path":["api","v1","posts","671816857c7ba7f94d88bb77"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6a1dd91-8d39-4052-ab75-add85eaf0d5b"},{"name":"Delete post","id":"1a60105f-9cd5-4438-b997-86f45559ec65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"127.0.0.1:9000/api/v1/posts/6722150ea92bd40baa5ac133","description":"<p>This endpoint sends an HTTP DELETE request to delete a specific post with the given ID. The response of this request is documented as a JSON schema.</p>\n","urlObject":{"port":"9000","path":["api","v1","posts","6722150ea92bd40baa5ac133"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a60105f-9cd5-4438-b997-86f45559ec65"},{"name":"Like post","id":"6f9168d5-3882-472d-9bd2-a23529c4123f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"127.0.0.1:9000/api/v1/posts/like/6722150ea92bd40baa5ac133","urlObject":{"port":"9000","path":["api","v1","posts","like","6722150ea92bd40baa5ac133"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f9168d5-3882-472d-9bd2-a23529c4123f"}],"id":"cae5d28e-3f5d-4add-865a-c5888061ca76","_postman_id":"cae5d28e-3f5d-4add-865a-c5888061ca76","description":""},{"name":"project/comment","item":[{"name":"Create comment for project","id":"68db9ee5-b32d-4a29-bc4c-831ea3038ea9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"comment\":\"what an amazingly intersting work man keep it up\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/projects/67220c70887b4db80bd7da83/comments","description":"<p>The endpoint allows the user to submit a comment for a specific project. The HTTP POST request should be made to 127.0.0.1:9000/api/v1/projects/6717e1c3a9212f25adb2b1a2/comments with the comment payload in the raw request body type.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON schema. The structure of the response will be documented as a JSON schema.</p>\n","urlObject":{"port":"9000","path":["api","v1","projects","67220c70887b4db80bd7da83","comments"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"68db9ee5-b32d-4a29-bc4c-831ea3038ea9"}],"id":"d18fc873-cc26-4860-8a72-7a32e8bbd9ab","_postman_id":"d18fc873-cc26-4860-8a72-7a32e8bbd9ab","description":""},{"name":"post/comment","item":[{"name":"Create comment for post","id":"d1b2b2b6-5464-46d3-9820-c67024052974","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3MTdkYTRhZGM1OWEwZGI2MGMyMDMzZiIsImlhdCI6MTcyOTYzMTY3NCwiZXhwIjoxNzI5NjM1Mjc0fQ.DZIzDvFja9GhR_1c7wanlPgy3qjgCDko_Rj0iwv4GsU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"comment\":\"what an amazingly intersting work man keep it up\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/posts/671816857c7ba7f94d88bb77/comments","description":"<p>This endpoint allows users to create a new comment for a specific post. The HTTP POST request should be sent to 127.0.0.1:9000/api/v1/posts/671816857c7ba7f94d88bb77/comments with a JSON payload in the raw request body. The payload should contain a \"comment\" key with the value of the new comment to be created.</p>\n<p>The response of this request can be documented as a JSON schema.</p>\n","urlObject":{"port":"9000","path":["api","v1","posts","671816857c7ba7f94d88bb77","comments"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1b2b2b6-5464-46d3-9820-c67024052974"}],"id":"d9ff4c9f-f95c-49ee-a187-7efdbee8ef2e","_postman_id":"d9ff4c9f-f95c-49ee-a187-7efdbee8ef2e","description":""},{"name":"search","item":[{"name":"Search posts","id":"e3d460e5-6580-4f8e-b02c-7153c42938eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/search/posts?q=13 reasons","description":"<p>The API endpoint performs an HTTP GET request to retrieve posts based on the search query provided. The query parameter \"q\" is used to specify the search term.</p>\n<p>The response of this request can be documented as a JSON schema to define the structure of the data returned by the API.</p>\n","urlObject":{"port":"9000","path":["api","v1","search","posts"],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"name","value":"sgc"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"limit","value":"10"},{"disabled":true,"key":"sort","value":"likes"},{"key":"q","value":"13 reasons"}],"variable":[]}},"response":[],"_postman_id":"e3d460e5-6580-4f8e-b02c-7153c42938eb"},{"name":"Search user","id":"48be1167-3644-4c93-9de8-8a5cd4d68628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/search/users?q=s&limit=1&page=2","description":"<p>This endpoint sends an HTTP GET request to retrieve user search results. The request includes query parameters for the search term, limit, and page number.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON schema, representing the structure of the data returned by the API. The schema defines the properties and data types of the response object, providing a clear understanding of the expected structure of the search results.</p>\n","urlObject":{"port":"9000","path":["api","v1","search","users"],"host":["127","0","0","1"],"query":[{"key":"q","value":"s"},{"key":"limit","value":"1"},{"key":"page","value":"2"}],"variable":[]}},"response":[],"_postman_id":"48be1167-3644-4c93-9de8-8a5cd4d68628"},{"name":"Search projects","id":"46f313df-7c38-4645-9d2f-4f15322f42b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/search/projects?q=as","description":"<p>This endpoint makes an HTTP GET request to search for projects based on the provided query parameter \"q\". The response of this request is documented as a JSON schema.</p>\n<p>The response JSON schema will define the structure and data types of the response object returned by the API endpoint.</p>\n","urlObject":{"port":"9000","path":["api","v1","search","projects"],"host":["127","0","0","1"],"query":[{"key":"q","value":"as"}],"variable":[]}},"response":[],"_postman_id":"46f313df-7c38-4645-9d2f-4f15322f42b3"},{"name":"General search","id":"482a51c1-3501-46ac-bf5c-c491cd818b90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/search?q=w","description":"<p>The endpoint performs an HTTP GET request to retrieve search results based on the query parameter \"q\". The response of this request is documented as a JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"results\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"title\": {\n            \"type\": \"string\"\n          },\n          \"description\": {\n            \"type\": \"string\"\n          }\n        },\n        \"required\": [\"id\", \"title\", \"description\"]\n      }\n    }\n  },\n  \"required\": [\"results\"]\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","search"],"host":["127","0","0","1"],"query":[{"key":"q","value":"w"}],"variable":[]}},"response":[],"_postman_id":"482a51c1-3501-46ac-bf5c-c491cd818b90"}],"id":"ab43e711-6a89-4079-bdf7-dd3f774ace7e","_postman_id":"ab43e711-6a89-4079-bdf7-dd3f774ace7e","description":""},{"name":"latest ( projects and posts)","item":[{"name":"Get latests","id":"b23554c1-56e8-43ce-bf6f-e674134f76a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/latest","description":"<p>This endpoint makes an HTTP GET request to retrieve the latest data from the API.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request is a JSON object representing the latest data. Below is the JSON schema for the response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    // Add properties based on the actual response data\n  }\n}\n\n</code></pre>\n","urlObject":{"port":"9000","path":["api","v1","latest"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b23554c1-56e8-43ce-bf6f-e674134f76a4"}],"id":"e0df9f73-bc04-456f-aa9a-bb6f865de09a","description":"<p>an end point to retrieve top 15 entities which is mix of both posts and projects compared by their latest update</p>\n","_postman_id":"e0df9f73-bc04-456f-aa9a-bb6f865de09a"},{"name":"Organization","item":[{"name":"Create Organization","id":"6ec39ea3-de74-4a76-a528-4ae78e06fa78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Sample\",\r\n    \"description\":\"This is a test bit group 1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/organization/","urlObject":{"port":"9000","path":["api","v1","organization",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ec39ea3-de74-4a76-a528-4ae78e06fa78"},{"name":"Send Invitation","id":"614feed7-f19b-4622-bd72-a07721318083","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"dawitzewdu2123@gmail.com\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/organization/67a13012f73fe83f920344b5/invitations/","urlObject":{"port":"9000","path":["api","v1","organization","67a13012f73fe83f920344b5","invitations",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"614feed7-f19b-4622-bd72-a07721318083"},{"name":"Approve Invitation","id":"3c3fbef4-5048-4048-924f-38a1d9671afd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:9000/api/v1/organization/invitations/f2dd8cea629b5f18fe6dd203b782486c1aa04ffe02213aff63cfda6cae5835e5/67a13012f73fe83f920344b5","urlObject":{"protocol":"http","port":"9000","path":["api","v1","organization","invitations","f2dd8cea629b5f18fe6dd203b782486c1aa04ffe02213aff63cfda6cae5835e5","67a13012f73fe83f920344b5"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c3fbef4-5048-4048-924f-38a1d9671afd"},{"name":"Add project","id":"2bc24671-8803-4d71-ad96-9512638beaaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n                \"tags\": [\"simple-server\", \"sever-go\", \"go-server\", \"go\", \"server-with-go\", \"react-with-go\"],\r\n                \"name\": \"2 Sample organization project\",\r\n                \"type\": \"snippet\",\r\n                \"code\": \r\n                     {\r\n                        \"code\": \"\\n<div className=\\\"relative w-[8rem] bg-slate-800 py-2 px-4 rounded-lg mt-3\\\">\\n\\t<div className=\\\" absolute -top-3 left-1/2 -translate-x-1/2 text-slate-800 -z-1\\\">\\n\\t\\t<TbTriangleFilled size={20} />\\n\\t</div>\\n\\t<span>Tooltip Down update</span>\\n</div>\\n\"\r\n                    },\r\n                \"lngName\": \"nodejs\",\r\n                \"note\": \"a minimalized go sever .. as a starting point to develop api for any application\"\r\n            }","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/organization/project/67a13012f73fe83f920344b5","urlObject":{"port":"9000","path":["api","v1","organization","project","67a13012f73fe83f920344b5"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2bc24671-8803-4d71-ad96-9512638beaaa"},{"name":"Get All Organizational Projects","id":"c0e0f56b-e37c-4bea-98ae-aebd4a779201","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/organization/projects/67a13012f73fe83f920344b5","urlObject":{"port":"9000","path":["api","v1","organization","projects","67a13012f73fe83f920344b5"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0e0f56b-e37c-4bea-98ae-aebd4a779201"},{"name":"Get organizational Project by ID","id":"1026eb29-a5b2-4c22-ae24-2699aa01b207","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/organization/project/67a13012f73fe83f920344b/67a710741017d3c01c655855","urlObject":{"port":"9000","path":["api","v1","organization","project","67a13012f73fe83f920344b","67a710741017d3c01c655855"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1026eb29-a5b2-4c22-ae24-2699aa01b207"},{"name":"Update Organizational project","id":"95f6671e-0dd7-4919-925e-5cb3fd629408","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n\r\n        \"name\": \"Updated 2 Sample organization project\",\r\n        \"code\": \r\n                {\r\n                    \"html\": \"<h1>Hello world from postman4</h1>\",\r\n                    \"css\": \"\",\r\n                    \"js\": \"\"\r\n                }\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/organization/project/67a13012f73fe83f920344b5/67a70f40e95d910854f57591","urlObject":{"port":"9000","path":["api","v1","organization","project","67a13012f73fe83f920344b5","67a70f40e95d910854f57591"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"95f6671e-0dd7-4919-925e-5cb3fd629408"},{"name":"Delete Project","id":"2170b0d3-695c-4459-8870-dcddbddd18f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"127.0.0.1:9000/api/v1/organization/project/67a13012f73fe83f920344b5/67a710741017d3c01c655855","urlObject":{"port":"9000","path":["api","v1","organization","project","67a13012f73fe83f920344b5","67a710741017d3c01c655855"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2170b0d3-695c-4459-8870-dcddbddd18f6"},{"name":"Get all organization","id":"3f35ba5e-93df-4e7f-a584-e102eb84a02d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"127.0.0.1:9000/api/v1/organization/","urlObject":{"port":"9000","path":["api","v1","organization",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f35ba5e-93df-4e7f-a584-e102eb84a02d"},{"name":"Update Organization","id":"4360fc8b-8fb8-4fcf-ab93-781315b211d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"BiT Group 1 updated\"   \r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/organization/67a13012f73fe83f920344b5","urlObject":{"port":"9000","path":["api","v1","organization","67a13012f73fe83f920344b5"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4360fc8b-8fb8-4fcf-ab93-781315b211d3"},{"name":"Delete Organization","id":"c8b7ff33-b1fc-4abc-b14e-11e98c4998fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"127.0.0.1:9000/api/v1/organization/67a8f069a891143b1b8384d4","urlObject":{"port":"9000","path":["api","v1","organization","67a8f069a891143b1b8384d4"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8b7ff33-b1fc-4abc-b14e-11e98c4998fd"}],"id":"84f60107-eda4-4179-a775-0106876356c7","_postman_id":"84f60107-eda4-4179-a775-0106876356c7","description":""},{"name":"AI","item":[{"name":"Bug Detect","id":"fc6ff525-30f5-41ee-9c69-8dbb83401c4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"selectedModel\": \"Gemini 2.0 Flash\",\r\n  \"language\":\"js\",\r\n  \"code\": \"console.log(\\\"Hello world typescript\\\") fun name(params) {\\n    console.log(params)\\n}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/projects/find-bug","urlObject":{"port":"9000","path":["api","v1","projects","find-bug"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc6ff525-30f5-41ee-9c69-8dbb83401c4c"},{"name":"Chat","id":"f465c37f-8450-494b-8d2b-51e100939d23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"selectedModel\": \"Moonshot AI Kimi VL A3B Thinking\",\r\n  \"language\":\"js\",\r\n  \"history\":\"\",\r\n  \"code\": \"console.log(\\\"Hello world typescript\\\"); function name(params) {\\n    console.log(params);\\n}\",\r\n  \"question\":\"Teach me about the above line of code as a beginner\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/projects/chat","urlObject":{"port":"9000","path":["api","v1","projects","chat"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f465c37f-8450-494b-8d2b-51e100939d23"},{"name":"AutoCompletion","id":"edfeb0a1-94cf-41d3-825a-efd69247bc10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"selectedModel\": \"Gemini 2.0 Flash\",\r\n  \"language\":\"js\",\r\n  \"code\": \"console.log(\\\"Hello world typescript\\\"); function\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:9000/api/v1/projects/auto-completion","urlObject":{"port":"9000","path":["api","v1","projects","auto-completion"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"edfeb0a1-94cf-41d3-825a-efd69247bc10"}],"id":"c4c9bc04-260d-4e2c-89ff-9043143ad9d2","_postman_id":"c4c9bc04-260d-4e2c-89ff-9043143ad9d2","description":""}]}