VideoDB icon

VideoDB

Interact with the VideoDB API

Upload

AI-generated

Summary

Upload a media file (video, audio, or image) to a specified collection in VideoDB by providing a URL and optional metadata.

Inputs

  • Collection Name or ID (required) — Select an existing collection from the list or specify its ID (required).
  • URL (required) — The URL of the media file to upload.
  • Media Type (required) — Specify the type of media being uploaded: video, audio, or image.
  • Name — Optional name for the uploaded media file.
  • Description — Optional description for the media.
  • Callback URL — Optional URL for receiving upload completion callbacks.

Output shape

a single JSON response object reflecting the upload action result from the VideoDB API

The output returns the raw API response JSON from the upload endpoint under the main output. Errors are handled as per node-wide error handling and can be optionally continued on failure.

Examples

Example 1: Uploading a video by URL to a collection with a callback URL

Specify the collection ID, media URL, media type as 'video', and optionally the name, description, and callback URL. On execution, the node posts this to the /collection/{collection_id}/upload endpoint and returns the response.

Links

Discussion