Actions91
- Account Setting Actions
- Addon Actions
- Ceiling Actions
- Company Info Actions
- Device Actions
- Exercise Actions
- Feedback Actions
- File Actions
- File Type Actions
- Gender Actions
- Guest Actions
- License Actions
- Log Actions
- Payment Actions
- Permission Actions
- Relationship Actions
- Role Actions
- Service Actions
- Service Price Actions
- Social Actions
- Topic Actions
- User Actions
- Workout Execution Actions
- Worksheet Actions
Overview
The node integrates with the GymControl API to manage various gym-related resources. Specifically, for the Device resource with the Get operation, it retrieves detailed information about a particular device registered in the GymControl system. This is useful for scenarios where you need to fetch device details such as status, configuration, or metadata for monitoring or management purposes.
Practical examples include:
- Fetching device info to display in a dashboard.
- Verifying device status before performing maintenance.
- Integrating device data into other workflows or reporting tools.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | When enabled, returns the full raw response from the API instead of just the main data. |
Output
The node outputs JSON data representing the device information retrieved from the GymControl API. The structure typically includes fields describing the device's attributes such as ID, name, status, and other metadata provided by the API.
If "Show Complete Response" is enabled, the output will contain the entire API response object, which may include additional metadata like HTTP headers or pagination info.
This node does not output binary data.
Dependencies
- Requires an API key credential for authenticating requests to the GymControl API.
- The base URL for the API is configured via credentials.
- The node uses HTTP GET requests to fetch device data from the endpoint corresponding to devices.
Troubleshooting
Common issues:
- Invalid or missing API key: The node will fail to authenticate; ensure the API key credential is correctly set.
- Incorrect device ID parameter (if applicable): The API may return a 404 or empty result if the device does not exist.
- Network connectivity problems: Ensure the n8n instance can reach the GymControl API URL.
Error messages:
- Authentication errors usually indicate invalid credentials; recheck the API key.
- 404 Not Found errors suggest the specified device ID is incorrect or the device does not exist.
- Timeout or network errors require checking network access and API availability.
Links and References
- GymControl API Documentation (hypothetical link)
- n8n documentation on creating custom nodes