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/exam-template
- 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 exam templates by name.
Filters exam templates by exam type.
Response
OK
Example response
{
"content": [
{
"id": 1,
"institutionId": 1,
"name": "Semester End BYOD",
"examType": "BYOD",
"configurationTemplateId": 4,
"clientConfigurationId": 1,
"indicatorTemplates": [
{
"id": 1,
"examTemplateId": 1,
"name": "Battery",
"type": "BATTERY_STATUS",
"color": "44a2c6",
"thresholds": [
{
"value": 50,
"color": "ff9800"
}
]
}
]
}
]
}Changes
- breaking
the response property
//became optional for the status - info
api tag
ExamTemplateadded - info
api tag
exam-template-controllerremoved - info
added the new optional
queryrequest parameterexamType - info
added the new optional
queryrequest parametername - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
////became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status
- breaking
- 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