-
Notifications
You must be signed in to change notification settings - Fork 21
Backend Endpoints
A list of endpoints for access. Excludes those used for testing. Note: These endpoints all produce and consume JSON.
Checks that a JWT token is valid
Response: 204 No Content
Finds possible buddy matches for a user given a list of course IDs to match through
Request Body: Array of course IDs under "courseIds" key
Response: 200 OK
Response Body: Array of Users
Gets an array of all messages sent to user id specified in path
Response: 200 OK
Response Body: Array of Messages
Gets an array of all the chatroom's associated with a given user
Response: 200 OK
Response Body: Array of Chats
Deletes all messages between the current user and the given user id
Response: 200 OK
Upload a course timetable URL for the current table
Request Body: String containing URL to timetable
Response: 200 OK
Upload a course timetable .ics file for the current table
Request Body: MultipartFile containing the .ics timetable file
Response: 200 OK
Gets the current user's courses
Response: 200 OK
Response Body: Array of Courses taken by current User
Gets the courses for a specified user id in path
Response: 200 OK
Response Body: Array of Courses taken by specified User
Get a course by specified course id in path
Response: 200 OK
Response Body: Course corresponding to specified id
Delete a course by specified course id in path, for current user to withdraw from course
Response: 200 OK
Get the current User
Response: 200 OK
Response Body: Current User
Update the pairingEnabled field in current User
Request Body: Boolean to set pairingEnabled to
Response: 200 OK
Response Body: User with updated pairingEnabled value
Add a buddy with specified id in path, to current User
Response: 200 OK
Delete a buddy with specified id in path, to current User
Response: 200 OK
Get a User with specified id in path
Response: 200 OK
Response Body: User corresponding to specified id
User logging in using Google
Response: 200 OK
Gets a list of buddies of a User
Response: 200 OK
Response Body: Array of Users who are "buddies" to current User
Gets a list of buddies of a User from a given course
Response: 200 OK
Response Body: Array of Users who are "buddies" to current User from a given course
Add a blocked user with specified id in path, blocked by current User
Response: 200 OK
Gets a list of users blocked by current User
Response: 200 OK
Response Body: Array of Users who are "blocked" by current User
Unblocks an existing blocked user
Response: 200 OK
Add a reported user with specified id in path, reported by current User
Response: 200 OK
General Information
Project Details
Implementation Details