Get a page of the specific domain entity. Sorting and filtering is applied before paging
Changed onSorting: the sort parameter to sort the list of entities before paging the sort parameter is the name of the entity-model attribute to sort with a leading '-' sign for descending sort order. Note that not all entity-model attribute are suited for sorting while the most are.
</p> Filter: The filter attributes accepted by this API depend on the actual entity model (domain object) and are of the form [domain-attribute-name]=[filter-value]. E.g.: name=abc or type=EXAM. Usually filter attributes of text type are treated as SQL wildcard with %[text]% to filter all text containing a given text-snippet.Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/admin-api/v1/useraccount
- Auth: oauth (defined in the document in a form this page cannot read)
Query parameters
The number of the page to get from the whole list. If the page does not exists, the API retruns with the first page.
The size of the page to get.
the sort parameter to sort the list of entities before paging
The institution identifier of the request. Default is the institution identifier of the institution of the current user
Filters user accounts by first or full name.
Filters user accounts by surname.
Filters user accounts by login username.
Filters user accounts by email address.
Filters user accounts by language.
Filters user accounts by role.
Filters user accounts by active state.
Response
OK
Example response
{
"content": [
{
"uuid": "f91f9c0a-15a1-4c65-89c2-2b60310f2c12",
"institutionId": 1,
"name": "Ada",
"surname": "Lovelace",
"username": "ada.lovelace",
"email": "ada@example.org",
"active": true,
"directLogin": true,
"localAccount": true,
"language": "en",
"timezone": "Europe/Zurich",
"entityPrivileges": [
{
"id": 42,
"entityType": "EXAM",
"entityId": 120,
"userUuid": "f91f9c0a-15a1-4c65-89c2-2b60310f2c12",
"privilegeType": "READ"
}
]
}
]
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- breaking
for the
queryrequest parameteractive, the type changed from no type toboolean - info
for the
queryrequest parameteremail, the type was generalized from no type tostring - info
for the
queryrequest parameterlanguage, the type was generalized from no type tostring - info
for the
queryrequest parametername, the type was generalized from no type tostring - info
for the
queryrequest parameterrole, the type was generalized from no type tostring - info
for the
queryrequest parametersurname, the type was generalized from no type tostring - info
for the
queryrequest parameterusername, the type was generalized from no type tostring
- breaking