Bulk create externally linked assets

Bulk create externally linked assets

In this article, you will learn how to bulk create externally linked assets.

Bulk create externally linked assets

Request Type: POST
Header: Authorization: ApiKey <my_api_token>
URL: https://app.banyanboard.com/api/folders/<my_folder_uuid>/bulk_external_direct_assets_v1/

Payload:
Info
{
  "assets": [
    {
      "title": "Sample File 1",
      "url": "https://example.com/video1.mp4",
      "mime_type": "video/mp4",
      "filename": "sample1.mp4",
      "options": "{\"source\":\"external_direct\"}"
    },
    {
      "title": "Sample File 2",
      "url": "https://example.com/video2.mp4",
      "mime_type": "video/mp4",
      "filename": "sample2.mp4",
      "options": "{\"source\":\"external_direct\"}"
    }
  ]
}

Results:
Info
{
  "results": [
    {
      "index": 0,
      "uuid": "a1b2c3d4-e5f6-4a7b-9c8d-1e2f3a4b5c6d",
      "title": "Sample File 1",
      "application_url": "https://example.com/assets/a1b2c3d4-e5f6-4a7b-9c8d-1e2f3a4b5c6d"
    },
    {
      "index": 1,
      "uuid": "b2c3d4e5-f6a7-4b8c-9d0e-2f3a4b5c6d7e",
      "title": "Sample File 2",
      "application_url": "https://example.com/assets/b2c3d4e5-f6a7-4b8c-9d0e-2f3a4b5c6d7e"
    }
  ]
}
    • Related Articles

    • Create bulk events in asset (file)

      In this article, you will learn how to create bulk events in an asset. Create bulk events in asset Request Type: POST Header: Authorization: ApiKey <my_api_token> URL: ...
    • Create annotation group

      In this article, you will learn how to create an annotation group. Create annotation group Request Type: POST Header: Authorization: ApiKey <my_api_token> URL: https://app.banyanboard.com/api/assets/<my_file_uuid>/annotation_groups/ Payload: { ...
    • Create new folder

      In this article, you will learn how to create a new folder. Create new folder Request Type: POST Header: Authorization: ApiKey <my_api_token> URL: https://app.banyanboard.com/api/orgs/<my_org_uuid>/folders/ Payload: { "name": "Sample Folder Name" } ...
    • List assets in organization

      In this article, you will learn how to list assets in organization. List assets in organization Request Type: GET Header: Authorization: ApiKey <my_api_token> URL: https://app.banyanboard.com/api/orgs/<my_org_uuid>/assets/ Results: { "results": [ { ...
    • List assets (files) in folder

      In this article, you will learn how to list assets in folder. List assets (files) in folder Request Type: GET Header: Authorization: ApiKey <my_api_token> URL: https://app.banyanboard.com/api/folders/<my_folder_uuid>/assets/ Results: { "count": 2, ...