{"docs":{"name":"Shikimori API","info":"\n\u003ch2 id=\"welcome_to_shikimori_api_v1\"\u003eWelcome to Shikimori API v1\u003c/h2\u003e\n\n\u003cp\u003eThe API has three versions: \u003ca href=\"/api/doc/graphql\"\u003e\u003cstrong\u003egraphql\u003c/strong\u003e\u003c/a\u003e, outdated \u003ca href=\"/api/doc/2.0.html\"\u003e\u003cstrong\u003ev2\u003c/strong\u003e\u003c/a\u003e and outdated \u003ca href=\"/api/doc/1.0.html\"\u003e\u003cstrong\u003ev1\u003c/strong\u003e\u003c/a\u003e. Prefer using \u003ccode\u003egraphql\u003c/code\u003e over \u003ccode\u003ev2\u003c/code\u003e/\u003ccode\u003ev1\u003c/code\u003e when it is possible.\u003c/p\u003e\n\n\u003cp\u003e\u003cstrong\u003ePlease do not parse the main site\u003c/strong\u003e. Fetch all necessary data via API.\u003c/p\u003e\n\n\u003cp\u003e\u003cstrong\u003eNOTE:\u003c/strong\u003e New anime/manga/character/person posters available only in \u003ccode\u003egraphql\u003c/code\u003e API.\u003c/p\u003e\n\n\u003cp\u003eAPI works with \u003ccode\u003eHTTPS\u003c/code\u003e protocol only. \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n\n\u003ch3 id=\"documentation_for_graphql\"\u003eDocumentation for GraphQL\u003c/h3\u003e\n\n\u003cp\u003e\u003ca href=\"/api/doc/graphql\"\u003eClick here\u003c/a\u003e. \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n\n\u003ch3 id=\"documentation_for_v1\"\u003eDocumentation for V1\u003c/h3\u003e\n\n\u003cp\u003eOn this page below. \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n\n\u003ch3 id=\"documentation_for_v2\"\u003eDocumentation for V2\u003c/h3\u003e\n\n\u003cp\u003e\u003ca href=\"/api/doc/2.0.html\"\u003eClick here\u003c/a\u003e. \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n\n\u003ch3 id=\"authentication\"\u003eAuthentication\u003c/h3\u003e\n\n\u003cp\u003eOAuth2 is used for authentication. \u003ca href=\"/oauth\"\u003eOAuth2 guide\u003c/a\u003e.\u003cbr /\u003e All other auth methods are deprecated and will be removed after 2018-07-01. \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n\n\u003ch3 id=\"restrictions\"\u003eRestrictions\u003c/h3\u003e\n\n\u003cp\u003eAPI access is limited by \u003ccode\u003e5rps\u003c/code\u003e and \u003ccode\u003e90rpm\u003c/code\u003e \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n\n\u003ch3 id=\"requirements\"\u003eRequirements\u003c/h3\u003e\n\n\u003cp\u003eAdd your Oauth2 Application name to \u003ccode\u003eUser-Agent\u003c/code\u003e requests header.\u003c/p\u003e\n\n\u003cp\u003eDon’t mimic a browser.\u003c/p\u003e\n\n\u003cp\u003eYour IP address may be banned if you use API without properly set \u003ccode\u003eUser-Agent\u003c/code\u003e header. \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n\n\u003ch3 id=\"pagination_in_api\"\u003ePagination in API\u003c/h3\u003e\n\n\u003cp\u003eWhen you request \u003ccode\u003eN\u003c/code\u003e elements from paginated API, in most cases you will get \u003ccode\u003eN+1\u003c/code\u003e results if API has next page. \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n\n\u003ch3 id=\"third_party_implementations\"\u003eThird party implementations\u003c/h3\u003e\n\n\u003cp\u003e\u003ca href=\"https://github.com/OlegWock/PyShiki\"\u003ePython API implementation\u003c/a\u003e by OlegWock.\u003c/p\u003e\n\n\u003cp\u003e\u003ca href=\"https://github.com/Capster/node-shikimori\"\u003eNode.js API implementation\u003c/a\u003e by Capster.\u003c/p\u003e\n\n\u003cp\u003e\u003ca href=\"https://github.com/JustRoxy/ShikimoriSharp\"\u003eC# API implementation\u003c/a\u003e by JustRoxy.\u003c/p\u003e\n\n\u003cp\u003e\u003ca href=\"https://github.com/iwdt/shikikit#shikimori-api\"\u003eRuby API implementation\u003c/a\u003e by iwdt. \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n\n\u003ch3 id=\"feedback\"\u003eFeedback\u003c/h3\u003e\n\n\u003cp\u003e\u003ca href=\"/morr\"\u003e@morr\u003c/a\u003e, \u003ca href=\"mailto:admin@shikimori.me\"\u003eemail\u003c/a\u003e \u003cbr /\u003e\u003cbr /\u003e\u003c/p\u003e\n","copyright":null,"doc_url":"/api/doc/1.0","api_url":"/api","resources":[{"doc_url":"/api/doc/1.0/users","id":"users","api_url":"/api","name":"Users","short_description":null,"full_description":null,"version":"1.0","formats":null,"metadata":null,"methods":[{"doc_url":"/api/doc/1.0/users/index","name":"index","apis":[{"api_url":"/api/users","http_method":"GET","short_description":"List users","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number between 1 and 100000.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"limit","full_name":"limit","description":"\n\u003cp\u003e100 maximum\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"","required":false,"allow_nil":false,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["GET /api/users\n200\n[\n  {\n    \"id\": 23456806,\n    \"nickname\": \"Test1\",\n    \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n    \"image\": {\n      \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n      \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n      \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n      \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n      \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n      \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n      \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n    },\n    \"last_online_at\": \"2022-11-26T17:19:31.010+03:00\",\n    \"url\": \"http://test.host/Test1\"\n  },\n  {\n    \"id\": 23456807,\n    \"nickname\": \"Test2\",\n    \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n    \"image\": {\n      \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n      \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n      \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n      \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n      \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n      \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n      \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n    },\n    \"last_online_at\": \"2022-11-26T17:19:31.010+03:00\",\n    \"url\": \"http://test.host/Test2\"\n  }\n]"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/show","name":"show","apis":[{"api_url":"/api/users/:id","http_method":"GET","short_description":"Show an user","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"is_nickname","full_name":"is_nickname","description":"\n\u003cp\u003e\u003ccode\u003e1\u003c/code\u003e if you want to get user by its nickname\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003e1\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["GET /api/users/23456816\n200\n{\n  \"id\": 23456816,\n  \"nickname\": \"Test\",\n  \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n  \"image\": {\n    \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n    \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n    \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n    \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n    \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n    \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n    \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n  },\n  \"last_online_at\": \"2022-11-26T17:19:31.451+03:00\",\n  \"url\": \"http://test.host/Test\",\n  \"name\": null,\n  \"sex\": null,\n  \"full_years\": null,\n  \"last_online\": \"сейчас на сайте\",\n  \"website\": \"\",\n  \"location\": null,\n  \"banned\": false,\n  \"about\": \"\",\n  \"about_html\": \"\",\n  \"common_info\": [\n    \"Нет личных данных\",\n    \"на сайте с \u003cspan class='b-tooltipped dotted mobile unprocessed' data-direction='right' title='26 ноября 2022 г.'\u003e26 ноября 2022 г.\u003c/span\u003e\"\n  ],\n  \"show_comments\": false,\n  \"in_friends\": null,\n  \"is_ignored\": false,\n  \"stats\": {\n    \"statuses\": {\n      \"anime\": [\n        {\n          \"id\": 0,\n          \"grouped_id\": \"planned\",\n          \"name\": \"planned\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        },\n        {\n          \"id\": 1,\n          \"grouped_id\": \"watching,rewatching\",\n          \"name\": \"watching\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        },\n        {\n          \"id\": 2,\n          \"grouped_id\": \"completed\",\n          \"name\": \"completed\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        },\n        {\n          \"id\": 3,\n          \"grouped_id\": \"on_hold\",\n          \"name\": \"on_hold\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        },\n        {\n          \"id\": 4,\n          \"grouped_id\": \"dropped\",\n          \"name\": \"dropped\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        }\n      ],\n      \"manga\": [\n        {\n          \"id\": 0,\n          \"grouped_id\": \"planned\",\n          \"name\": \"planned\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        },\n        {\n          \"id\": 1,\n          \"grouped_id\": \"watching,rewatching\",\n          \"name\": \"watching\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        },\n        {\n          \"id\": 2,\n          \"grouped_id\": \"completed\",\n          \"name\": \"completed\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        },\n        {\n          \"id\": 3,\n          \"grouped_id\": \"on_hold\",\n          \"name\": \"on_hold\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        },\n        {\n          \"id\": 4,\n          \"grouped_id\": \"dropped\",\n          \"name\": \"dropped\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        }\n      ]\n    },\n    \"full_statuses\": {\n      \"anime\": [\n        {\n          \"id\": 0,\n          \"grouped_id\": \"planned\",\n          \"name\": \"planned\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        },\n        {\n          \"id\": 1,\n          \"grouped_id\": \"watching\",\n          \"name\": \"watching\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        },\n        {\n          \"id\": 9,\n          \"grouped_id\": \"rewatching\",\n          \"name\": \"rewatching\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        },\n        {\n          \"id\": 2,\n          \"grouped_id\": \"completed\",\n          \"name\": \"completed\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        },\n        {\n          \"id\": 3,\n          \"grouped_id\": \"on_hold\",\n          \"name\": \"on_hold\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        },\n        {\n          \"id\": 4,\n          \"grouped_id\": \"dropped\",\n          \"name\": \"dropped\",\n          \"size\": 0,\n          \"type\": \"Anime\"\n        }\n      ],\n      \"manga\": [\n        {\n          \"id\": 0,\n          \"grouped_id\": \"planned\",\n          \"name\": \"planned\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        },\n        {\n          \"id\": 1,\n          \"grouped_id\": \"watching\",\n          \"name\": \"watching\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        },\n        {\n          \"id\": 9,\n          \"grouped_id\": \"rewatching\",\n          \"name\": \"rewatching\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        },\n        {\n          \"id\": 2,\n          \"grouped_id\": \"completed\",\n          \"name\": \"completed\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        },\n        {\n          \"id\": 3,\n          \"grouped_id\": \"on_hold\",\n          \"name\": \"on_hold\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        },\n        {\n          \"id\": 4,\n          \"grouped_id\": \"dropped\",\n          \"name\": \"dropped\",\n          \"size\": 0,\n          \"type\": \"Manga\"\n        }\n      ]\n    },\n    \"scores\": {\n      \"anime\": [],\n      \"manga\": []\n    },\n    \"types\": {\n      \"anime\": [],\n      \"manga\": []\n    },\n    \"ratings\": {\n      \"anime\": []\n    },\n    \"has_anime?\": false,\n    \"has_manga?\": false,\n    \"genres\": [],\n    \"studios\": [],\n    \"publishers\": [],\n    \"activity\": {}\n  },\n  \"style_id\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/info","name":"info","apis":[{"api_url":"/api/users/:id/info","http_method":"GET","short_description":"Show user's brief info","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"returns":[],"examples":["GET /api/users/23456815/info\n200\n{\n  \"id\": 23456815,\n  \"nickname\": \"Test\",\n  \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n  \"image\": {\n    \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n    \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n    \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n    \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n    \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n    \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n    \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n  },\n  \"last_online_at\": \"2022-11-26T17:19:31.424+03:00\",\n  \"url\": \"http://test.host/Test\",\n  \"name\": null,\n  \"sex\": null,\n  \"website\": null,\n  \"birth_on\": null,\n  \"full_years\": null,\n  \"locale\": \"ru\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/whoami","name":"whoami","apis":[{"api_url":"/api/users/whoami","http_method":"GET","short_description":"Show current user's brief info","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"returns":[],"examples":["GET /api/users/whoami\n200\n{\n  \"id\": 23456810,\n  \"nickname\": \"Test\",\n  \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n  \"image\": {\n    \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n    \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n    \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n    \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n    \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n    \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n    \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n  },\n  \"last_online_at\": \"2022-11-26T17:19:31.116+03:00\",\n  \"url\": \"http://test.host/Test\",\n  \"name\": null,\n  \"sex\": null,\n  \"website\": null,\n  \"birth_on\": null,\n  \"full_years\": null,\n  \"locale\": \"ru\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/sign_out","name":"sign_out","apis":[{"api_url":"/api/users/sign_out","http_method":"POST","short_description":"Sign out the user","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"returns":[],"examples":["POST /api/users/sign_out\n200\nsigned out"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/friends","name":"friends","apis":[{"api_url":"/api/users/:id/friends","http_method":"GET","short_description":"Show user's friends","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number between 1 and 100000.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"limit","full_name":"limit","description":"\n\u003cp\u003e100 maximum\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["GET /api/users/23456801/friends\n200\n[\n  {\n    \"id\": 23456802,\n    \"nickname\": \"user_7\",\n    \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n    \"image\": {\n      \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n      \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n      \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n      \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n      \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n      \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n      \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n    },\n    \"last_online_at\": \"2022-11-26T17:19:30.832+03:00\",\n    \"url\": \"http://test.host/user_7\"\n  }\n]"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/clubs","name":"clubs","apis":[{"api_url":"/api/users/:id/clubs","http_method":"GET","short_description":"Show user's clubs","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"returns":[],"examples":["GET /api/users/23456805/clubs\n200\n[\n  {\n    \"id\": 1098,\n    \"name\": \"club_8\",\n    \"logo\": {\n      \"original\": \"/assets/globals/missing_original_original.png\",\n      \"main\": \"/assets/globals/missing_main_main.png\",\n      \"x96\": \"/assets/globals/missing_x96_x96.png\",\n      \"x73\": \"/assets/globals/missing_x73_x73.png\",\n      \"x48\": \"/assets/globals/missing_x48_x48.png\"\n    },\n    \"is_censored\": false,\n    \"join_policy\": \"free\",\n    \"comment_policy\": \"free\"\n  }\n]"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/anime_rates","name":"anime_rates","apis":[{"api_url":"/api/users/:id/anime_rates","http_method":"GET","short_description":"Show user's anime list","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number between 1 and 100000.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"limit","full_name":"limit","description":"\n\u003cp\u003e5000 maximum\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"status","full_name":"status","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003eplanned\u003c/code\u003e, \u003ccode\u003ewatching\u003c/code\u003e, \u003ccode\u003erewatching\u003c/code\u003e, \u003ccode\u003ecompleted\u003c/code\u003e, \u003ccode\u003eon_hold\u003c/code\u003e, \u003ccode\u003edropped\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"censored","full_name":"censored","description":"\n\u003cp\u003eSet to \u003ccode\u003etrue\u003c/code\u003e to discard hentai, yaoi and yuri\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003etrue\u003c/code\u003e, \u003ccode\u003efalse\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["GET /api/users/23456809/anime_rates\n200\n[\n  {\n    \"id\": 20,\n    \"score\": 0,\n    \"status\": \"completed\",\n    \"text\": null,\n    \"episodes\": 0,\n    \"chapters\": null,\n    \"volumes\": null,\n    \"text_html\": \"\",\n    \"rewatches\": 0,\n    \"created_at\": \"2022-11-26T17:19:31.067+03:00\",\n    \"updated_at\": \"2022-11-26T17:19:31.067+03:00\",\n    \"user\": {\n      \"id\": 23456809,\n      \"nickname\": \"user_9\",\n      \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n      \"image\": {\n        \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n        \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n        \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n        \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n        \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n        \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n        \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n      },\n      \"last_online_at\": \"2022-11-26T17:19:31.067+03:00\",\n      \"url\": \"http://test.host/user_9\"\n    },\n    \"anime\": {\n      \"id\": 32,\n      \"name\": \"anime_32\",\n      \"russian\": \"аниме_32\",\n      \"image\": {\n        \"original\": \"/assets/globals/missing_original.jpg\",\n        \"preview\": \"/assets/globals/missing_preview.jpg\",\n        \"x96\": \"/assets/globals/missing_x96.jpg\",\n        \"x48\": \"/assets/globals/missing_x48.jpg\"\n      },\n      \"url\": \"/animes/32-anime-32\",\n      \"kind\": \"tv\",\n      \"score\": \"1.0\",\n      \"status\": \"released\",\n      \"episodes\": 0,\n      \"episodes_aired\": 0,\n      \"aired_on\": null,\n      \"released_on\": null\n    },\n    \"manga\": null\n  }\n]"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/manga_rates","name":"manga_rates","apis":[{"api_url":"/api/users/:id/manga_rates","http_method":"GET","short_description":"Show user's manga list","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number between 1 and 100000.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"limit","full_name":"limit","description":"\n\u003cp\u003e5000 maximum\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"censored","full_name":"censored","description":"\n\u003cp\u003eSet to \u003ccode\u003etrue\u003c/code\u003e to discard hentai, yaoi and yuri\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003etrue\u003c/code\u003e, \u003ccode\u003efalse\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["GET /api/users/23456811/manga_rates\n200\n[\n  {\n    \"id\": 21,\n    \"score\": 0,\n    \"status\": \"watching\",\n    \"text\": null,\n    \"episodes\": null,\n    \"chapters\": 0,\n    \"volumes\": 0,\n    \"text_html\": \"\",\n    \"rewatches\": 0,\n    \"created_at\": \"2022-11-26T17:19:31.153+03:00\",\n    \"updated_at\": \"2022-11-26T17:19:31.153+03:00\",\n    \"user\": {\n      \"id\": 23456811,\n      \"nickname\": \"Test\",\n      \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n      \"image\": {\n        \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n        \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n        \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n        \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n        \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n        \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n        \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n      },\n      \"last_online_at\": \"2022-11-26T17:19:31.153+03:00\",\n      \"url\": \"http://test.host/Test\"\n    },\n    \"anime\": null,\n    \"manga\": {\n      \"id\": 28,\n      \"name\": \"manga_14\",\n      \"russian\": \"манга_17\",\n      \"image\": {\n        \"original\": \"/assets/globals/missing_original.jpg\",\n        \"preview\": \"/assets/globals/missing_preview.jpg\",\n        \"x96\": \"/assets/globals/missing_x96.jpg\",\n        \"x48\": \"/assets/globals/missing_x48.jpg\"\n      },\n      \"url\": \"/mangas/28-manga-14\",\n      \"kind\": \"manga\",\n      \"score\": \"1.0\",\n      \"status\": \"released\",\n      \"volumes\": 0,\n      \"chapters\": 0,\n      \"aired_on\": null,\n      \"released_on\": null\n    }\n  }\n]"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/favourites","name":"favourites","apis":[{"api_url":"/api/users/:id/favourites","http_method":"GET","short_description":"Show user's favourites","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"returns":[],"examples":["GET /api/users/23456812/favourites\n200\n{\n  \"animes\": [],\n  \"mangas\": [],\n  \"ranobe\": [],\n  \"characters\": [],\n  \"people\": [],\n  \"mangakas\": [],\n  \"seyu\": [],\n  \"producers\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/messages","name":"messages","apis":[{"api_url":"/api/users/:id/messages","http_method":"GET","short_description":"Show current user's messages","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eRequires \u003ccode\u003emessages\u003c/code\u003e oauth scope\u003c/p\u003e\n","errors":[],"params":[{"name":"page","full_name":"page","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number between 1 and 100000.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"limit","full_name":"limit","description":"\n\u003cp\u003e100 maximum\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"type","full_name":"type","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003einbox\u003c/code\u003e, \u003ccode\u003eprivate\u003c/code\u003e, \u003ccode\u003esent\u003c/code\u003e, \u003ccode\u003enews\u003c/code\u003e, \u003ccode\u003enotifications\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["GET /api/users/23456813/messages\n200\n[\n  {\n    \"id\": 4,\n    \"kind\": \"anons\",\n    \"read\": false,\n    \"body\": \"anime [b]anons[/b]\",\n    \"html_body\": \"Анонсировано аниме anime_34\",\n    \"created_at\": \"2022-11-26T17:19:31.349+03:00\",\n    \"linked_id\": 270114,\n    \"linked_type\": \"Topic\",\n    \"linked\": {\n      \"id\": 34,\n      \"topic_url\": \"http://test.host/forum/news/270114-topic-5\",\n      \"thread_id\": 270114,\n      \"topic_id\": 270114,\n      \"type\": \"Anime\",\n      \"name\": \"anime_34\",\n      \"russian\": \"аниме_34\",\n      \"image\": {\n        \"original\": \"/assets/globals/missing_original.jpg\",\n        \"preview\": \"/assets/globals/missing_preview.jpg\",\n        \"x96\": \"/assets/globals/missing_x96.jpg\",\n        \"x48\": \"/assets/globals/missing_x48.jpg\"\n      },\n      \"url\": \"/animes/34-anime-34\",\n      \"kind\": \"tv\",\n      \"score\": \"1.0\",\n      \"status\": \"released\",\n      \"episodes\": 0,\n      \"episodes_aired\": 0,\n      \"aired_on\": null,\n      \"released_on\": null\n    },\n    \"from\": {\n      \"id\": 23456814,\n      \"nickname\": \"user_10\",\n      \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n      \"image\": {\n        \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n        \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n        \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n        \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n        \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n        \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n        \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n      },\n      \"last_online_at\": \"2022-11-26T17:19:31.349+03:00\",\n      \"url\": \"http://test.host/user_10\"\n    },\n    \"to\": {\n      \"id\": 23456813,\n      \"nickname\": \"Test\",\n      \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n      \"image\": {\n        \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n        \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n        \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n        \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n        \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n        \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n        \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n      },\n      \"last_online_at\": \"2022-11-26T17:19:31.349+03:00\",\n      \"url\": \"http://test.host/Test\"\n    }\n  }\n]"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/unread_messages","name":"unread_messages","apis":[{"api_url":"/api/users/:id/unread_messages","http_method":"GET","short_description":"Show current user's unread messages counts","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eRequires \u003ccode\u003emessages\u003c/code\u003e oauth scope\u003c/p\u003e\n","errors":[],"params":[],"returns":[],"examples":["GET /api/users/23456799/unread_messages\n200\n{\n  \"messages\": 0,\n  \"news\": 0,\n  \"notifications\": 0\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/history","name":"history","apis":[{"api_url":"/api/users/:id/history","http_method":"GET","short_description":"Show user history","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number between 1 and 100000.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"limit","full_name":"limit","description":"\n\u003cp\u003e100 maximum\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"target_id","full_name":"target_id","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"target_type","full_name":"target_type","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003eAnime\u003c/code\u003e, \u003ccode\u003eManga\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["GET /api/users/23456803/history\n200\n[\n  {\n    \"id\": 42,\n    \"created_at\": \"2022-11-26T17:19:30.888+03:00\",\n    \"description\": \"Запланировано\",\n    \"target\": {\n      \"id\": 31,\n      \"name\": \"anime_31\",\n      \"russian\": \"аниме_31\",\n      \"image\": {\n        \"original\": \"/assets/globals/missing_original.jpg\",\n        \"preview\": \"/assets/globals/missing_preview.jpg\",\n        \"x96\": \"/assets/globals/missing_x96.jpg\",\n        \"x48\": \"/assets/globals/missing_x48.jpg\"\n      },\n      \"url\": \"/animes/31-anime-31\",\n      \"kind\": \"tv\",\n      \"score\": \"1.0\",\n      \"status\": \"released\",\n      \"episodes\": 0,\n      \"episodes_aired\": 0,\n      \"aired_on\": null,\n      \"released_on\": null\n    }\n  },\n  {\n    \"id\": 41,\n    \"created_at\": \"2022-11-26T17:19:30.888+03:00\",\n    \"description\": \"Импортировано аниме - 522 записи\",\n    \"target\": null\n  }\n]"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/doc/1.0/users/bans","name":"bans","apis":[{"api_url":"/api/users/:id/bans","http_method":"GET","short_description":"Show user's bans","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"returns":[],"examples":["GET /api/users/23456804/bans\n200\n[\n  {\n    \"id\": 3,\n    \"user_id\": 23456804,\n    \"comment\": {\n      \"id\": 9,\n      \"commentable_id\": 82468,\n      \"commentable_type\": \"Topic\",\n      \"body\": \"comment_body_9\\n\\n[ban=3]\",\n      \"user_id\": 23456804,\n      \"created_at\": \"2022-11-26T17:19:30.929+03:00\",\n      \"updated_at\": \"2022-11-26T17:19:30.929+03:00\",\n      \"is_offtopic\": false\n    },\n    \"moderator_id\": 23456804,\n    \"reason\": \"moderator comment\",\n    \"created_at\": \"2022-11-26T17:19:30.929+03:00\",\n    \"duration_minutes\": 180,\n    \"user\": {\n      \"id\": 23456804,\n      \"nickname\": \"Test\",\n      \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n      \"image\": {\n        \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n        \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n        \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n        \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n        \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n        \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n        \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n      },\n      \"last_online_at\": \"2022-11-26T17:19:30.929+03:00\",\n      \"url\": \"http://test.host/Test\"\n    },\n    \"moderator\": {\n      \"id\": 23456804,\n      \"nickname\": \"Test\",\n      \"avatar\": \"/assets/globals/missing_avatar/x48.png\",\n      \"image\": {\n        \"x160\": \"/assets/globals/missing_avatar/x160.png\",\n        \"x148\": \"/assets/globals/missing_avatar/x148.png\",\n        \"x80\": \"/assets/globals/missing_avatar/x80.png\",\n        \"x64\": \"/assets/globals/missing_avatar/x64.png\",\n        \"x48\": \"/assets/globals/missing_avatar/x48.png\",\n        \"x32\": \"/assets/globals/missing_avatar/x32.png\",\n        \"x16\": \"/assets/globals/missing_avatar/x16.png\"\n      },\n      \"last_online_at\": \"2022-11-26T17:19:30.929+03:00\",\n      \"url\": \"http://test.host/Test\"\n    }\n  }\n]"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null,"deprecated":null}]}}