Actions144
- Activity Log Actions
- API Info Actions
- Article Actions
- Asset Actions
- Asset Layout Actions
- Asset Layout Field Actions
- Asset Password Actions
- Card Actions
- Company Actions
- Expiration Actions
- Export Actions
- Folder Actions
- Group Actions
- IP Address Actions
- List Actions
- List Options Actions
- Magic Dash Actions
- Matcher Actions
- Network Actions
- Password Folder Actions
- Photo Actions
- Procedure Actions
- Procedure Task Actions
- Public Photo Actions
- Rack Storage Actions
- Rack Storage Item Actions
- Relation Actions
- S3 Export Actions
- Upload Actions
- User Actions
- VLAN Actions
- VLAN Zone Actions
- Website Actions
Upload → Get
AI-generatedOverview
This node interacts with the Hudu API to retrieve information about uploads. Specifically, for the 'Upload' resource with the 'Get' operation, it fetches details of a specific upload by its ID. It can either return the metadata of the upload as JSON or download the actual file based on the user's choice. This is useful in scenarios where users need to access or download files stored in Hudu, such as retrieving documentation, images, or other uploaded assets.
Use Case Examples
- Retrieve metadata of an upload by specifying its ID to display information about the file.
- Download the actual file of an upload by setting the download option to true, useful for processing or saving the file locally.
Properties
| Name | Meaning |
|---|---|
| Upload ID | The unique identifier of the upload to retrieve. Required for the get operation. |
| Download | Boolean flag indicating whether to download the file content instead of returning JSON metadata. |
Output
JSON
id- The unique identifier of the upload.name- The name of the uploaded file.size- The size of the uploaded file in bytes.contentType- The MIME type of the uploaded file.createdAt- Timestamp when the upload was created.updatedAt- Timestamp when the upload was last updated.downloadUrl- URL to download the file if the download option is false.
Dependencies
- Hudu REST API
- API authentication token (credential)
Troubleshooting
- Ensure the Upload ID is valid and exists in the Hudu system to avoid errors.
- If the download option is enabled, verify that the node has permission to download files and that the file exists.
- Common error messages may include resource not found or permission denied, which can be resolved by checking the upload ID and API credentials.