pet

Uploads an image.

Upload image of the pet.

post/pet/{petId}/uploadImage

Path parameters

petIdinteger required

ID of pet to update

Query parameters

additionalMetadatastring

Additional Metadata

Response

successful operation

codeinteger
typestring
messagestring

Changes

Changed in 6 of the 53 revisions of this API.1112

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 404

      response-non-success-status-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 404

      response-non-success-status-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 253de9e0f0ae112See the full diff
    • the code response's property type/format changed from integer/int32 to string/ for status default

      response-property-type-changed

    • removed the optional property type from the response with the default status

      response-optional-property-removed

    • the response property code became required for the status default

      response-property-became-required

    • the response property message became required for the status default

      response-property-became-required

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog