PetApi
This is the PetApi API
getPetById
Returns a pet based on ID
URL
http://petstore.swagger.wordnik.com/api/pet/{petId}
HTTP Method
GET
Response Type
Parameters
petId : long (path)
ID of pet that needs to be fetched
This is the PetApi API
Returns a pet based on ID
http://petstore.swagger.wordnik.com/api/pet/{petId}
GET
ID of pet that needs to be fetched
http://petstore.swagger.wordnik.com/api/pet/{petId}
DELETE
Pet id to delete
http://petstore.swagger.wordnik.com/api/pet/{petId}
PATCH
ID of pet that needs to be fetched
Pet object that needs to be added to the store
http://petstore.swagger.wordnik.com/api/pet/{petId}
POST
ID of pet that needs to be updated
Updated name of the pet
Updated status of the pet
http://petstore.swagger.wordnik.com/api/pet/uploadImage
POST
Additional data to pass to server
file to upload
http://petstore.swagger.wordnik.com/api/pet
POST
Pet object that needs to be added to the store
http://petstore.swagger.wordnik.com/api/pet
PUT
Pet object that needs to be updated in the store
Multiple status values can be provided with comma seperated strings
http://petstore.swagger.wordnik.com/api/pet/findByStatus
GET
Status values that need to be considered for filter
Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
http://petstore.swagger.wordnik.com/api/pet/findByTags
GET
Tags to filter by