v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBList all registrations in a classroom slot
🔑
Required OAuth scope: classrooms:read.
📖
This endpoint is paginated with a page size of 2,000 slot registrations. For more information, see the Pagination guide.
Lists all users registered to a given classroom slot.
Path parameters
The unique ID of the classroom slot.
Query parameters
Filter on createdAt property with LHS bracket notation.
Expected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.
{
"lt": "2020-01-01T10:30:26.000Z",
"gte": "2020-01-01T10:30:26.000Z"
}Filter on hasAttended property with LHS bracket notation.
Expected value format is a boolean (true or false).
Filter on modifiedAt property with LHS bracket notation.
Expected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.
{
"lt": "2020-01-01T10:30:26.000Z",
"gte": "2020-01-01T10:30:26.000Z"
}Filter on userId property with LHS bracket notation.
Expected value format is a valid ID (24 digits or letters).
{
"eq": "507f1f77bcf86cd799439011",
"ne": "507f1f77bcf86cd799439011",
"in": [
"507f1f77bcf86cd799439011"
],
"nin": [
"507f1f77bcf86cd799439011"
]
}Filter on status property with LHS bracket notation.
Expected value format is a string (archived, published).
{
"eq": "archived"
}Headers
The version of the API.
Response
Returns one page of 2000 slot registrations.
Example response
[
{
"_id": "507f1f77bcf86cd799439011",
"userId": "507f1f77bcf86cd799439011",
"attendanceDuration": 60,
"pathId": "507f1f77bcf86cd799439011"
}
]