exhibits
#
Exhibits Router app
create_exhibit(exhibit, session=Depends(get_async_session))
async
#
Create a new exhibit in the database
Source code in zoo/api/exhibits.py
delete_exhibit(exhibit_id, session=Depends(get_async_session))
async
#
Delete exhibit from the database
Source code in zoo/api/exhibits.py
get_exhibit(exhibit_id, session=Depends(get_async_session))
async
#
Get exhibit from the database
Source code in zoo/api/exhibits.py
get_exhibit_animals(exhibit_id, session=Depends(get_async_session))
async
#
List animals in an exhibit
Source code in zoo/api/exhibits.py
get_exhibit_staff(exhibit_id, session=Depends(get_async_session))
async
#
List staff in an exhibit
Source code in zoo/api/exhibits.py
get_exhibits(offset=0, limit=Query(default=100, le=100), session=Depends(get_async_session))
async
#
Get exhibits from the database
Source code in zoo/api/exhibits.py
update_exhibit(exhibit_id, exhibit, session=Depends(get_async_session))
async
#
Update exhibit from the database