-
Notifications
You must be signed in to change notification settings - Fork 1
API Definition
The User MS is responsible for managing all connection requests to the application for the authentication of personal data of the application users. Specifically, it will process user connections to maintain a history of their data, songs and reports.
User MS defines an "User" entity with the following attributes:
(int) user_id
(str) username
(str) mail
(str) password
- Create user
- List user info (own user)
- List any users info (only for admin)
- Update user info (own user)
- Update any users info (only for admin)
- Delete user (own user)
- Delete any user (only for admin)
GET /users
GET /users/:id
POST /users
PUT /users/:id
DELETE /users/:id
User connects directly to the messaging, songs and support APIs. The occasion in which the integration is executed is as follows:
A Report is accepted by a technician as offensive, the message is deleted and User is updated by increasing the number of deleted messages:
(Messages) DELETE messages
(Users) PATCH users
User is associated with a login API, Google OAuth. This is used to authenticate users more quickly, without the need to go through a form itself and reuse the users' Google accounts.