Interface UsersApi
public interface UsersApi
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<V1UserBase>org.springframework.http.ResponseEntity<V1EmptyResponse>deleteUser(String username) org.springframework.http.ResponseEntity<V1DetailUserResponse>detailUser(String username) org.springframework.http.ResponseEntity<V1EmptyResponse>disableUser(String username) org.springframework.http.ResponseEntity<V1EmptyResponse>enableUser(String username) org.springframework.http.ResponseEntity<V1ListUserResponse>org.springframework.http.ResponseEntity<V1UserBase>updateUser(String username, V1UpdateUserRequest body)
-
Method Details
-
listUser
-
detailUser
@GetMapping("/api/v1/users/{username}") org.springframework.http.ResponseEntity<V1DetailUserResponse> detailUser(@PathVariable("username") String username) -
createUser
@PostMapping("/api/v1/users") org.springframework.http.ResponseEntity<V1UserBase> createUser(@RequestBody V1CreateUserRequest body) -
updateUser
@PutMapping("/api/v1/users/{username}") org.springframework.http.ResponseEntity<V1UserBase> updateUser(@PathVariable("username") String username, @RequestBody V1UpdateUserRequest body) -
deleteUser
@DeleteMapping("/api/v1/users/{username}") org.springframework.http.ResponseEntity<V1EmptyResponse> deleteUser(@PathVariable("username") String username) -
disableUser
@GetMapping("/api/v1/users/{username}/disable") org.springframework.http.ResponseEntity<V1EmptyResponse> disableUser(@PathVariable("username") String username) -
enableUser
@GetMapping("/api/v1/users/{username}/enable") org.springframework.http.ResponseEntity<V1EmptyResponse> enableUser(@PathVariable("username") String username)
-