pet

Uploads an image.

Changed on

Upload image of the pet.

post/pet/{petId}/uploadImage

Request

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

Path parameters

petIdinteger required

ID of pet to update

Query parameters

additionalMetadatastring

Additional Metadata

Request body application/octet-stream

string binary required

Response

successful operation

codeinteger
typestring
messagestring

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status