Comments

History of deletion/restore comments

get/comments/deleted

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/comments/deleted
  • Auth: none declared

Query parameters

limitinteger

limit

offsetinteger

offset

Response

Success response

Example response

{
  "response": [
    {
      "deletion_id": 101,
      "comment_id": 5421,
      "deleted_by_id": 3,
      "deleted_at": 1706803200,
      "reason": 2,
      "comment_text": "Ты вообще ничего не понимаешь в этой теме",
      "restored_at": 0,
      "deleted_by_role": "moderator",
      "deleted_by_ava": {
        "small": "example",
        "big": "example",
        "full": "example"
      },
      "comment": {
        "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"
          }
        }
      }
    }
  ]
}

Changes

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