Files
settlements-admin/backend/code/modules/animal_comments/router.py
T
2026-11-05 08:28:15 +00:00

19 lines
421 B
Python

from fastapi import APIRouter
routes = APIRouter(prefix="/animals/{animalId}/comments", tags=['Animal comment'])
@routes.get("")
def ListAnimalComments(animalId: str):
pass
@routes.post("")
def RegisterAnimalComment(animalId: str, data):
pass
@routes.put("/{id}")
def EditAnimalComment(animalId: str, id: str, data):
pass
@routes.delete("/{id}")
def DisableAnimalComment(animalId: str, id: str):
pass