Common API Concepts
Both OneRoster and Untis Platform API families share the same pagination, sorting, and filtering mechanism. Every list endpoint on the platform uses the OneRoster 1.1 specification for these operations — regardless of which API family you call.
Pagination
Section titled “Pagination”All list endpoints accept two query parameters:
| Parameter | Description |
|---|---|
limit | Maximum number of results to return per page |
offset | Number of results to skip before returning data |
Example — fetch the first 100 students:
GET {{API_URL}}/ims/oneroster/v1p1/students?limit=100&offset=0Increment offset by your limit value to page through results. Continue until a response returns fewer items than the requested limit.
Sorting
Section titled “Sorting”Use the sort query parameter with a field name. Use the optional orderBy parameter to control direction (asc or desc). If orderBy is omitted, the sort order is implementation-dependent.
Ascending:
GET {{API_URL}}/ims/oneroster/v1p1/users?sort=familyName&orderBy=ascDescending:
GET {{API_URL}}/ims/oneroster/v1p1/users?sort=familyName&orderBy=descFiltering
Section titled “Filtering”Use the filter query parameter with a simple query syntax:
GET {{API_URL}}/ims/oneroster/v1p1/users?filter=role='student'Consult the OneRoster 1.1 specification for the complete filtering syntax and supported operators.
Combining parameters
Section titled “Combining parameters”Pagination, sorting, and filtering can be combined in a single request:
GET {{API_URL}}/ims/oneroster/v1p1/users?filter=role='student'&sort=familyName&orderBy=asc&limit=50&offset=0