Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
travelgate
/
map-room
like
0
Paused
App
Files
Files
Community
0379fe4
map-room
/
mappingservice
/
routers
/
admin.py
Calin Rada
init
f006f31
unverified
4 months ago
raw
Copy download link
history
blame
Safe
212 Bytes
from
fastapi
import
APIRouter
router = APIRouter(tags=[
"admin"
])
@router.get(
"/health"
)
async
def
health
():
return
{
"health"
:
"OK"
}
@router.get(
"/status"
)
async
def
status
():
return
{
"status"
:
"OK"
}