POST
/pet/{petId}/uploadImageoperationId:
uploadFileUploads an image.
Upload image of the pet.
🔒petstore_auth
Parameters
Path Parameters
| petId | integer (int64) | required | ID of pet to update |
Query Parameters
| additionalMetadata | string | optional | Additional Metadata |
Request Body optional
application/octet-stream
| Name | Type | Required | Example / Values |
|---|---|---|---|
| string (binary) | Example: "string" |
Example
"string"
Responses
▼200 OK — successful operation
▼400 Bad Request — No file uploaded
▼404 Not Found — Pet not found
▼default — Unexpected error