staff
#
Staff backend
create_staff(staff, session=Depends(get_async_session))
async
#
Create a new staff in the database
Source code in zoo/api/staff.py
delete_staff(staff_id, session=Depends(get_async_session))
async
#
Delete a staff in the database
Source code in zoo/api/staff.py
get_staff(staff_id, session=Depends(get_async_session))
async
#
Get a staff from the database
Source code in zoo/api/staff.py
get_staff_members(offset=0, limit=Query(default=100, le=100), session=Depends(get_async_session))
async
#
Get staff from the database
Source code in zoo/api/staff.py
update_staff(staff_id, staff, session=Depends(get_async_session))
async
#
Update a staff in the database