Actions35
- Order Actions
- Contact Actions
- Company Actions
- Files Actions
- Admin Actions
Files → Get Files
AI-generatedOverview
This node integrates with the Decogro API to manage files and other resources such as orders, contacts, companies, and administrative data. Specifically, the 'Get Files' operation retrieves a list of files stored in Decogro. This is useful for workflows that need to access or process files managed within Decogro, such as downloading or referencing files in automated processes.
Use Case Examples
- Retrieve a list of files with pagination to display in a dashboard.
- Fetch files related to a project for further processing or archival.
- Integrate Decogro file management with other systems by automating file retrieval.
Properties
| Name | Meaning |
|---|---|
| Limit | Number of items to return, controls the maximum number of files retrieved in one request. |
| Offset | Number of items to skip, used for pagination to skip a certain number of files before starting to return results. |
Output
JSON
operation- The operation performed, e.g., 'getFiles'.data- The data returned from the Decogro API, containing the list of files.metadatamethod- HTTP method used for the API request.endpoint- API endpoint accessed.timestamp- Timestamp when the request was made.limit- The limit parameter used in the request.offset- The offset parameter used in the request.page- The calculated page number based on limit and offset.
Dependencies
- Decogro API with an API key credential
Troubleshooting
- Ensure the API key credential is correctly configured and has permissions to access files.
- If no files are returned, verify that the limit and offset parameters are set correctly and that files exist in the Decogro account.
- Common error messages include invalid JSON body (not applicable for getFiles), missing binary data for upload operations, or unknown operation errors if the operation parameter is incorrect.
Links
- Decogro API Documentation - Official API documentation for Decogro, useful for understanding endpoints and parameters.