diff --git a/server/src/main/java/ru/dragonestia/picker/controller/AccountsController.java b/server/src/main/java/ru/dragonestia/picker/controller/AccountsController.java index d62be9d..fcb507b 100644 --- a/server/src/main/java/ru/dragonestia/picker/controller/AccountsController.java +++ b/server/src/main/java/ru/dragonestia/picker/controller/AccountsController.java @@ -10,6 +10,8 @@ import ru.dragonestia.picker.api.model.account.ResponseAccount; import ru.dragonestia.picker.model.Account; import ru.dragonestia.picker.service.AccountService; +import java.util.List; + @RestController @RequestMapping("/accounts") @RequiredArgsConstructor @@ -32,4 +34,24 @@ public class AccountsController { return ResponseEntity.notFound().build(); } } + + @GetMapping + List allAccounts() { + throw new UnsupportedOperationException("Not implemented"); + } + + @PostMapping + ResponseAccount registerAccount(@RequestParam String username, @RequestParam String password, @RequestParam String permissions) { + throw new UnsupportedOperationException("Not implemented"); + } + + @PutMapping("/{accountId}") + ResponseEntity updatePermissions(@PathVariable String accountId, @RequestParam String permissions) { + throw new UnsupportedOperationException("Not implemented"); + } + + @DeleteMapping("/{accountId}") + ResponseEntity removeAccount(@PathVariable String accountId) { + throw new UnsupportedOperationException("Not implemented"); + } }