VideoDB icon

VideoDB

Interact with the VideoDB API

Overview

This node integrates with the VideoDB API to manage video-related data collections. Specifically, the "Delete Scene Index" operation allows users to delete a particular scene index from a specified video within a collection. This is useful for workflows that automate video content management, such as cleaning up outdated or incorrect scene metadata.

Practical examples include:

  • Removing obsolete scene markers from a video after editing.
  • Automating cleanup of scene indexes when videos are updated or removed.
  • Managing large video libraries by programmatically deleting specific scene indexes.

Properties

Name Meaning
Collection Name or ID Select or specify the ID of the video collection containing the target video.
Video Name or ID Select or specify the ID of the video within the chosen collection from which to delete the scene index.
Scene Index ID The unique identifier of the scene index to be deleted from the selected video.

Output

The node outputs a JSON object representing the response from the VideoDB API after attempting to delete the specified scene index. This typically includes confirmation of deletion or error details if the operation failed.

No binary data output is produced by this operation.

Example output structure (simplified):

{
  "success": true,
  "message": "Scene index deleted successfully",
  "deletedSceneIndexId": "scene_index_id_value"
}

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 via credentials.
  • The node uses HTTP requests authenticated with the provided API key to interact with the VideoDB service.

Troubleshooting

  • Common Issues:

    • Invalid or missing API key: Ensure the API key credential is correctly configured and has necessary permissions.
    • Incorrect Collection ID or Video ID: Verify that the IDs correspond to existing resources in your VideoDB account.
    • Non-existent Scene Index ID: Confirm the scene index ID exists within the specified video before attempting deletion.
  • Error Messages:

    • Authentication errors (e.g., 401 Unauthorized): Check API key validity and permissions.
    • Not Found errors (e.g., 404): Usually indicate invalid collection, video, or scene index IDs.
    • Validation errors: May occur if required parameters are missing or malformed; ensure all required fields are provided.

Resolving these typically involves verifying input parameters and API credentials.

Links and References

Discussion