hackapet-project / petsync-web

Phase 1 of Hackapet project, full stack project
GNU General Public License v3.0
0 stars 0 forks source link

petsync-web

TBD

API

http://localhost:8000/v1/docs

ENDPOINTS AND METHODS

http://localhost:8000/v1/animals

Returns all the animals' data from the database


Given a JSON with an animal data, stores it in the database

http://localhost:8000/v1/animals/:id

-- ID MUST BE TYPE INTEGER --

Returns the matching animal with the given id

Given a JSON with an animal data, updates the matching animal

Deletes the matching animal