Admin Collections
Update a collection (admin)
Authorization
admin_api_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
Collection UUID or slug
Request Body
application/json
Collection fields
Newline-separated prompts; null/blank inherits account defaults. Write-only.
length <= 20001 <= length <= 100uuid0 <= valueResponse 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)
Authorization
admin_api_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
Collection UUID or slug
Request Body
application/json
Videos to add
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)
Authorization
admin_api_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
Collection UUID or slug
Request Body
application/json
Videos to remove
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)
Authorization
admin_api_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
Newline-separated prompts; null/blank inherits account defaults. Write-only.
length <= 20001 <= length <= 100uuid0 <= valueResponse 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"
}