https://petstore3.swagger.io/api/v3/pet/{petId}/uploadImageUploads an image associated with a specific pet, enhancing the pet's profile with visual content.
ID of pet to update
Additional Metadata
Schema
{
"code": 0,
"type": "example_type",
"message": "example_message"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://petstore3.swagger.io/api/v3/pet/{petId}/uploadImage' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://petstore3.swagger.io/api/v3/pet/{petId}/uploadImageUploads an image associated with a specific pet, enhancing the pet's profile with visual content.
ID of pet to update
Additional Metadata
Schema
{
"code": 0,
"type": "example_type",
"message": "example_message"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://petstore3.swagger.io/api/v3/pet/{petId}/uploadImage' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}