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
Photo → Get Many
AI-generatedOverview
This node operation retrieves multiple photo records from the Hudu API based on specified filters and parameters. It is useful for scenarios where users need to fetch a list of photos, such as for displaying photo galleries, managing photo archives, or integrating photo data into workflows. For example, a user might want to get all photos associated with a specific company or within a certain date range.
Use Case Examples
- Fetch all photos related to a particular company ID.
- Retrieve photos created within the last 7 days.
- Get a limited number of photos from a specific folder.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all photo results or only up to a given limit. |
| Limit | Maximum number of photo results to return when 'Return All' is false. |
| Wrap Results in Single Item | Whether to return all photo results as a single item containing an 'items' array and a 'count' field, which helps prevent downstream nodes from executing once per result item and avoids rate limiting issues. |
| Filters | Collection of filters to narrow down the photo results, including archived status, company ID, creation date range, folder ID, photoable ID and type, and update date range. |
Output
JSON
items- Array of photo objects when results are wrapped in a single item.count- Number of photo objects returned when results are wrapped.photoId- Unique identifier of the photo.photoUrl- URL of the photo.archived- Boolean indicating if the photo is archived.companyId- Identifier of the company associated with the photo.createdAt- Timestamp when the photo was created.folderId- Identifier of the folder containing the photo.photoableId- ID of the record the photo is attached to.photoableType- Type of the record the photo is attached to.updatedAt- Timestamp when the photo was last updated.
Dependencies
- Hudu REST API
- API key credential for authentication
Troubleshooting
- Common issues include invalid or missing API credentials, which will cause authentication errors.
- Incorrect filter values or unsupported filter combinations may result in empty or unexpected results.
- If 'Return All' is set to false but the limit is too low, not all desired photos may be retrieved.
- Rate limiting errors can occur if too many requests are made in a short period; using the 'Wrap Results in Single Item' option can help mitigate this by reducing downstream executions.
Links
- Hudu API - Photos Endpoint - Official API documentation for managing photos in Hudu.