19 lines
421 B
Python
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 |