API hosted on petdibs.herokuapp.com
GET /pets
Returns a list of all petsGET /pets/:pet_id
where:pet_id
is a pet id, such as1
. Returns information on specific pet, by idPOST /pets
- Creates a new pet- Required Params:
- name: string
- Acceptable Params:
- breed: string
- age: integer
- about: string
- vaccinated: boolean
- Required Params:
PUT /pets/1/vaccinated
- Updates status of vaccination of a specific pet, by id- Acceptable Params:
- vaccinated: boolean
- Acceptable Params:
PUT /pets/1/dibs
- Update pet with owner, by pet id- Acceptable Params:
- owner: string
- Acceptable Params:
DELETE /pets/:pet_id
where:pet_id
is a pet id, such as1
. Deletes a pet, by id