v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBClassrooms
List all slots in a classroom
🔑
Required OAuth scope: classrooms:read.
📖
This endpoint is paginated with a page size of 100 classroom slots. For more information, see the Pagination guide.
Lists all slots in a given classroom.
get/api/v2/classrooms/{classroomId}/slots
Path parameters
classroomIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the classroom.
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 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"
}Headers
360-api-version'v2.0' required
The version of the API.
Response
Returns one page of 100 classroom slots.
Example response
[
{
"reportedDuration": 1,
"maxCapacity": 10,
"_id": "507f1f77bcf86cd799439011",
"classroomId": "507f1f77bcf86cd799439011",
"name": "My awesome classroom slot",
"location": "https://meet.google.com/kdf-zkfz-hje",
"trainerIds": [
"507f1f77bcf86cd799439011"
],
"mediaIds": [
"507f1f77bcf86cd799439011"
],
"timezone": "Europe/Paris",
"webinarProvider": "Microsoft Teams",
"context": {
"_id": "507f1f77bcf86cd799439011"
}
}
]