VideoDB icon

VideoDB

Interact with the VideoDB API

Overview

This node integrates with the VideoDB API to manage video, audio, image, and collection resources. Specifically, the "Delete Audio" operation allows users to delete an audio file from a specified collection within their VideoDB account. This is useful for maintaining or cleaning up audio assets associated with video projects.

Practical scenarios include:

  • Removing outdated or incorrect audio files from a media collection.
  • Automating cleanup of audio assets after processing or publishing.
  • Managing audio content programmatically as part of a larger media workflow.

Properties

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

The "Collection Name or ID" property loads available collections dynamically from the VideoDB API. The "Audio Name or ID" property depends on the selected collection and lists audios within it.

Output

The node outputs a JSON object containing the response from the VideoDB API after attempting to delete the specified audio. This typically includes status information about the deletion request.

No binary data output is produced by this operation.

Example output structure (simplified):

{
  "json": {
    "success": true,
    "message": "Audio deleted successfully"
  }
}

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

  • Invalid Collection or Audio ID: If the provided collection or audio ID does not exist, the API may return an error. Verify IDs are correct and that the audio belongs to the specified collection.
  • Authentication Errors: Ensure the API key credential is valid and has sufficient permissions.
  • Network Issues: Connectivity problems can cause request failures; check network access and endpoint availability.
  • Empty Lists in Dropdowns: If collections or audios do not load in dropdowns, verify the API key and that there are existing collections/audios in the account.

Common error messages usually come directly from the VideoDB API and should be interpreted accordingly.

Links and References

Discussion