Retrieves the seating chart layout for a specific class.
GET
/classes/{classId}/seating-chart
curl \
--request GET 'https://api.huy-devops.site/api/classes/{classId}/seating-chart' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"code": 200,
"message": "string",
"data": {
"rows": 5,
"columns": 6,
"seats": [
{
"id": "seat_123456",
"studentId": "std_123456"
}
],
"separatorInterval": 2
}
}
Response examples (404)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2026-05-04T09:42:00Z"
}
Response examples (500)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2026-05-04T09:42:00Z"
}