Bold VideoDocs

Admin Imports

Cancel future import dispatch

POST
/api/v1/admin/imports/{run_id}/cancel

Authorization

admin_api_token
X-Bold-Admin-Api-Key<token>

Privileged admin key (bold_live_* with admin: true) for Mission Control and support automation. Do not put this key in customer-owned apps.

In: header

Path Parameters

run_id*string

Run UUID

Formatuuid

Response Body

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/admin/imports/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel"
{
  "data": {
    "counts": {
      "canceled": 0,
      "done": 0,
      "failed": 0,
      "queued": 0,
      "running": 0,
      "skipped": 0,
      "total": 0
    },
    "finished_at": "2019-08-24T14:15:22Z",
    "meta": {
      "page": 0,
      "page_size": 0,
      "total_entries": 0,
      "total_pages": 0
    },
    "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",
    "source_url": "string",
    "started_at": "2019-08-24T14:15:22Z",
    "status": "queued",
    "status_url": "string",
    "videos": [
      {
        "error": "string",
        "internal_id": "c13c6907-8dc3-4479-a9ee-0b258d87c410",
        "source_url": "string",
        "status": "queued"
      }
    ]
  }
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}

List recent admin import runs

GET
/api/v1/admin/imports

Authorization

admin_api_token
X-Bold-Admin-Api-Key<token>

Privileged admin key (bold_live_* with admin: true) for Mission Control and support automation. Do not put this key in customer-owned apps.

In: header

Query Parameters

page?integer

Page number

Default1
Range1 <= value
page_size?integer

Runs per page

Default20
Range1 <= value <= 100

Response Body

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/admin/imports"
{
  "data": [
    {
      "counts": {
        "canceled": 0,
        "done": 0,
        "failed": 0,
        "queued": 0,
        "running": 0,
        "skipped": 0,
        "total": 0
      },
      "finished_at": "2019-08-24T14:15:22Z",
      "meta": {
        "page": 0,
        "page_size": 0,
        "total_entries": 0,
        "total_pages": 0
      },
      "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",
      "source_url": "string",
      "started_at": "2019-08-24T14:15:22Z",
      "status": "queued",
      "status_url": "string",
      "videos": [
        {
          "error": "string",
          "internal_id": "c13c6907-8dc3-4479-a9ee-0b258d87c410",
          "source_url": "string",
          "status": "queued"
        }
      ]
    }
  ],
  "meta": {
    "page": 0,
    "page_size": 0,
    "total_entries": 0,
    "total_pages": 0
  }
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}

Start a YouTube import run (admin)

POST
/api/v1/admin/imports

Authorization

admin_api_token
X-Bold-Admin-Api-Key<token>

Privileged admin key (bold_live_* with admin: true) for Mission Control and support automation. Do not put this key in customer-owned apps.

In: header

Request Body

application/json

Import options

collection_ids?array<string>
limit?integer

Maximum expanded videos; omitted imports all

Range1 <= value
order?string
Default"latest"
Value in"latest" | "oldest"
privacy?string
Default"unlisted"
Value in"public" | "unlisted" | "private"
published_at_strategy?string

source uses YouTube publish date (now if unavailable); none leaves published_at null

Default"source"
Value in"source" | "now" | "none"
source_url*string

YouTube playlist, channel or single video URL

Formaturi
tags?array<string>
video_type?string

System or account video type UUID; omitted uses account default

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/admin/imports" \  -H "Content-Type: application/json" \  -d '{    "source_url": "http://example.com"  }'
{
  "data": {
    "counts": {
      "canceled": 0,
      "done": 0,
      "failed": 0,
      "queued": 0,
      "running": 0,
      "skipped": 0,
      "total": 0
    },
    "finished_at": "2019-08-24T14:15:22Z",
    "meta": {
      "page": 0,
      "page_size": 0,
      "total_entries": 0,
      "total_pages": 0
    },
    "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",
    "source_url": "string",
    "started_at": "2019-08-24T14:15:22Z",
    "status": "queued",
    "status_url": "string",
    "videos": [
      {
        "error": "string",
        "internal_id": "c13c6907-8dc3-4479-a9ee-0b258d87c410",
        "source_url": "string",
        "status": "queued"
      }
    ]
  }
}
{
  "data": {
    "counts": {
      "canceled": 0,
      "done": 0,
      "failed": 0,
      "queued": 0,
      "running": 0,
      "skipped": 0,
      "total": 0
    },
    "finished_at": "2019-08-24T14:15:22Z",
    "meta": {
      "page": 0,
      "page_size": 0,
      "total_entries": 0,
      "total_pages": 0
    },
    "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",
    "source_url": "string",
    "started_at": "2019-08-24T14:15:22Z",
    "status": "queued",
    "status_url": "string",
    "videos": [
      {
        "error": "string",
        "internal_id": "c13c6907-8dc3-4479-a9ee-0b258d87c410",
        "source_url": "string",
        "status": "queued"
      }
    ]
  }
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}

Get import run and per-video results

GET
/api/v1/admin/imports/{run_id}

Authorization

admin_api_token
X-Bold-Admin-Api-Key<token>

Privileged admin key (bold_live_* with admin: true) for Mission Control and support automation. Do not put this key in customer-owned apps.

In: header

Path Parameters

run_id*string

Run UUID

Formatuuid

Query Parameters

page?integer

Video page number

Default1
Range1 <= value
page_size?integer

Videos per page

Default20
Range1 <= value <= 100

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/admin/imports/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "data": {
    "counts": {
      "canceled": 0,
      "done": 0,
      "failed": 0,
      "queued": 0,
      "running": 0,
      "skipped": 0,
      "total": 0
    },
    "finished_at": "2019-08-24T14:15:22Z",
    "meta": {
      "page": 0,
      "page_size": 0,
      "total_entries": 0,
      "total_pages": 0
    },
    "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",
    "source_url": "string",
    "started_at": "2019-08-24T14:15:22Z",
    "status": "queued",
    "status_url": "string",
    "videos": [
      {
        "error": "string",
        "internal_id": "c13c6907-8dc3-4479-a9ee-0b258d87c410",
        "source_url": "string",
        "status": "queued"
      }
    ]
  }
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}