Profile

Get current user profile

Requires authentication

get/profile

Request

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

Response

Success response

Example response

{
  "response": {
    "id": 1,
    "nickname": "nickname",
    "about": "About text",
    "banned": false,
    "ids": {
      "shikimori": {
        "id": 1,
        "nickname": "shiki_nickname"
      },
      "vk": 12345,
      "tg_nickname": "tg_nickname"
    },
    "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"
    },
    "lists_privacy": "public",
    "privacy": {
      "shiki_public": false,
      "tg_public": false,
      "vk_public": false,
      "discord_public": false
    },
    "notifications": {
      "vk": true,
      "telegram": false,
      "count": 12
    },
    "messages": {
      "unread_count": 1234
    }
  }
}

Changes

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