Description
Group controller is missing some key endpoints and functionality.
Tasks
- Add
/leave endpoint to allow users to leave a group.
- Add
/members endpoint to retrieve a list of group members.
- Update
/group/join to retrieve the invite code.
- Add
/group-info endpoint to retrieve group details, including saved join code and related group data.
Acceptance Criteria
- Implement a
/leave endpoint in Group controller
- Ensure the
/members endpoint retrieves the correct list of group members
- Ensure
/group/join retrieves the invite code upon request.
- Implement
/group-info to return group details, including the saved join code.
Description
Group controller is missing some key endpoints and functionality.
Tasks
/leaveendpoint to allow users to leave a group./membersendpoint to retrieve a list of group members./group/jointo retrieve the invite code./group-infoendpoint to retrieve group details, including saved join code and related group data.Acceptance Criteria
/leaveendpoint in Group controller/membersendpoint retrieves the correct list of group members/group/joinretrieves the invite code upon request./group-infoto return group details, including the saved join code.