List surveys by department ID
GET/survey/department/:department_id
List all surveys associated with a specific department.
Key Features:
- Filter surveys by department.
- Optionally include full survey content.
- Useful for displaying all surveys available to users within a department.
If with_content=True
, each survey will include its full content. If not, only minimal information (IDs, titles, timestamps) is returned.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error