Bold VideoDocs

Community

Count unread mentions of the current viewer

GET
/api/v1/community/mentions/unread-count

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Response Body

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/community/mentions/unread-count" \  -H "X-Viewer-ID: string"
{
  "data": {
    "count": 3
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Search community discussions

GET
/api/v1/community/search

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Query Parameters

q*string

1–200 characters, 1–12 words

page?integer

Page 1–10000, default 1

page_size?integer

Page size 1–100, default 20

sort?string

relevance (default) or newest

author_id?string

Public author identity from a result

from?string

Inclusive UTC date YYYY-MM-DD

to?string

Inclusive UTC date YYYY-MM-DD

Header Parameters

X-Viewer-ID?string

Optional viewer context

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/community/search?q=string"
{
  "data": [
    {
      "ancestor_author_ids": [
        "string"
      ],
      "author": {
        "archived": true,
        "avatar_url": "string",
        "id": "string",
        "name": "string"
      },
      "comment_id": "24dbb54d-334d-4b2a-92ae-e15845e5d822",
      "content_preview": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "highlights": [
        {
          "end": 0,
          "start": 0
        }
      ],
      "post_author_id": "string",
      "post_id": "dd3504b4-6e8d-47e2-aab1-573a0c9d6149",
      "snippet": "string"
    }
  ],
  "meta": {
    "page": 0,
    "page_size": 0,
    "total_entries": 0,
    "total_pages": 0
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Edit a community comment

PATCH
/api/v1/community/comments/{id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Comment UUID

Header Parameters

X-Viewer-ID*string

Viewer UUID

Request Body

application/json

Editable comment fields

comment*

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.boldvideo.io/api/v1/community/comments/string" \  -H "X-Viewer-ID: string" \  -H "Content-Type: application/json" \  -d '{    "comment": {}  }'
{
  "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"
    ]
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Delete a comment

DELETE
/api/v1/community/comments/{id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Comment UUID

Query Parameters

preserve_replies?boolean

Keep replies using a deleted-comment placeholder

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.boldvideo.io/api/v1/community/comments/string" \  -H "X-Viewer-ID: string"
Empty
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

List mentions of the current viewer

GET
/api/v1/community/mentions

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Query Parameters

page?integer

Page number (default: 1)

page_size?integer

Items per page (default: 20, max: 100)

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Response Body

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/community/mentions" \  -H "X-Viewer-ID: string"
{
  "data": [
    {
      "author": {
        "avatar_url": "https://example.com/avatar.jpg",
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "John Doe"
      },
      "comment_id": "24dbb54d-334d-4b2a-92ae-e15845e5d822",
      "created_at": "2019-08-24T14:15:22Z",
      "excerpt": "Hey @jane — could you take a look at this?",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "post_id": "dd3504b4-6e8d-47e2-aab1-573a0c9d6149",
      "read_at": "2019-08-24T14:15:22Z"
    }
  ],
  "meta": {
    "page": 1,
    "page_size": 20,
    "total_entries": 7,
    "total_pages": 1
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Mark mentions read

POST
/api/v1/community/mentions/read

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Request Body

application/json

Mentions to mark read

all?boolean

Set true to mark every unread mention read

ids?array<string>

Mention UUIDs to mark read

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/community/mentions/read" \  -H "X-Viewer-ID: string" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "6b3d0d3e-2b0a-4c66-9a2f-6c1e0f4a7b21"    ]  }'
{
  "data": {
    "marked_read": 2,
    "unread_count": 0
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Toggle reaction on a post

POST
/api/v1/community/posts/{id}/react

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Post UUID

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Request Body

application/json

Reaction

type?string

Reaction type; defaults to like. Any name your app chooses: a lowercase letter followed by up to 31 lowercase letters, digits or underscores

Match^[a-z][a-z0-9_]{0,31}$

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/community/posts/string/react" \  -H "X-Viewer-ID: string" \  -H "Content-Type: application/json" \  -d '{    "type": "love"  }'
{
  "data": {
    "counts": {
      "like": 3,
      "love": 2
    },
    "reacted": true,
    "reaction": "love",
    "reactions_count": 5
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Toggle reaction on a comment

POST
/api/v1/community/comments/{id}/react

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Comment UUID

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Request Body

application/json

Reaction

type?string

Reaction type; defaults to like. Any name your app chooses: a lowercase letter followed by up to 31 lowercase letters, digits or underscores

Match^[a-z][a-z0-9_]{0,31}$

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/community/comments/string/react" \  -H "X-Viewer-ID: string" \  -H "Content-Type: application/json" \  -d '{    "type": "love"  }'
{
  "data": {
    "counts": {
      "like": 3,
      "love": 2
    },
    "reacted": true,
    "reaction": "love",
    "reactions_count": 5
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

List community posts

GET
/api/v1/community/posts

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Query Parameters

category?string

Filter by category

page?integer

Page number (default: 1)

page_size?integer

Items per page (default: 20, max: 100)

Header Parameters

X-Viewer-ID?string

Viewer UUID for reaction status

Response Body

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/community/posts?category=announcements&page=1&page_size=20"
{
  "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"
    }
  ],
  "meta": {
    "page": 1,
    "page_size": 20,
    "total_entries": 47,
    "total_pages": 3
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Create a community post

POST
/api/v1/community/posts

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Request Body

application/json

Post 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/community/posts" \  -H "X-Viewer-ID: string" \  -H "Content-Type: application/json" \  -d '{    "post": {      "category": "announcements",      "content": "Welcome to our community!",      "mentions": [        "outseta:AbC123"      ]    }  }'
{
  "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"
    ]
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Get a community post

GET
/api/v1/community/posts/{id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Post UUID

Header Parameters

X-Viewer-ID?string

Viewer UUID for reaction status

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/community/posts/string"
{
  "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"
    ]
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Update a community post

PATCH
/api/v1/community/posts/{id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Post UUID

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Request Body

application/json

Editable post parameters

post*

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.boldvideo.io/api/v1/community/posts/string" \  -H "X-Viewer-ID: string" \  -H "Content-Type: application/json" \  -d '{    "post": {}  }'
{
  "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"
    ]
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Delete a community post

DELETE
/api/v1/community/posts/{id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Post UUID

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.boldvideo.io/api/v1/community/posts/string" \  -H "X-Viewer-ID: string"
Empty
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Update a community post

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

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Post UUID

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Request Body

application/json

Editable post parameters

post*

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://app.boldvideo.io/api/v1/community/posts/string" \  -H "X-Viewer-ID: string" \  -H "Content-Type: application/json" \  -d '{    "post": {}  }'
{
  "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"
    ]
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Create a comment on a post

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

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

post_id*string

Post UUID

Header Parameters

X-Viewer-ID*string

Viewer UUID (required)

Request Body

application/json

Comment 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/community/posts/string/comments" \  -H "X-Viewer-ID: string" \  -H "Content-Type: application/json" \  -d '{    "comment": {      "content": "Great post! Thanks for sharing.",      "mentions": [        "outseta:AbC123"      ]    }  }'
{
  "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"
    ]
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}