# Get Unit Offerings by Semester **GET /api/v1/unit-offerings/by-semester/{semesterId}** Retrieve all unit offerings for a specific semester. ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **semesterId** (string) Semester ID ## Responses ### 200 Unit offerings for semester retrieved successfully #### Body: application/json (object) - **message** (string) Response message - **total** (number) Total number of unit offerings - **offerings** (array[object]) List of unit offerings ### 400 Default bad request error 400 response #### Body: application/json (object) - **message** (string) Response message - **error** (string) - **statusCode** (number) ### 401 Authentication required ### 403 Admin or Lecturer privileges required [Powered by Bump.sh](https://bump.sh)