Skip to content

GET/user/{username}

Get user by user name

Get user detail based on username.

Parameters 1

NameTypeDescription
usernamerequiredpath · stringThe name that needs to be fetched. Use user1 for testing

ReturnsUser

Response examples

200successful operation

application/json example derived from schema

{
  "id": 10,
  "username": "theUser",
  "firstName": "John",
  "lastName": "James"
}

Released under the MIT License.