Comments

Get comment children

get/comments/{id}/children

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/comments/{id}/children
  • Auth: none declared

Path parameters

idinteger required

Parent comment ID

Response

Success response

Example response

{
  "response": {
    "comments": [
      {
        "id": 122,
        "name": "nickname",
        "avatars": {
          "big": "https://example.com/big.webp",
          "full": "https://example.com/full.avif",
          "small": "https://example.com/small.webp"
        },
        "children_count": 12,
        "deleted_at": 0,
        "time": 123455644,
        "user_id": 1,
        "vote": 1,
        "roles": [
          "root"
        ],
        "text": "Comment text\n[ж]With BB-codes[/ж][з]striked text[/з][спойлер=\"Title\"]spoiler text[/спойлер]",
        "dislikes": 12,
        "likes": 13,
        "parent_id": 0,
        "item_data": {
          "title": "Anime title",
          "url": "anime-alias-123",
          "posters": {
            "small": "https://example.com/small.webp",
            "medium": "https://example.com/medium.webp",
            "big": "https://example.com/big.webp",
            "huge": "https://example.com/huge.webp",
            "fullsize": "https://example.com/fullsize.webp",
            "mega": "https://example.com/mega.webp"
          }
        }
      }
    ],
    "isMod": false
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.