Local File

Upload files directly from your computer

Data origin

You can upload videos directly from your computer, making it a convenient option for processing local content without relying on third-party storage solutions.

Configuration

To upload a local file as a data origin, please follow these steps:

  1. Set the data source using "file" as dataSourceDescriptor:

API Endpoints

Create a new job   •    Set job data source

dataSource object:

KeyValueMandatory
dataSourceDescriptor"file"*
params@type"type.googleapis.com/bytenite.data_source.LocalFileDataSource"*
  1. Retrieve a temp URL from the JSON response (jobdataSourceparamstempUrl).
  2. Upload your data to the temp URL.
  3. Notify the server of the successful upload at /customer/jobs/uploadcompleted with a simple POST.

API Endpoints

Set upload completed

Example

In the recipe below, you will find a detailed example of a local upload request: