Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user