-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
Randy Hac edited this page Aug 16, 2023
·
4 revisions
- Method: "GET"
- URL: "api/auth"
- Method: "POST"
- URL: "api/auth/login"
- Method: "POST"
- URL: "api/auth/signup"
- Method: ”DELETE”
- URL: “api/auth/logout”
Returns all servers by user ID
- Method: “GET”
- URL: “api/users/projects”
Returns the details of a project by its ID
- Method: “GET”
- URL: “api/projects/int:id”
Creates and returns a new project
- Method: “POST”
- URL: “api/projects”
Updates and returns an existing project
- Method: “PUT”
- URL: “api/projects/int:id”
Deletes an existing project
- Method: “DELETE”
- URL: “api/projects/int:id”
Returns all project’s sections
- Method: “GET”
- URL: “api/projects/int:id/section”
Returns the details of a section by its ID
- Method: “GET”
- URL: “api/section/int:id”
Creates and returns a new section
- Method: “POST”
- URL: “api/projects/int:id/sections”
Updates and returns an existing project section
- Method: “PUT”
- URL: “api/section/int:id”
Deletes an existing project section
- Method: “DELETE”
- URL: “api/sections/int:id”
Returns all section cards
- Method: “GET”
- URL: “api/sections/int:id/card”
Returns the details of a card by its ID
- Method: “GET”
- URL: “api/cards/int:id”
Creates and returns a new card
- Method: “POST”
- URL: “api/sections/int:id/cards”
Updates and returns an existing card
- Method: “PUT”
- URL: “api/cards/int:id”
Deletes an existing card
- Method: “DELETE”
- URL: “api/cards/int:id”
Returns comments
- Method: “GET”
- URL: “api/cards//comments”
Returns the details of a comment by its ID
- Method: “GET”
- URL: “api/comments/id”
Creates and returns a comment
- Method: “POST”
- URL: “api/cards/int:id/comment”
Updates and returns a comment
- Method: “PUT”
- URL: “api/comments/id”
Deletes an existing comment
- Method: “DELETE”
- URL: “api/comments/int:id”