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
Public Photo → Get
AI-generatedOverview
This node operation retrieves a specific public photo by its numeric ID from the Hudu API. It is useful when you need to fetch detailed metadata or the actual photo file of a public photo stored in Hudu. For example, you can use it to get photo details for display in a dashboard or download the photo file for further processing or storage.
Use Case Examples
- Retrieve metadata of a public photo by providing its numeric ID.
- Download the photo file of a public photo by enabling the download option.
Properties
| Name | Meaning |
|---|---|
| Photo ID | The numeric ID of the photo to retrieve. This must be the integer numeric_id from a prior Get Many result, not the slug string id, as the API returns 404 for slug values. |
| Download | Boolean flag indicating whether to download the photo file instead of returning JSON metadata. |
Output
JSON
id- The unique identifier of the public photo.title- The title or name of the photo.description- Description or metadata details of the photo.url- URL to access the photo or its file if downloaded.otherMetadata- Additional metadata fields related to the public photo as returned by the API.
Dependencies
- Requires an API key credential to authenticate with the Hudu REST API.
Troubleshooting
- Ensure the Photo ID is the numeric integer ID, not the slug string ID, to avoid 404 errors.
- If the download option is enabled, verify that the node has permission to handle binary file downloads.
- Common errors include 404 Not Found if the photo ID is incorrect or does not exist.
- API authentication errors if the API key credential is missing or invalid.