Lectful icon

Lectful

Interact with the VIPay Lectful API

Overview

This node integrates with the Lectful API, specifically enabling interaction with image resources among many other resource types. The Image - Get operation retrieves detailed information about a specific image by its ID from the Lectful platform.

Typical use cases include:

  • Fetching metadata or details of an image stored in Lectful for further processing or display.
  • Integrating image data retrieval into automated workflows, such as syncing images with other systems or triggering actions based on image properties.

Example: You have an image ID and want to retrieve its details (like URL, usage status, metadata) to use in a content management workflow or to verify image existence before performing updates or deletions.

Properties

Name Meaning
Authentication Mode Choose how to authenticate with the Lectful API:
- Use Stored Credentials
- Manual Configuration (provide Base URL and API key manually)
Credentials Note Notice shown when using Manual Configuration mode explaining credential overrides
Base URL Override Optional base URL to override the stored credential's base URL (without /api/v1)
API Key Override Optional API key to override the stored credential's API key
Image ID The unique identifier of the image to retrieve (required for Get, Update, Delete operations)

Output

The output is a JSON object containing the detailed information of the requested image. This typically includes fields such as image metadata, URLs, usage status, and other relevant attributes returned by the Lectful API for that image.

If the node supports binary data for image upload operations, it handles image files either as file paths or binary data buffers, but for the Get operation, the output is purely JSON metadata about the image.

Dependencies

  • Requires access to the Lectful API.
  • Requires either stored credentials configured in n8n or manual entry of the Lectful API base URL and API key.
  • The node uses HTTP requests with Bearer token authentication.
  • No additional external dependencies beyond standard HTTP request handling.

Troubleshooting

  • Missing or invalid credentials:
    Error if neither valid stored credentials nor manual configuration with base URL and API key are provided.
    Resolution: Configure credentials properly or switch to manual mode and provide required parameters.

  • Missing Image ID:
    The Image ID parameter is required for the Get operation.
    Resolution: Ensure the Image ID is set and correctly passed to the node.

  • API errors (e.g., 404 Not Found):
    If the image ID does not exist or is inaccessible, the API will return an error.
    Resolution: Verify the image ID is correct and accessible with your API key.

  • Network or connectivity issues:
    Failure to reach the Lectful API endpoint due to network problems or incorrect base URL.
    Resolution: Check network connectivity and confirm the base URL is correct.

Links and References

Discussion