For AI agents: the complete documentation index is available at https://ciderpress.dev/llms.txt, the full documentation bundle is available at https://ciderpress.dev/llms-full.txt, and this page is available as Markdown at https://ciderpress.dev/petstore/upload-file.md.
Get started →

uploads an image

post/pet/{petId}/uploadImage
uploadFile
uploads an image
Parameters
path
NameTypeRequiredDescriptionDefault
petIdintegerrequiredID of pet to update
formData
NameTypeRequiredDescriptionDefault
additionalMetadatastringAdditional data to pass to server
filefilefile to upload
Responses
Authentication
petstore_auth (write:pets, read:pets)
Code Examples
curl -X POST 'https://api.example.com/pet/{petId}/uploadImage' \
  -H 'Content-Type: application/json'