Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projects Service - Endpoints #268

Open
aletya opened this issue Oct 27, 2024 · 0 comments
Open

Projects Service - Endpoints #268

aletya opened this issue Oct 27, 2024 · 0 comments
Assignees

Comments

@aletya
Copy link
Contributor

aletya commented Oct 27, 2024

  • endpoints : /projects/
    • POST /create
      • Creates a new project/team.
    • PATCH /update
      • Updates a team's details (only the owner can update).
    • POST /join
      • Allows a user to join a team using an access code.
    • POST /leave
      • Allows a user to leave a team.
    • GET /details
      • Retrieves the details of the team the user is part of.
    • GET /owner/:ownerId (staff only)
      • Retrieves the details of a specific team using the ownerId.
    • GET /list (staff only)
      • Retrieves all teams (for staff use).
    • DELETE /member/:userId
      • Removes a user from the team (useful for both the owner and staff).
    • GET /refresh-access-code (owner only)
      • Refreshes the team's access code, with a 5-minute expiry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants