pet

uploads an image

post/pet/{petId}/uploadImage

Request

  • Base URL: https://petstore.swagger.io/v2
  • URL: https://petstore.swagger.io/v2/pet/{petId}/uploadImage
  • Auth: OAuth 2 (implicit, authorization URL https://petstore.swagger.io/oauth/authorize, scopes: write:pets, read:pets)

Path parameters

petIdinteger required

ID of pet to update

Request body multipart/form-data

additionalMetadatastring

Additional data to pass to server

filestring binary

file to upload

Response

successful operation

codeinteger
typestring
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.