Pet
Update an existing pet
Update an existing pet by Id
Request parameters
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"example"
],
"tags": [
{
"id": 91,
"name": "example"
}
],
"status": "available"
}
Responses
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"example"
],
"tags": [
{
"id": 91,
"name": "example"
}
],
"status": "available"
}
Add a new pet to the store
Add a new pet to the store
Request parameters
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"example"
],
"tags": [
{
"id": 91,
"name": "example"
}
],
"status": "available"
}
Responses
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"example"
],
"tags": [
{
"id": 91,
"name": "example"
}
],
"status": "available"
}
Find pets by status
Multiple status values can be provided with comma separated strings
Request parameters
Responses
[
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"example"
],
"tags": [
{
"id": 91,
"name": "example"
}
],
"status": "available"
}
]
Finds pets by tags
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
Request parameters
Responses
[
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"example"
],
"tags": [
{
"id": 91,
"name": "example"
}
],
"status": "available"
}
]
Find pet by ID
Returns a single pet
Request parameters
Responses
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"example"
],
"tags": [
{
"id": 91,
"name": "example"
}
],
"status": "available"
}
Update a pet in the store with form data
Request parameters
Responses
Delete a pet
Request parameters
Responses
Upload an image
Request parameters
Responses
{
"code": 96,
"type": "example",
"message": "example"
}
Last modified: 09 November 2024