Actions17
Overview
This node operation fetches user details by their username from the Petstore API. It is useful when you need to retrieve specific user information based on a known username, such as for user management, verification, or display purposes. For example, you can input a username like 'user1' to get that user's profile data.
Properties
| Name | Meaning |
|---|---|
| Username | The username of the user to fetch. This is a required string input that specifies which user's details to retrieve. |
Output
JSON
id- Unique identifier of the user.username- The username of the user.firstName- User's first name.lastName- User's last name.email- User's email address.password- User's password (usually hashed or masked).phone- User's phone number.userStatus- Status code representing the user's state.
Dependencies
- Petstore API endpoint at https://petstore3.swagger.io/api/v3
Troubleshooting
- Ensure the username provided exists; otherwise, the API may return a 404 or empty response.
- Check network connectivity to the Petstore API endpoint.
- Verify that any required API authentication (if configured) is correctly set up to avoid authorization errors.
Links
- Petstore API Documentation - Official documentation for the Petstore API used by this node.