---
title: "Changes to Get user by user name."
method: GET
path: "/user/{username}"
---

# Changes to Get user by user name.

`GET /user/{username}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 53 revisions.

- **2025-03-12** `253de9e0f0ae` — 1 breaking, 8 warning, 2 info

## Changes

- **2025-03-12** `253de9e0f0ae` — 1 breaking, 8 warning, 2 info
  - removed the media type `application/xml` for the response with the status `default`
  - removed the optional property `email` from the response with the `default` status
  - removed the optional property `firstName` from the response with the `default` status
  - removed the optional property `id` from the response with the `default` status
  - removed the optional property `lastName` from the response with the `default` status
  - removed the optional property `password` from the response with the `default` status
  - removed the optional property `phone` from the response with the `default` status
  - removed the optional property `userStatus` from the response with the `default` status
  - removed the optional property `username` 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/user/:username/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/user/:username/get)
