VideoDB icon

VideoDB

Interact with the VideoDB API

Overview

This node integrates with the VideoDB API to manage video collections and their contents. Specifically, the "Delete Video" operation allows users to remove a video from a specified collection in their VideoDB account. This is useful for maintaining an organized media library by deleting outdated or unwanted videos.

Practical examples:

  • Automatically removing videos that are no longer relevant from a collection.
  • Cleaning up test or temporary videos after processing workflows.
  • Managing video content lifecycle within automated pipelines.

Properties

Name Meaning
Collection Name or ID Select or specify the target collection from which the video will be deleted.
Video Name or ID Select or specify the video to delete within the chosen collection.

The options for both properties are dynamically loaded from the VideoDB API:

  • Collections are fetched via the getCollections method.
  • Videos are fetched based on the selected collection via the getVideosInCollection method.

Output

The node outputs an array of JSON objects, each representing the response from the VideoDB API after attempting to delete a video. The exact structure depends on the API's response but typically includes confirmation of deletion or error details.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the VideoDB API.
  • The base URL defaults to https://api.videodb.io but can be customized via credentials.
  • Uses HTTP requests with authentication to interact with the VideoDB REST endpoints.

Troubleshooting

  • Missing or invalid API key: Ensure the API key credential is correctly configured and has necessary permissions.
  • Invalid collection or video ID: Verify that the selected collection and video exist; use the dynamic dropdowns to avoid typos.
  • Network issues: Check connectivity to the VideoDB API endpoint.
  • API errors: Review the JSON output for error messages returned by the API, such as authorization failures or resource not found.

Links and References

Discussion