{"info":{"_postman_id":"8b177adf-8a34-4f4f-aaf5-f88f49b8faab","name":"CG_Student_Portal","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"39216490","collectionId":"8b177adf-8a34-4f4f-aaf5-f88f49b8faab","publishedId":"2sAYX5LhiM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-02-04T09:27:05.000Z"},"item":[{"name":"Events","item":[{"name":"getEvents","id":"9a6d0727-f74a-451b-88fc-7c0734606602","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"9a6d0727-f74a-451b-88fc-7c0734606602"},{"name":"postEvents","id":"fcfaa41e-794a-42d0-b287-4650cef6a2c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":" {\r\n    \"date\": \"2024-03-10\",\r\n    \"eventTitle\": \"AI Workshop\",\r\n    \"eventLocation\": \"San Francisco, USA\",\r\n    \"description\": \"A hands-on workshop on AI and machine learning.\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/students/events","urlObject":{"protocol":"http","port":"8080","path":["students","events"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcfaa41e-794a-42d0-b287-4650cef6a2c6"},{"name":"deleteEvent","id":"6976222c-3fde-45d3-927b-faa3be71c0f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\" : \"id_here\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/students/events","urlObject":{"protocol":"http","port":"8080","path":["students","events"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6976222c-3fde-45d3-927b-faa3be71c0f3"}],"id":"0a68e294-03b1-4c13-83f2-b57190310ac8","_postman_id":"0a68e294-03b1-4c13-83f2-b57190310ac8","description":""},{"name":"Activity","item":[{"name":"getActivities","id":"9a128886-1fb9-4875-a9b5-c181eac796fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/students/activity","urlObject":{"protocol":"http","port":"8080","path":["students","activity"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a128886-1fb9-4875-a9b5-c181eac796fb"},{"name":"postActivity","id":"1b675691-f998-4aea-b8f3-af0a942b91d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"activityDate\": \"aaa\",\r\n    \"activityType\": \"vvbb\",\r\n    \"activityPoints\": 500,\r\n    \"organisedBy\": \"sdfd\",\r\n    \"activity\": [\r\n        {\r\n            \"team\": \"Team1\",\r\n            \"points\": 10\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/students/activity","urlObject":{"protocol":"http","port":"8080","path":["students","activity"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b675691-f998-4aea-b8f3-af0a942b91d6"},{"name":"deleteActivity","id":"80818ccc-cf69-4186-b657-86cc4089a481","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\" : \"Id_here\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/students/activity","urlObject":{"protocol":"http","port":"8080","path":["students","activity"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"80818ccc-cf69-4186-b657-86cc4089a481"}],"id":"e329dddc-cb84-4dc5-bb15-02e29fece5ad","_postman_id":"e329dddc-cb84-4dc5-bb15-02e29fece5ad","description":""},{"name":"Task Managemant","item":[{"name":"Add Task to Group By Group ID","id":"8685fa17-fa68-4e17-aa2d-8e5bb846062b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"group_name\": \"Web Developers\",\r\n    \"description\": \"A group for all web developers to collaborate and share knowledge.\",\r\n    \"UserID_Array\": [\r\n        \"67b98a4a2adb946d2c2095db\",\r\n        \"67b98a672adb946d2c2095de\"\r\n    ],\r\n    \"created_by\": \"67b98a362adb946d2c2095d8\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/group/task/:taskID","urlObject":{"protocol":"http","port":"8080","path":["group","task",":taskID"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"","key":"taskID"}]}},"response":[],"_postman_id":"8685fa17-fa68-4e17-aa2d-8e5bb846062b"}],"id":"0f7e50ff-002a-463a-b04e-84ab2677e35a","_postman_id":"0f7e50ff-002a-463a-b04e-84ab2677e35a","description":""},{"name":"Groups","item":[{"name":"Get all groups","id":"15f441ee-1a0d-4cfc-bb29-e8d69ea08243","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/group/all","urlObject":{"protocol":"http","port":"8080","path":["group","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"15f441ee-1a0d-4cfc-bb29-e8d69ea08243"},{"name":"Get Group by ID [Array]","id":"a28843a5-ccd2-4a46-a696-d4c233048ef2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupIDs\" : [\"Array of id's\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/group","urlObject":{"protocol":"http","port":"8080","path":["group"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a28843a5-ccd2-4a46-a696-d4c233048ef2"},{"name":"Create New Group","id":"65c057ec-9283-4226-8d78-493021f12410","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"group_name\": \"Web Developers\",\r\n    \"description\": \"A group for all web developers to collaborate and share knowledge.\",\r\n    \"UserID_Array\": [\r\n        \"67b98a4a2adb946d2c2095db\",\r\n        \"67b98a672adb946d2c2095de\"\r\n    ],\r\n    \"created_by\": \"67b98a362adb946d2c2095d8\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/group","urlObject":{"protocol":"http","port":"8080","path":["group"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"65c057ec-9283-4226-8d78-493021f12410"},{"name":"Add a User To Group ","id":"64affead-50a4-4220-82ac-574be1f2b692","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupId\": \"\",\r\n    \"userIds\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/group","urlObject":{"protocol":"http","port":"8080","path":["group"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"64affead-50a4-4220-82ac-574be1f2b692"},{"name":"Delete User From Group by Group ID","id":"02bb9b90-a7d0-4d98-8a90-de8d0c4c2831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupId\": \"\",\r\n    \"userIds\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/group","urlObject":{"protocol":"http","port":"8080","path":["group"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"02bb9b90-a7d0-4d98-8a90-de8d0c4c2831"}],"id":"27e25139-1d58-412f-87a9-5e8b2577a4d0","_postman_id":"27e25139-1d58-412f-87a9-5e8b2577a4d0","description":""}]}