https://petstore3.swagger.io/api/v3/user/{username}Retrieves detailed information about a user based on their username, providing access to user-specific data.
The name that needs to be fetched. Use user1 for testing
Schema
{
"id": 10,
"username": "theUser",
"firstName": "John",
"lastName": "James",
"email": "john@email.com",
"password": "12345",
"phone": "12345",
"userStatus": 1
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://petstore3.swagger.io/api/v3/user/{username}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://petstore3.swagger.io/api/v3/user/{username}Retrieves detailed information about a user based on their username, providing access to user-specific data.
The name that needs to be fetched. Use user1 for testing
Schema
{
"id": 10,
"username": "theUser",
"firstName": "John",
"lastName": "James",
"email": "john@email.com",
"password": "12345",
"phone": "12345",
"userStatus": 1
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://petstore3.swagger.io/api/v3/user/{username}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}