v1

latestOpenAPI 3.0.0AGPLv3.02026-07-14186117194.3 KB
Video Comments

List threads of a video

get/api/v1/videos/{id}/comment-threads

Path parameters

integer required
OR
string uuid required
OR
string required

translation of a uuid v4 with a bigger alphabet to have a shorter uuid

Example:42

The object id, uuid or short uuid

Query parameters

startinteger

Offset used to paginate results

countinteger

Number of items to return

sort'-createdAt' | '-totalReplies'

Sort comments by criteria

Response

successful operation

totalinteger

Example response

{
  "data": [
    {
      "account": {
        "id": 42,
        "name": "chocobozzz",
        "userId": 42
      },
      "id": 42,
      "inReplyToCommentId": 42,
      "text": "This video is wonderful!",
      "threadId": 42,
      "videoId": 42
    }
  ],
  "total": 1
}