20 lines
410 B
Python
20 lines
410 B
Python
from fastapi import APIRouter
|
|
|
|
routes = APIRouter(prefix="/animals/{animalId}/alerts", tags=['Animal alert'])
|
|
|
|
|
|
@routes.get("")
|
|
def ListAnimalAlerts(animalId: str):
|
|
pass
|
|
|
|
@routes.post("")
|
|
def RegisterAnimalAlert(animalId: str, data):
|
|
pass
|
|
|
|
@routes.put("/{id}")
|
|
def EditAnimalAlert(animalId: str, id: str, data):
|
|
pass
|
|
|
|
@routes.delete("/{id}")
|
|
def DisableAnimalAlert(animalId: str, id: str):
|
|
pass |