Actions27
- Comments Actions
- List Groups Actions
- Static Images Actions
- Issues Actions
- Workflows Actions
- Attachments Actions
- Form Definitions Actions
- Import Actions
Overview
This node operation retrieves a static image associated with a specific form definition from the iTwin Issues API. It is useful when you need to fetch visual representations or snapshots related to form definitions managed within the iTwin platform. For example, if you have a form that captures issue details and want to display or process its static image elsewhere in your workflow, this operation allows you to obtain that image by specifying the form's ID and the image's file ID.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the form definition for which you want to get a static image. |
| File ID | The numeric identifier of the static image itself (a positive integer, not a GUID). |
Output
The output will contain JSON data representing the static image retrieved from the API. This typically includes metadata about the image and possibly the image content or a URL to access it. If the node supports binary data output (not explicitly shown in the code), it would represent the actual image file content suitable for further processing or saving.
Dependencies
- Requires an API key credential for authentication with the iTwin platform.
- The node depends on the iTwin Issues API endpoint to fetch static images.
- Proper configuration of the API credentials in n8n is necessary to authorize requests.
Troubleshooting
Common issues:
- Invalid or missing IDs: Ensure both the form definition ID and the static image file ID are correctly provided.
- Authentication errors: Verify that the API key or OAuth token is valid and has sufficient permissions.
- Network or API availability problems: Check connectivity and the status of the iTwin Issues API service.
Error messages:
- Errors related to unsupported operations indicate that the requested operation is not implemented; verify you selected "Get static image" under the "Static Images" resource.
- API request failures may return HTTP error codes; inspect the error message for details and confirm input parameters.
Links and References
Note: The bundled source code provided is a partial snippet mainly showing general structure and logging but does not include the full implementation of the "get-static-image" operation. The summary above is based on the provided property definitions and typical usage patterns inferred from the node’s context.