-
Notifications
You must be signed in to change notification settings - Fork 1
API Documentation
Denise edited this page Feb 15, 2022
·
12 revisions
This web app uses the following API routes to dynamically update the page.
-
An authenticated user may create a new challenge and view all challenges that they have created without causing a refresh/redirect.
GET /api/challengesPOST /api/challenges
-
An authenticated user may view, edit, and delete a specific challenge that they have created by changing its title or description.
GET /api/challenges/:challengeIdPUT /api/challenges/:challengeIdDELETE /api/challenges/:challengeId
-
Users can view all clans. They can also create at most one (1) new clan.
GET /api/clansPOST /api/clans
-
An authenticated user may create at most one (1) new clan. They can also view a specific clan. They may edit or delete a clan if they are the clan administrator.
GET /api/clans/:clanIdPUT /api/clans/:clanIdDELETE /api/clans/:clanId