Local Upload
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:
- Set the data source using
"file"
asdataSourceDescriptor
:
API Endpoints
dataSource
object:
Key | Value | Mandatory |
---|---|---|
dataSourceDescriptor | "file" | * |
params → @type | "type.googleapis.com/bytenite.data_source.LocalFileDataSource" | * |
- Retrieve a temp URL from the JSON response (
job
→dataSource
→params
→tempUrl
). - Upload your data to the temp URL.
- Notify the server of the successful upload at
/customer/jobs/uploadcompleted
with a simple POST.
API Endpoints
Example
In the recipe below, you will find a detailed example of a local upload request:
⬆️
Upload a Local File
Open Recipe
Updated 6 months ago