Bold VideoDocs

Admin Community

Pin or unpin a community post

PUT
/api/v1/admin/community/posts/{id}/pinned

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

Post UUID

Request Body

application/json

Pin state

pinned*boolean

true to pin, false to unpin

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://app.boldvideo.io/api/v1/admin/community/posts/string/pinned" \  -H "Content-Type: application/json" \  -d '{    "pinned": true  }'
{
  "data": {
    "author": {
      "avatar_url": "https://example.com/avatar.jpg",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "John Doe"
    },
    "category": "announcements",
    "comments": {
      "commented_by": [
        {
          "avatar_url": "https://example.com/avatar.jpg",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "John Doe"
        }
      ],
      "count": 3,
      "items": [
        {
          "author": {
            "avatar_url": "https://example.com/avatar.jpg",
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "name": "John Doe"
          },
          "content": "Great post! Thanks for sharing.",
          "created_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z",
          "depth": 0,
          "edited_at": "2019-08-24T14:15:22Z",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "reactions": {
            "count": 5,
            "counts": {
              "like": 3,
              "love": 2
            },
            "viewer_has_reacted": true,
            "viewer_reaction": "string"
          },
          "replies": [
            {}
          ],
          "updated_at": "2019-08-24T14:15:22Z"
        }
      ]
    },
    "content": "Welcome to our community!",
    "created_at": "2019-08-24T14:15:22Z",
    "edited_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "pinned": false,
    "pinned_at": "2019-08-24T14:15:22Z",
    "reactions": {
      "count": 10,
      "counts": {
        "like": 3,
        "love": 2
      },
      "reacted_by": [
        {
          "avatar_url": "https://example.com/avatar.jpg",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "John Doe",
          "reaction": "string"
        }
      ],
      "viewer_has_reacted": true,
      "viewer_reaction": "string"
    },
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "mentions": {
    "skipped": [
      "",
      "outseta:unknown-shape"
    ]
  }
}
{
  "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 comment with import parameters

POST
/api/v1/admin/community/posts/{post_id}/comments

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

post_id*string

Post UUID

Request Body

application/json

Comment import parameters

comment*

Comment parameters

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/admin/community/posts/string/comments" \  -H "Content-Type: application/json" \  -d '{    "comment": {      "author": {        "external_id": "wQXZPRWZ",        "name": "John Roe"      },      "content": "Welcome aboard!",      "created_at": "2024-03-02T09:30:00Z",      "external_ref": "kajabi:comment:4471"    }  }'
{
  "data": {
    "author": {
      "avatar_url": "https://example.com/avatar.jpg",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "John Doe"
    },
    "content": "Great post! Thanks for sharing.",
    "created_at": "2019-08-24T14:15:22Z",
    "deleted_at": "2019-08-24T14:15:22Z",
    "depth": 0,
    "edited_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "reactions": {
      "count": 5,
      "counts": {
        "like": 3,
        "love": 2
      },
      "viewer_has_reacted": true,
      "viewer_reaction": "string"
    },
    "replies": [
      {}
    ],
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "mentions": {
    "skipped": [
      "",
      "outseta:unknown-shape"
    ]
  }
}
{
  "data": {
    "author": {
      "avatar_url": "https://example.com/avatar.jpg",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "John Doe"
    },
    "content": "Great post! Thanks for sharing.",
    "created_at": "2019-08-24T14:15:22Z",
    "deleted_at": "2019-08-24T14:15:22Z",
    "depth": 0,
    "edited_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "reactions": {
      "count": 5,
      "counts": {
        "like": 3,
        "love": 2
      },
      "viewer_has_reacted": true,
      "viewer_reaction": "string"
    },
    "replies": [
      {}
    ],
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "mentions": {
    "skipped": [
      "",
      "outseta:unknown-shape"
    ]
  }
}
{
  "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"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}

Create a community post with import parameters

POST
/api/v1/admin/community/posts

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

Post import parameters

post*

Post parameters

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/admin/community/posts" \  -H "Content-Type: application/json" \  -d '{    "post": {      "author": {        "email": "jane@example.com",        "external_id": "rmkvKw9g",        "first_name": "Jane",        "last_name": "Doe",        "name": "Jane Doe"      },      "category": "announcements",      "content": "Kicking off week one — introduce yourself!",      "created_at": "2024-03-01T12:00:00Z",      "external_ref": "kajabi:post:9182",      "mentions": [        "outseta:XyZ789"      ],      "pinned": true,      "pinned_at": "2024-03-01T12:05:00Z",      "reactions": {        "count": 42      },      "updated_at": "2024-03-04T08:15:00Z"    }  }'
{
  "data": {
    "author": {
      "avatar_url": "https://example.com/avatar.jpg",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "John Doe"
    },
    "category": "announcements",
    "comments": {
      "commented_by": [
        {
          "avatar_url": "https://example.com/avatar.jpg",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "John Doe"
        }
      ],
      "count": 3,
      "items": [
        {
          "author": {
            "avatar_url": "https://example.com/avatar.jpg",
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "name": "John Doe"
          },
          "content": "Great post! Thanks for sharing.",
          "created_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z",
          "depth": 0,
          "edited_at": "2019-08-24T14:15:22Z",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "reactions": {
            "count": 5,
            "counts": {
              "like": 3,
              "love": 2
            },
            "viewer_has_reacted": true,
            "viewer_reaction": "string"
          },
          "replies": [
            {}
          ],
          "updated_at": "2019-08-24T14:15:22Z"
        }
      ]
    },
    "content": "Welcome to our community!",
    "created_at": "2019-08-24T14:15:22Z",
    "edited_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "pinned": false,
    "pinned_at": "2019-08-24T14:15:22Z",
    "reactions": {
      "count": 10,
      "counts": {
        "like": 3,
        "love": 2
      },
      "reacted_by": [
        {
          "avatar_url": "https://example.com/avatar.jpg",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "John Doe",
          "reaction": "string"
        }
      ],
      "viewer_has_reacted": true,
      "viewer_reaction": "string"
    },
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "mentions": {
    "skipped": [
      "",
      "outseta:unknown-shape"
    ]
  }
}
{
  "data": {
    "author": {
      "avatar_url": "https://example.com/avatar.jpg",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "John Doe"
    },
    "category": "announcements",
    "comments": {
      "commented_by": [
        {
          "avatar_url": "https://example.com/avatar.jpg",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "John Doe"
        }
      ],
      "count": 3,
      "items": [
        {
          "author": {
            "avatar_url": "https://example.com/avatar.jpg",
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "name": "John Doe"
          },
          "content": "Great post! Thanks for sharing.",
          "created_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z",
          "depth": 0,
          "edited_at": "2019-08-24T14:15:22Z",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "reactions": {
            "count": 5,
            "counts": {
              "like": 3,
              "love": 2
            },
            "viewer_has_reacted": true,
            "viewer_reaction": "string"
          },
          "replies": [
            {}
          ],
          "updated_at": "2019-08-24T14:15:22Z"
        }
      ]
    },
    "content": "Welcome to our community!",
    "created_at": "2019-08-24T14:15:22Z",
    "edited_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "pinned": false,
    "pinned_at": "2019-08-24T14:15:22Z",
    "reactions": {
      "count": 10,
      "counts": {
        "like": 3,
        "love": 2
      },
      "reacted_by": [
        {
          "avatar_url": "https://example.com/avatar.jpg",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "John Doe",
          "reaction": "string"
        }
      ],
      "viewer_has_reacted": true,
      "viewer_reaction": "string"
    },
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "mentions": {
    "skipped": [
      "",
      "outseta:unknown-shape"
    ]
  }
}
{
  "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"
}

Repair an imported community comment

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

Comment UUID

Request Body

application/json

Comment repair parameters

comment*

Comment parameters

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.boldvideo.io/api/v1/admin/community/comments/string" \  -H "Content-Type: application/json" \  -d '{    "comment": {      "content": "Welcome aboard! (fixed the broken link)",      "created_at": "2024-03-02T09:30:00Z",      "updated_at": "2024-03-02T09:30:00Z"    }  }'
{
  "data": {
    "author": {
      "avatar_url": "https://example.com/avatar.jpg",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "John Doe"
    },
    "content": "Great post! Thanks for sharing.",
    "created_at": "2019-08-24T14:15:22Z",
    "deleted_at": "2019-08-24T14:15:22Z",
    "depth": 0,
    "edited_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "reactions": {
      "count": 5,
      "counts": {
        "like": 3,
        "love": 2
      },
      "viewer_has_reacted": true,
      "viewer_reaction": "string"
    },
    "replies": [
      {}
    ],
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "mentions": {
    "skipped": [
      "",
      "outseta:unknown-shape"
    ]
  }
}
{
  "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"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}

Repair an imported community post

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

Post UUID

Request Body

application/json

Post repair parameters

post*

Post parameters

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.boldvideo.io/api/v1/admin/community/posts/string" \  -H "Content-Type: application/json" \  -d '{    "post": {      "category": "announcements",      "content": "Kicking off week one — introduce yourself! (fixed image links)",      "created_at": "2024-03-01T12:00:00Z",      "updated_at": "2024-03-01T12:00:00Z"    }  }'
{
  "data": {
    "author": {
      "avatar_url": "https://example.com/avatar.jpg",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "John Doe"
    },
    "category": "announcements",
    "comments": {
      "commented_by": [
        {
          "avatar_url": "https://example.com/avatar.jpg",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "John Doe"
        }
      ],
      "count": 3,
      "items": [
        {
          "author": {
            "avatar_url": "https://example.com/avatar.jpg",
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "name": "John Doe"
          },
          "content": "Great post! Thanks for sharing.",
          "created_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z",
          "depth": 0,
          "edited_at": "2019-08-24T14:15:22Z",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "reactions": {
            "count": 5,
            "counts": {
              "like": 3,
              "love": 2
            },
            "viewer_has_reacted": true,
            "viewer_reaction": "string"
          },
          "replies": [
            {}
          ],
          "updated_at": "2019-08-24T14:15:22Z"
        }
      ]
    },
    "content": "Welcome to our community!",
    "created_at": "2019-08-24T14:15:22Z",
    "edited_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "pinned": false,
    "pinned_at": "2019-08-24T14:15:22Z",
    "reactions": {
      "count": 10,
      "counts": {
        "like": 3,
        "love": 2
      },
      "reacted_by": [
        {
          "avatar_url": "https://example.com/avatar.jpg",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "John Doe",
          "reaction": "string"
        }
      ],
      "viewer_has_reacted": true,
      "viewer_reaction": "string"
    },
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "mentions": {
    "skipped": [
      "",
      "outseta:unknown-shape"
    ]
  }
}
{
  "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"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}