-
POST /api/v1/users/register : for register user (this endpoint for create new user)
-
POST /api/v1/users/login : for login user (if user data is correct, it will return token)
-
POST /api/v1/users/reflections : for create data user (in headers.authorization user must input token for create new data reflection)
-
GET /api/v1/users/reflections : for get data user (if user have data reflection, it will return it)
-
PUT /api/v1/users/reflections/:id : for edit data user (if you have token in headers.authorization, to change data reflection user must input reflectionid in parameters)
-
DELETE /api/v1/users/reflections/:id : for delete data user (if you have token in headers.authorization, to delete data reflection user must input reflectionid in parameters)