Add a new pet to the store
Security
petstore_auth(Required scopes: write:petread:pet)
- Mock serverhttps://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/pet-store/openapi/pet
- https://innovario.apishowdown.com/v3https://innovario.apishowdown.com/v3/pet
- application/json
- application/xml
- application/x-www-form-urlencoded
curl -i -X POST \
https://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/pet-store/openapi/pet \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available"
}'Response
- application/xml
- application/json
<pet>
<id>10</id>
<name>doggie</name>
<category>
<id>1</id>
<name>Dogs</name>
</category>
<photoUrls>
<photoUrl>string</photoUrl>
</photoUrls>
<tags>
<tag>
<id>0</id>
<name>string</name>
</tag>
</tags>
<status>available</status>
</pet>