Actions2
- Users Actions
- My-test Actions
Overview
This node, named 'Example Andrés Caro (Beta)', is a transform node designed to interact with an API based on a specification loaded from a JSON file. It dynamically generates its input properties from the API specification, allowing users to select a resource and an operation to perform on that resource. The node is useful for scenarios where users want to automate API interactions without manually defining each endpoint and operation, such as integrating with various RESTful services defined in an OpenAPI spec.
Use Case Examples
- Automating data retrieval from a REST API by selecting the appropriate resource and operation.
- Transforming data by calling specific API endpoints dynamically based on user selection.
Output
JSON
operation- The selected operation performed by the noderesource- The selected resource on which the operation is performedresponseData- The data returned from the API call or operation
Dependencies
- Requires an API base URL (defaulted to http://www.example.com) and standard HTTP headers for JSON communication.
Troubleshooting
- If the node fails to generate properties, it falls back to basic or fallback properties, which might limit functionality.
- Errors in loading or parsing the API specification JSON can cause the node to revert to fallback properties.
- Ensure the base URL and headers are correctly set to avoid connection issues.
Links
- Example API Base URL - The default base URL used by the node for API requests.