Package org.lockss.laaws.config.api
Interface UsersApi
- All Known Implementing Classes:
UsersApiController
@Validated
public interface UsersApi
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.springframework.http.ResponseEntity<String>addUserAccounts(@Valid String body) default org.springframework.http.ResponseEntity<String>getUserAccount(String username) default org.springframework.http.ResponseEntity<Void>removeUserAccount(String username) default org.springframework.http.ResponseEntity<String>updateUserAccount(String username, @Valid String body, String xLockssRequestCookie)
-
Method Details
-
getDelegate
UsersApiDelegate getDelegate() -
addUserAccounts
-
getUserAccount
-
removeUserAccount
-
updateUserAccount
@RequestMapping(value="/users/{username}", produces="application/json", consumes="application/json", method=PATCH) default org.springframework.http.ResponseEntity<String> updateUserAccount(@PathVariable("username") String username, @Valid @RequestBody @Valid String body, @RequestHeader(value="X-Lockss-Request-Cookie",required=false) String xLockssRequestCookie)
-