Bold VideoDocs

Admin Collections

Update a collection (admin)

PATCH
/api/v1/admin/collections/{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

id*string

Collection UUID or slug

Request Body

application/json

Collection fields

conversation_starters?string|null

Newline-separated prompts; null/blank inherits account defaults. Write-only.

Lengthlength <= 2000
name?string
Length1 <= length <= 100
parent_id?string|null
Formatuuid
position?integer
Range0 <= value

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.boldvideo.io/api/v1/admin/collections/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "children": [
      {}
    ],
    "children_count": 3,
    "created_at": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "Getting Started",
    "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
    "position": 0,
    "slug": "getting-started",
    "updated_at": "string",
    "video_count": 5
  }
}
{
  "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"
}

Add videos to a collection (admin)

POST
/api/v1/admin/collections/{id}/videos

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

id*string

Collection UUID or slug

Request Body

application/json

Videos to add

video_ids*array<string>

Video internal UUIDs (preferred), legacy hashids or slugs. Duplicates are ignored.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/admin/collections/string/videos" \  -H "Content-Type: application/json" \  -d '{    "video_ids": [      "string"    ]  }'
{
  "already_member_ids": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ],
  "data": {
    "children": [
      {}
    ],
    "children_count": 3,
    "created_at": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "Getting Started",
    "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
    "position": 0,
    "slug": "getting-started",
    "updated_at": "string",
    "video_count": 5
  },
  "membership_count": 0
}
{
  "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"
}

Remove videos from a collection (admin)

DELETE
/api/v1/admin/collections/{id}/videos

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

id*string

Collection UUID or slug

Request Body

application/json

Videos to remove

video_ids*array<string>

Video internal UUIDs (preferred), legacy hashids or slugs. Duplicates are ignored.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.boldvideo.io/api/v1/admin/collections/string/videos" \  -H "Content-Type: application/json" \  -d '{    "video_ids": [      "string"    ]  }'
{
  "already_member_ids": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ],
  "data": {
    "children": [
      {}
    ],
    "children_count": 3,
    "created_at": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "Getting Started",
    "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
    "position": 0,
    "slug": "getting-started",
    "updated_at": "string",
    "video_count": 5
  },
  "membership_count": 0
}
{
  "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"
}

Create a collection (admin)

POST
/api/v1/admin/collections

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

Collection fields

conversation_starters?string|null

Newline-separated prompts; null/blank inherits account defaults. Write-only.

Lengthlength <= 2000
name*string
Length1 <= length <= 100
parent_id?string|null
Formatuuid
position?integer
Range0 <= value

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/admin/collections" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "children": [
      {}
    ],
    "children_count": 3,
    "created_at": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "Getting Started",
    "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
    "position": 0,
    "slug": "getting-started",
    "updated_at": "string",
    "video_count": 5
  },
  "existing": true
}
{
  "data": {
    "children": [
      {}
    ],
    "children_count": 3,
    "created_at": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "Getting Started",
    "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
    "position": 0,
    "slug": "getting-started",
    "updated_at": "string",
    "video_count": 5
  },
  "existing": true
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}