# Get Class Dashboard **GET /classes/{classId}/dashboard** Retrieves unified dashboard view combining posts and assignments, sorted chronologically with pagination ## 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) ID of the class ### Query parameters - **type** (string) Filter by item type - **startDate** (string(date-time)) Filter items created after this date - **endDate** (string(date-time)) Filter items created before this date - **page** (integer) Page number (1-based) - **pageSize** (integer) Items per page ## Responses ### 200 Dashboard items retrieved successfully #### Body: application/json (object) - **success** (boolean) - **code** (integer(int32)) - **message** (string) - **data** (array[object]) - **pagination** (object) ### 400 Bad Request - Invalid query parameters #### Body: application/json (object) - **success** (boolean) - **code** (integer) - **errorCode** (string) - **message** (string) - **timestamp** (string(date-time)) ### 401 Unauthorized #### Body: application/json (object) - **success** (boolean) - **code** (integer) - **errorCode** (string) - **message** (string) - **timestamp** (string(date-time)) ### 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)