---
title: "Changes to Find pet by ID."
method: GET
path: "/pet/{petId}"
---

# Changes to Find pet by ID.

`GET /pet/{petId}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 53 revisions.

- **2025-03-12** `253de9e0f0ae` — 3 breaking, 4 warning, 2 info

## Changes

- **2025-03-12** `253de9e0f0ae` — 3 breaking, 4 warning, 2 info
  - removed the media type `application/xml` for the response with the status `default`
  - removed the required property `name` from the response with the `default` status
  - removed the required property `photoUrls` from the response with the `default` status
  - removed the optional property `category` from the response with the `default` status
  - removed the optional property `id` from the response with the `default` status
  - removed the optional property `status` from the response with the `default` status
  - removed the optional property `tags` from the response with the `default` status
  - added the required property `code` to the response with the `default` status
  - added the required property `message` to the response with the `default` status

---

[Operation](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/docs/pet/:petId/get.md) · [API](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0.md) · [Page](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/changes/pet/:petId/get)
