Account

Add a pet

post/v1/pets

Request

  • Base URL: https://api.nogpets.com
  • URL: https://api.nogpets.com/v1/pets
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.nogpets.com/oauth/authorize, token URL https://api.nogpets.com/oauth/token, scopes: pets)
    • HTTP bearer

Request body

namestring required
type'DOG' | 'CAT' required
weightKgnumber required
coat'SHORT' | 'MEDIUM' | 'LONG' required
breedstring
birthYearinteger
notesstring

Response

The saved pet

idstring required
namestring required
type'DOG' | 'CAT' required
breedstring
weightKgnumber required
coat'SHORT' | 'MEDIUM' | 'LONG' required
birthYearinteger nullable
notesstring

Changes

No recorded changes to this operation across all 1 revision of this API.