Axerity

Get user by user name.

Get user detail based on username.

GET /api/v3/user/{username}

Path parameters

username string required

The name that needs to be fetched. Use user1 for testing

Response 200

successful operation

id int64

(format int64)

username string

No description.

firstName string

No description.

lastName string

No description.

email string

No description.

password string

No description.

phone string

No description.

userStatus int32

User Status (format int32)

Response 400

Invalid username supplied

Response 404

User not found

Response default

Unexpected error

Request
curl -X GET /api/v3/user/:username
Response
{  "id": 10,  "username": "theUser",  "firstName": "John",  "lastName": "James",  "email": "john@email.com",  "password": "12345",  "phone": "12345",  "userStatus": 1}