Hudu icon

Hudu

Interact with Hudu REST API

Public Photo → Get

AI-generated

Overview

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

  1. Retrieve metadata of a public photo by providing its numeric ID.
  2. 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.

Discussion