provider pet POST /pet/{petId}/uploadImage
@utdk/petstore /pet/{petId}/uploadImage
Uploads an image.
Upload image of the pet.
petId path required
ID of pet to update
integer
additionalMetadata query
Additional Metadata
string

Try it

Authentication
Configure credentials for Swagger Petstore - OpenAPI 3.0
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

uploadfile
POST/pet/{petId}/uploadImage
Upload image of the pet.

Parameters

required

ID of pet to update

Additional Metadata

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import petstore from '@utdk/petstore';

await petstore.uploadfile()