Lectful icon

Lectful

Interact with the VIPay Lectful API

Overview

The "Complete Upload" operation of the Video resource in this node finalizes the upload process of a video file to the Lectful platform. After uploading the video data (typically via a separate upload URL), this operation confirms the upload by sending the total size of the uploaded video file to the API, which then triggers any necessary processing on the server side (e.g., encoding, thumbnail generation).

This node is beneficial in workflows where videos are uploaded in multiple steps: first obtaining an upload URL, then uploading the video content, and finally confirming completion so that the system can process the video. For example, after uploading a large video file to Lectful's storage, you use this operation to notify the platform that the upload is complete and ready for processing.

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 that credentials can be left empty if overrides are provided.
Base URL Override Optional base URL to override the credential setting (without /api/v1). Used only in Manual Configuration mode.
API Key Override Optional API key to override the credential setting. Used only in Manual Configuration mode.
Video ID The unique identifier of the video whose upload is being completed. Required.
File Size (bytes) The size of the uploaded video file in bytes. Required. This informs the API about the total uploaded data size.

Output

The output of this operation is the JSON response from the Lectful API after completing the video upload. It typically contains confirmation details or metadata about the video upload status and processing initiation.

The json output field will contain the parsed API response object. There is no binary output for this operation.

Dependencies

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

Troubleshooting

  • Missing or invalid credentials: If neither stored credentials nor manual overrides are properly set, the node will throw an error indicating missing or invalid credentials.
  • Base URL or API key missing in manual mode: When using Manual Configuration mode, both Base URL Override and API Key Override must be provided; otherwise, an error is thrown.
  • Invalid Video ID or File Size: Ensure the Video ID corresponds to an existing video upload session and the file size matches the actual uploaded file size; otherwise, the API may reject the request.
  • API errors: Any API error responses will be returned in the node output. Common issues include unauthorized access, invalid parameters, or server errors. Check the API response message for details.
  • Network issues: Connectivity problems to the Lectful API endpoint will cause request failures.

Links and References


If you need further details on other operations or resources, feel free to ask!

Discussion