Buscar Foto por ID
AI-generatedOverview
This node integrates with the PhotoRAG system, an AI-powered photo management service. It allows users to fetch all photos, retrieve a specific photo by its unique ID, or validate the API key used for authentication. The node is useful for managing and accessing photo data programmatically, including fetching photo URLs and metadata, which can be applied in digital asset management, content creation workflows, or photo cataloging systems.
Use Case Examples
- Fetch all photos with URLs and metadata for a specific user (Super Admin).
- Retrieve detailed information and URLs for a single photo by its ID.
- Validate the API key to ensure the connection to the PhotoRAG service is active.
Properties
| Name | Meaning |
|---|---|
| Incluir URLs | Whether to include public URLs and thumbnails of the photos in the response. |
| Incluir Metadados | Whether to include detailed metadata of the photos in the response. |
| ID da Foto | The unique identifier of the photo to retrieve. |
Output
JSON
json- The photo data or list of photos returned from the PhotoRAG API, including URLs and metadata depending on input parameters.
Dependencies
- Requires an API key credential for the PhotoRAG API service.
Troubleshooting
- Ensure the API key credential is correctly configured and valid; otherwise, the node will throw a 'No credentials provided' error.
- If the photo ID is invalid or not found, the API may return an error or empty response; verify the photo ID input.
- Network or API endpoint issues may cause HTTP request failures; check connectivity and API service status.
- If an unknown operation is specified, the node throws an 'Unknown operation' error; ensure the operation parameter is set correctly.
Links
- PhotoRAG API Documentation - Official API endpoint for PhotoRAG service used by the node.