HTTP

Introduction

You can fetch files directly from a public URL pointing to the raw resource, which is especially useful for utilizing temporary access URLs generated by cloud storage providers not integrated with ByteNite.

Keep in mind that an HTTP source serves solely as a data origin, meaning it cannot be used as a data destination. This ensures that data fetched via HTTP can be read and processed, but not directly modified or uploaded back through this method.

HTTP Data Source Object

dataSourceDescriptor : url

@type : type.googleapis.com/bytenite.data_source.HttpDataSource

To configure your HTTP data source, specify a valid URL pointing to the raw resource in your dataSource object, as in the following example:

POST /customer/jobs/datasource/{jobId}
{
  "dataSource": {
    "dataSourceDescriptor": "url",
    "params": {
      "@type": "type.googleapis.com/bytenite.data_source.HttpDataSource", 
      "url": "https://storage.googleapis.com/video-test-public/input/bbb.mp4"
    }
  }
}

Last updated

Was this helpful?