Moderation
Users

Get banned users

get/users/banned

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/users/banned
  • Auth: none declared

Query parameters

limitinteger

Limit

offsetinteger

Offset

Response

Success response

Example response

{
  "response": [
    {
      "ban": {
        "end": 10203212121,
        "active": true,
        "reason": "Some reason for ban",
        "is_unban": false,
        "id": 123
      },
      "user": {
        "id": 1,
        "nickname": "nickname",
        "about": "About text",
        "banned": false,
        "ids": {
          "shikimori": {
            "id": 1,
            "nickname": "shiki_nickname"
          },
          "tg_nickname": "tg_nickname",
          "vk": 12345
        },
        "avatars": {
          "big": "https://example.com/big.webp",
          "full": "https://example.com/full.avif",
          "small": "https://example.com/small.webp"
        },
        "bdate": 1104537600,
        "last_online": 1104537600,
        "sex": 0,
        "roles": [
          "editorPlus"
        ],
        "register_date": 1104537600,
        "texts": {
          "color": 123,
          "left": "left text",
          "right": "right text"
        },
        "banner": {
          "cropped": "https://example.com/cropped.webp",
          "full": "https://example.com/full.avif"
        }
      },
      "moderator": {
        "id": 123,
        "nickname": "nickname",
        "roles": [
          "moderator"
        ],
        "avatars": {
          "small": "https://example.com/small.webp",
          "big": "https://example.com/big.webp",
          "full": "https://example.com/full.avif"
        }
      }
    }
  ]
}

Changes

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