We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@GET("/users/{id}") #getUser(long id)
Response<User>
@POST("/users") #register(CreateUserDTO dto)
201
@GET("/users") #fetch(Pageable pageable)
Response<Collection<User>>
403
@PATCH("/users/{id}") update(long id, UserUpdateDTO dto)
@DELETE("/users/{id}") delete(long id)
204
@POST("/login") #login(String user, String password)
Response<SessionToken>
@GET("/login") #check(String token)
The text was updated successfully, but these errors were encountered:
mateS124
No branches or pull requests
Users
@GET("/users/{id}") #getUser(long id)
->Response<User>
@POST("/users") #register(CreateUserDTO dto)
->Response<User>
-201
@GET("/users") #fetch(Pageable pageable)
->Response<Collection<User>>
-403
if not ADMIN / SUPER_ADMIN@PATCH("/users/{id}") update(long id, UserUpdateDTO dto)
->Response<User>
- with password change@DELETE("/users/{id}") delete(long id)
-> Response<?> -204
Login
@POST("/login") #login(String user, String password)
->Response<SessionToken>
@GET("/login") #check(String token)
->Response<SessionToken>
The text was updated successfully, but these errors were encountered: