# Get Lessons **GET /classes/{classId}/lessons** Retrieves lessons for a class with optional filters. ## Servers - Local development server: http://localhost:8080/api (Local development server) - Production server: https://api.huy-devops.site/api (Production server) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **classId** (string) The class ID ### Query parameters - **teacherId** (string) Filter by teacher ID - **subject** (string) Filter by subject - **status** (string) Filter by status - **page** (integer) Page number - **pageSize** (integer) Page size ## Responses ### 200 Lessons retrieved successfully #### Body: application/json (object) - **success** (boolean) - **code** (integer(int32)) - **message** (string) - **data** (array[object]) - **pagination** (object) ### 404 Class not found #### Body: application/json (object) - **success** (boolean) - **code** (integer) - **errorCode** (string) - **message** (string) - **timestamp** (string(date-time)) ### 500 Internal Server Error #### Body: application/json (object) - **success** (boolean) - **code** (integer) - **errorCode** (string) - **message** (string) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)