Storage

Ingest from a URL

View Markdown

Introduction

You can create a Task with kind: "ingest" to pull any media file with a public (or signed) URL into your ittybit project.


Example

const task = await ittybit.tasks.create({
  kind: 'ingest',
  url: 'https://ittyb.it/sample.mp4'
});

(See SDKs for install and initialization steps.)


Async

Ingestion will happen asynchronously, and the task will be added to the Tasks list.

You can poll the Task Endpoint to check the status of the task, or setup a Webhook to be notified when the task is complete.

If you need to ingest a file synchronously (meaning you wait for the file to be ingested before receiving a response), you can use the Files API. See Ingest.

On this page