- add get accounts to account.http - add getAccounts to AccountController - add missing test in AccountServiceTest - add getAccounts to AccountService
26 lines
467 B
HTTP
26 lines
467 B
HTTP
### get user by id
|
|
GET {{hostname}}/account-00000000-0000-7000-0000-000000000001
|
|
|
|
### Get admin information
|
|
POST {{hostname}}/account
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"username": "user01010101",
|
|
"password": "p4ssw0rd",
|
|
"enabled": true,
|
|
"roles": [
|
|
"ROLE_ADMIN",
|
|
"ROLE_TEST"
|
|
]
|
|
}
|
|
|
|
### Get accounts
|
|
GET {{hostname}}/accounts
|
|
|
|
### Get accounts
|
|
GET {{hostname}}/accounts/page-1
|
|
|
|
### Get accounts
|
|
GET {{hostname}}/accounts/page-1/show-5
|