VideoDB icon

VideoDB

Interact with the VideoDB API

Overview

This node integrates with the VideoDB API, allowing users to manage video collections and related media. Specifically, the "Update Collection" operation lets users modify the metadata of an existing collection by changing its name and/or description. This is useful for organizing and maintaining collections of videos, audios, or images within the VideoDB platform.

Practical examples include:

  • Renaming a collection to better reflect its content.
  • Adding or updating a description to provide more context about the collection's purpose or contents.

Properties

Name Meaning
Collection Name or ID Select an existing collection from a dropdown list or specify its ID via an expression.
Name New name to assign to the collection (optional).
Description New description text to update the collection's details (optional).

Output

The node outputs a JSON object containing the response from the VideoDB API after attempting to update the collection. The structure depends on the API's response but generally includes confirmation of the updated collection data or error information if the update failed.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the VideoDB API.
  • The base URL for the API defaults to https://api.videodb.io but can be customized in the credentials.
  • The node uses HTTP requests with authentication headers to communicate with the VideoDB service.

Troubleshooting

  • Common issues:

    • Invalid or missing API key will cause authentication failures.
    • Specifying a non-existent collection ID will result in errors from the API.
    • Providing empty or invalid values for name or description may lead to no changes or API validation errors.
  • Error messages:

    • Authentication errors typically indicate problems with the API key; verify the credential setup.
    • "Collection not found" or similar errors suggest the collection ID does not exist or is incorrect.
    • Validation errors from the API should be resolved by ensuring input fields meet expected formats and constraints.

Links and References

Discussion