Directory API
Endpoints for the staff directory.
Get Staff List
GET /staff
Response: 200 OK with list of staff members.
Search Staff Directory
Searches and filters the staff directory with pagination.
POST /staff-directory
Request Body:
{
"search": "John",
"department": 2,
"job_title": 5,
"page": 1,
"limit": 20
}
Response: 200 OK with the filtered staff list.
Get Random Staff Members
Returns a random sample of staff members.
POST /staff-random
Request Body:
{
"limit": 5
}
Response: 200 OK