{"openapi": "3.1.0", "info": {"title": "NeoDB API", "version": "1.0.0", "description": "NeoDB API <hr/><a href='https://neodb.social'>Learn more</a>"}, "paths": {"/api/token": {"get": {"operationId": "users_apis_token", "summary": "Get token info", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TokenSchema"}}}}}, "tags": ["user"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me": {"get": {"operationId": "users_apis_me", "summary": "Get current user's basic info", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UserSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["user"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/preference": {"get": {"operationId": "users_apis_preference", "summary": "Get current user's preference", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PreferenceSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["user"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/user/{handle}": {"get": {"operationId": "users_apis_user", "summary": "User", "parameters": [{"in": "path", "name": "handle", "schema": {"title": "Handle", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UserSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get user's basic info\n\nMore detailed info can be fetched from Mastodon API", "tags": ["user"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/catalog/search": {"get": {"operationId": "catalog_apis_search_item", "summary": "Search items in catalog", "parameters": [{"in": "query", "name": "query", "schema": {"title": "Query", "type": "string"}, "required": true}, {"in": "query", "name": "category", "schema": {"anyOf": [{"$ref": "#/components/schemas/SearchableItemCategory"}, {"type": "null"}]}, "required": false}, {"in": "query", "name": "page", "schema": {"default": 1, "title": "Page", "type": "integer"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SearchResult"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Search items in catalog\n\ncount and pages are estimated, the actual data may be less\n\nunlike the web search, this does not show external results,\nnor does it parse a url to fetch an item. to do that, use /catalog/fetch.", "tags": ["catalog"]}}, "/api/catalog/fetch": {"get": {"operationId": "catalog_apis_fetch_item", "summary": "Fetch item from URL of a supported site", "parameters": [{"in": "query", "name": "url", "schema": {"title": "Url", "type": "string"}, "required": true}], "responses": {"302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "202": {"description": "Accepted", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "422": {"description": "Unprocessable Content", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "429": {"description": "Too Many Requests", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Convert a URL from a supported site (e.g. https://m.imdb.com/title/tt2852400/) to an item.\n\nIf the URL is not supported by this server, HTTP 422 will be returned.\nIf the item is available in the catalog, HTTP 302 will be returned.\nIf the item is not available in the catalog, HTTP 202 will be returned.\nWait 15 seconds or longer, call with same input again, it may return the actual fetched item.\nSome site may take ~90 seconds to fetch.\nIf not getting the item after 120 seconds, please stop and consider the URL is not available.\nFrequent request may result with HTTP 429.", "tags": ["catalog"]}}, "/api/catalog/gallery/": {"get": {"operationId": "catalog_apis_trending_items", "summary": "Trending items in catalog", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/Gallery"}, "title": "Response", "type": "array"}}}}}, "description": "Returns a list of galleries, each gallery is a list of items, deprecated, removing by May 1 2025", "tags": ["trending"], "deprecated": true}}, "/api/trending/book/": {"get": {"operationId": "catalog_apis_trending_book", "summary": "Trending books in catalog", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ItemSchema"}, "title": "Response", "type": "array"}}}}}, "tags": ["trending"]}}, "/api/trending/movie/": {"get": {"operationId": "catalog_apis_trending_movie", "summary": "Trending movies in catalog", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ItemSchema"}, "title": "Response", "type": "array"}}}}}, "tags": ["trending"]}}, "/api/trending/tv/": {"get": {"operationId": "catalog_apis_trending_tv", "summary": "Trending tv in catalog", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ItemSchema"}, "title": "Response", "type": "array"}}}}}, "tags": ["trending"]}}, "/api/trending/music/": {"get": {"operationId": "catalog_apis_trending_music", "summary": "Trending music in catalog", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ItemSchema"}, "title": "Response", "type": "array"}}}}}, "tags": ["trending"]}}, "/api/trending/game/": {"get": {"operationId": "catalog_apis_trending_game", "summary": "Trending games in catalog", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ItemSchema"}, "title": "Response", "type": "array"}}}}}, "tags": ["trending"]}}, "/api/trending/podcast/": {"get": {"operationId": "catalog_apis_trending_podcast", "summary": "Trending podcasts in catalog", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ItemSchema"}, "title": "Response", "type": "array"}}}}}, "tags": ["trending"]}}, "/api/trending/performance/": {"get": {"operationId": "catalog_apis_trending_performance", "summary": "Trending performances in catalog", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ItemSchema"}, "title": "Response", "type": "array"}}}}}, "tags": ["trending"]}}, "/api/book/{uuid}": {"get": {"operationId": "catalog_apis_get_book", "summary": "Get Book", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EditionSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/book/{uuid}/sibling/": {"get": {"operationId": "catalog_apis_get_sibling_editions_for_book", "summary": "Get Sibling Editions For Book", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedEditionSchema"}}}}}, "tags": ["catalog"]}}, "/api/movie/{uuid}": {"get": {"operationId": "catalog_apis_get_movie", "summary": "Get Movie", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/MovieSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/tv/{uuid}": {"get": {"operationId": "catalog_apis_get_tv_show", "summary": "Get Tv Show", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TVShowSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/tv/season/{uuid}": {"get": {"operationId": "catalog_apis_get_tv_season", "summary": "Get Tv Season", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TVSeasonSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/tv/episode/{uuid}": {"get": {"operationId": "catalog_apis_get_tv_episode", "summary": "Get Tv Episode", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TVEpisodeSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/podcast/{uuid}": {"get": {"operationId": "catalog_apis_get_podcast", "summary": "Get Podcast", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PodcastSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/podcast/episode/{uuid}": {"get": {"operationId": "catalog_apis_get_podcast_episode", "summary": "Get Podcast Episode", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PodcastEpisodeSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/podcast/{uuid}/episode/": {"get": {"operationId": "catalog_apis_get_episodes_in_podcast", "summary": "Get Episodes In Podcast", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}, {"in": "query", "name": "page", "schema": {"default": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "guid", "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Guid"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EpisodeList"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/album/{uuid}": {"get": {"operationId": "catalog_apis_get_album", "summary": "Get Album", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AlbumSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/game/{uuid}": {"get": {"operationId": "catalog_apis_get_game", "summary": "Get Game", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GameSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/performance/{uuid}": {"get": {"operationId": "catalog_apis_get_performance", "summary": "Get Performance", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PerformanceSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/performance/production/{uuid}": {"get": {"operationId": "catalog_apis_get_performance_production", "summary": "Get Performance Production", "parameters": [{"in": "path", "name": "uuid", "schema": {"title": "Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PerformanceProductionSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "tags": ["catalog"]}}, "/api/me/collection/": {"get": {"operationId": "journal_apis_collection_list_user_collections", "summary": "List User Collections", "parameters": [{"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedCollectionSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get collections created by current user", "tags": ["collection"], "security": [{"OAuthAccessTokenAuth": []}]}, "post": {"operationId": "journal_apis_collection_create_collection", "summary": "Create Collection", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CollectionSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Create collection.\n\n`title`, `brief` (markdown formatted) and `visibility` are required;", "tags": ["collection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CollectionInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/collection/{collection_uuid}": {"get": {"operationId": "journal_apis_collection_get_user_collection", "summary": "Get User Collection", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CollectionSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get collections by its uuid", "tags": ["collection"], "security": [{"OAuthAccessTokenAuth": []}]}, "put": {"operationId": "journal_apis_collection_update_collection", "summary": "Update Collection", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CollectionSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Update collection.", "tags": ["collection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CollectionInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}, "delete": {"operationId": "journal_apis_collection_delete_collection", "summary": "Delete Collection", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Remove a collection.", "tags": ["collection"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/collection/{collection_uuid}": {"get": {"operationId": "journal_apis_collection_get_collection", "summary": "Get Collection", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CollectionSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get details of a collection", "tags": ["collection"]}}, "/api/collection/{collection_uuid}/item/": {"get": {"operationId": "journal_apis_collection_collection_list_items", "summary": "Collection List Items", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedCollectionItemSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get items in a collection collections", "tags": ["collection"]}}, "/api/me/collection/{collection_uuid}/item/": {"get": {"operationId": "journal_apis_collection_user_collection_list_items", "summary": "User Collection List Items", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedCollectionItemSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get items in a collection collections", "tags": ["collection"], "security": [{"OAuthAccessTokenAuth": []}]}, "post": {"operationId": "journal_apis_collection_collection_add_item", "summary": "Collection Add Item", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Add an item to collection", "tags": ["collection"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/CollectionItemInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/collection/{collection_uuid}/item/{item_uuid}": {"delete": {"operationId": "journal_apis_collection_collection_delete_item", "summary": "Collection Delete Item", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}, {"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Remove an item from collection", "tags": ["collection"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/item/{item_uuid}/collection/": {"get": {"operationId": "journal_apis_collection_list_item_collections", "summary": "List Item Collections", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedCollectionSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "List collections containing the item", "tags": ["collection"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/collection/featured/{collection_uuid}": {"post": {"operationId": "journal_apis_collection_collection_set_featured", "summary": "Collection Set Featured", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Set a collection as featured for current user.", "tags": ["featured collection"], "security": [{"OAuthAccessTokenAuth": []}]}, "delete": {"operationId": "journal_apis_collection_collection_unset_featured", "summary": "Collection Unset Featured", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Unset a featured collection for current user.", "tags": ["featured collection"], "security": [{"OAuthAccessTokenAuth": []}]}, "get": {"operationId": "journal_apis_collection_get_featured_collection", "summary": "Get Featured Collection", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}], "responses": {"302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/RedirectedResult"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Redirect to featured collection details.", "tags": ["featured collection"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/collection/featured/": {"get": {"operationId": "journal_apis_collection_list_featured_collections", "summary": "List Featured Collections", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/CollectionSchema"}, "title": "Response", "type": "array"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "List featured collections for current user.", "tags": ["featured collection"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/collection/featured/{collection_uuid}/stats": {"get": {"operationId": "journal_apis_collection_get_featured_collection_stats", "summary": "Get Featured Collection Stats", "parameters": [{"in": "path", "name": "collection_uuid", "schema": {"title": "Collection Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/FeaturedCollectionStatsSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get featured collection stats for current user.", "tags": ["featured collection"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/trending/collection/": {"get": {"operationId": "journal_apis_collection_trending_collection", "summary": "Trending collections", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/CollectionSchema"}, "title": "Response", "type": "array"}}}}}, "tags": ["trending"]}}, "/api/me/note/item/{item_uuid}/": {"get": {"operationId": "journal_apis_note_list_notes_for_item", "summary": "List Notes For Item", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedNoteSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "List notes by current user for an item", "tags": ["note"], "security": [{"OAuthAccessTokenAuth": []}]}, "post": {"operationId": "journal_apis_note_add_note_for_item", "summary": "Add Note For Item", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/NoteSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Add a note for an item", "tags": ["note"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NoteInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/note/{note_uuid}": {"put": {"operationId": "journal_apis_note_update_note", "summary": "Update Note", "parameters": [{"in": "path", "name": "note_uuid", "schema": {"title": "Note Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/NoteSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Update a note.", "tags": ["note"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/NoteInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}, "delete": {"operationId": "journal_apis_note_delete_note", "summary": "Delete Note", "parameters": [{"in": "path", "name": "note_uuid", "schema": {"title": "Note Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Delete a note.", "tags": ["note"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/review/": {"get": {"operationId": "journal_apis_review_list_reviews", "summary": "List Reviews", "parameters": [{"in": "query", "name": "category", "schema": {"anyOf": [{"$ref": "#/components/schemas/AvailableItemCategory"}, {"type": "null"}]}, "required": false}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedReviewSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get reviews by current user\n\n`category` is optional, reviews for all categories will be returned if not specified.", "tags": ["review"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/review/item/{item_uuid}": {"get": {"operationId": "journal_apis_review_get_review_by_item", "summary": "Get Review By Item", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ReviewSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get review on current user's shelf by item uuid", "tags": ["review"], "security": [{"OAuthAccessTokenAuth": []}]}, "post": {"operationId": "journal_apis_review_review_item", "summary": "Review Item", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Create or update a review about an item for current user.\n\n`title`, `body` (markdown formatted) and`visibility` are required;\n`created_time` is optional, default to now.\nif the item is already reviewed, this will update the review.", "tags": ["review"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ReviewInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}, "delete": {"operationId": "journal_apis_review_delete_review", "summary": "Delete Review", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Remove a review about an item for current user.", "tags": ["review"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/review/{review_uuid}": {"get": {"operationId": "journal_apis_review_get_any_review", "summary": "Get Any Review", "parameters": [{"in": "path", "name": "review_uuid", "schema": {"title": "Review Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ReviewSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get a review by its uuid with permission checks.\n\nReturns the review if it is visible to the requesting user based on\nits visibility and the relationship to the owner; otherwise 403.", "tags": ["review"]}}, "/api/user/{handle}/calendar": {"get": {"operationId": "journal_apis_shelf_get_user_calendar_data", "summary": "Get User Calendar Data", "parameters": [{"in": "path", "name": "handle", "schema": {"title": "Handle", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"additionalProperties": {"$ref": "#/components/schemas/CalendarDaySchema"}, "title": "Response", "type": "object"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get calendar data for a specific user.\n\nResponse is a dict keyed by YYYY-MM-DD with {\"items\": [category, ...]}.\nPossible categories: book, movie, tv, music, game, podcast, performance, other.\nNote: result of this api may be cached for a few hours.", "tags": ["shelf"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/user/{handle}/shelf/{type}": {"get": {"operationId": "journal_apis_shelf_list_marks_on_user_shelf", "summary": "List Marks On User Shelf", "parameters": [{"in": "path", "name": "handle", "schema": {"title": "Handle", "type": "string"}, "required": true}, {"in": "path", "name": "type", "schema": {"enum": ["wishlist", "progress", "complete", "dropped"], "title": "ShelfType", "type": "string"}, "required": true}, {"in": "query", "name": "category", "schema": {"anyOf": [{"$ref": "#/components/schemas/AvailableItemCategory"}, {"type": "null"}]}, "required": false}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedMarkSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get holding marks on a specific user's shelf\n\nShelf's `type` should be one of `wishlist` / `progress` / `complete` / `dropped`;\n`category` is optional, marks for all categories will be returned if not specified.", "tags": ["shelf"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/shelf/{type}": {"get": {"operationId": "journal_apis_shelf_list_marks_on_shelf", "summary": "List Marks On Shelf", "parameters": [{"in": "path", "name": "type", "schema": {"enum": ["wishlist", "progress", "complete", "dropped"], "title": "ShelfType", "type": "string"}, "required": true}, {"in": "query", "name": "category", "schema": {"anyOf": [{"$ref": "#/components/schemas/AvailableItemCategory"}, {"type": "null"}]}, "required": false}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedMarkSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get holding marks on current user's shelf\n\nShelf's `type` should be one of `wishlist` / `progress` / `complete` / `dropped`;\n`category` is optional, marks for all categories will be returned if not specified.", "tags": ["shelf"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/shelf/item/{item_uuid}": {"get": {"operationId": "journal_apis_shelf_get_mark_by_item", "summary": "Get Mark By Item", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/MarkSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get holding mark on current user's shelf by item uuid", "tags": ["shelf"], "security": [{"OAuthAccessTokenAuth": []}]}, "post": {"operationId": "journal_apis_shelf_mark_item", "summary": "Mark Item", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Create or update a holding mark about an item for current user.\n\n`shelf_type` and `visibility` are required; `created_time` is optional, default to now.\nif the item is already marked, this will update the mark.\n\nupdating mark without `rating_grade`, `comment_text` or `tags` field will clear them.", "tags": ["shelf"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/MarkInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}, "delete": {"operationId": "journal_apis_shelf_delete_mark", "summary": "Delete Mark", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Remove a holding mark about an item for current user, unlike the web behavior, this does not clean up tags.", "tags": ["shelf"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/shelf/items/{item_uuids}": {"get": {"operationId": "journal_apis_shelf_get_marks_by_item_list", "summary": "Get Marks By Item List", "parameters": [{"in": "path", "name": "item_uuids", "schema": {"title": "Item Uuids", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/MarkSchema"}, "title": "Response", "type": "array"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get a list of holding mark on current user's shelf by a list of item uuids.\n\nInput should be no more than 20, comma-separated.\nOutput has no guarenteed order, and may has less items than input,\nas some items may be merged/deleted or not marked.", "tags": ["shelf"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/shelf/item/{item_uuid}/logs": {"get": {"operationId": "journal_apis_shelf_get_mark_logs_by_item", "summary": "Get Mark Logs By Item", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedMarkLogSchema"}}}}, "302": {"description": "Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get holding mark on current user's shelf by item uuid", "tags": ["shelf"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/tag/": {"get": {"operationId": "journal_apis_tag_list_tags", "summary": "List Tags", "parameters": [{"in": "query", "name": "title", "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Title"}, "required": false}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedTagSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get tags created by current user\n\n`title` is optional, all tags will be returned if not specified.", "tags": ["tag"], "security": [{"OAuthAccessTokenAuth": []}]}, "post": {"operationId": "journal_apis_tag_create_tag", "summary": "Create Tag", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TagSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Create tag.\n\n`title` is required, `visibility` can only be 0 or 2; if tag with same title exists, existing tag will be returned.", "tags": ["tag"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/TagInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/tag/{tag_uuid}": {"get": {"operationId": "journal_apis_tag_get_tag", "summary": "Get Tag", "parameters": [{"in": "path", "name": "tag_uuid", "schema": {"title": "Tag Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TagSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get tags by its uuid", "tags": ["tag"], "security": [{"OAuthAccessTokenAuth": []}]}, "put": {"operationId": "journal_apis_tag_update_tag", "summary": "Update Tag", "parameters": [{"in": "path", "name": "tag_uuid", "schema": {"title": "Tag Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TagSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "409": {"description": "Conflict", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Update tag.\n\nrename tag with an existing title will return HTTP 409 error", "tags": ["tag"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/TagInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}, "delete": {"operationId": "journal_apis_tag_delete_tag", "summary": "Delete Tag", "parameters": [{"in": "path", "name": "tag_uuid", "schema": {"title": "Tag Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Remove a tag.", "tags": ["tag"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/tag/{tag_uuid}/item/": {"get": {"operationId": "journal_apis_tag_tag_list_items", "summary": "Tag List Items", "parameters": [{"in": "path", "name": "tag_uuid", "schema": {"title": "Tag Uuid", "type": "string"}, "required": true}, {"in": "query", "name": "page", "schema": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "required": false}, {"in": "query", "name": "page_size", "schema": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PagedTagItemSchema"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get items in a tag tags", "tags": ["tag"], "security": [{"OAuthAccessTokenAuth": []}]}, "post": {"operationId": "journal_apis_tag_tag_add_item", "summary": "Tag Add Item", "parameters": [{"in": "path", "name": "tag_uuid", "schema": {"title": "Tag Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Add an item to tag", "tags": ["tag"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/TagItemInSchema"}}}, "required": true}, "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/me/tag/{tag_uuid}/item/{item_uuid}": {"delete": {"operationId": "journal_apis_tag_tag_delete_item", "summary": "Tag Delete Item", "parameters": [{"in": "path", "name": "tag_uuid", "schema": {"title": "Tag Uuid", "type": "string"}, "required": true}, {"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "403": {"description": "Forbidden", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Remove an item from tag", "tags": ["tag"], "security": [{"OAuthAccessTokenAuth": []}]}}, "/api/trending/tag/": {"get": {"operationId": "journal_apis_tag_trending_tag", "summary": "Trending Tag", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"items": {"type": "string"}, "title": "Response", "type": "array"}}}}}, "description": "Get popular tags site-wide", "tags": ["trending"]}}, "/api/item/{item_uuid}/posts/": {"get": {"operationId": "journal_apis_post_list_posts_for_item", "summary": "List Posts For Item", "parameters": [{"in": "path", "name": "item_uuid", "schema": {"title": "Item Uuid", "type": "string"}, "required": true}, {"in": "query", "name": "type", "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Type"}, "required": false}, {"in": "query", "name": "page", "schema": {"default": 1, "title": "Page", "type": "integer"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaginatedPostList"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Result"}}}}}, "description": "Get posts for an item\n\n`type` is optional, can be a comma separated list of `comment`, `review`, `collection`, `note`, `mark`; default is `comment,review`", "tags": ["catalog"], "security": [{"OAuthAccessTokenAuth": []}]}}}, "components": {"schemas": {"TokenSchema": {"properties": {"active": {"title": "Active", "type": "boolean"}}, "required": ["active"], "title": "TokenSchema", "type": "object"}, "ExternalAccountSchema": {"properties": {"platform": {"title": "Platform", "type": "string"}, "handle": {"title": "Handle", "type": "string"}, "url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Url"}}, "required": ["platform", "handle", "url"], "title": "ExternalAccountSchema", "type": "object"}, "UserSchema": {"properties": {"url": {"title": "Url", "type": "string"}, "external_acct": {"anyOf": [{"type": "string"}, {"type": "null"}], "deprecated": true, "title": "External Acct"}, "external_accounts": {"items": {"$ref": "#/components/schemas/ExternalAccountSchema"}, "title": "External Accounts", "type": "array"}, "display_name": {"title": "Display Name", "type": "string"}, "avatar": {"title": "Avatar", "type": "string"}, "username": {"title": "Username", "type": "string"}, "roles": {"items": {"enum": ["admin", "staff"], "type": "string"}, "title": "Roles", "type": "array"}}, "required": ["url", "external_acct", "external_accounts", "display_name", "avatar", "username", "roles"], "title": "UserSchema", "type": "object"}, "Result": {"properties": {"message": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Message"}}, "required": ["message"], "title": "Result", "type": "object"}, "PreferenceSchema": {"properties": {"default_crosspost": {"title": "Default Crosspost", "type": "boolean"}, "default_visibility": {"title": "Default Visibility", "type": "integer"}, "hidden_categories": {"items": {"type": "string"}, "title": "Hidden Categories", "type": "array"}, "language": {"title": "Language", "type": "string"}}, "required": ["default_crosspost", "default_visibility", "hidden_categories", "language"], "title": "PreferenceSchema", "type": "object"}, "SearchableItemCategory": {"enum": ["book", "movie", "tv", "movie,tv", "music", "game", "podcast", "performance"], "title": "SearchableItemCategory", "type": "string"}, "AlbumSchema": {"properties": {"id": {"title": "Id", "type": "string"}, "type": {"title": "Type", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "genre": {"items": {"type": "string"}, "title": "Genre", "type": "array"}, "artist": {"items": {"type": "string"}, "title": "Artist", "type": "array"}, "company": {"items": {"type": "string"}, "title": "Company", "type": "array"}, "duration": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Duration"}, "release_date": {"anyOf": [{"format": "date", "type": "string"}, {"type": "null"}], "title": "Release Date"}, "track_list": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Track List"}, "barcode": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Barcode"}}, "required": ["id", "type", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "genre", "artist", "company"], "title": "AlbumSchema", "type": "object"}, "CrewMemberSchema": {"properties": {"name": {"title": "Name", "type": "string"}, "role": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Role"}}, "required": ["name", "role"], "title": "CrewMemberSchema", "type": "object"}, "EditionSchema": {"properties": {"id": {"title": "Id", "type": "string"}, "type": {"title": "Type", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "subtitle": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Subtitle"}, "orig_title": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Orig Title"}, "author": {"items": {"type": "string"}, "title": "Author", "type": "array"}, "translator": {"items": {"type": "string"}, "title": "Translator", "type": "array"}, "language": {"items": {"type": "string"}, "title": "Language", "type": "array"}, "pub_house": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Pub House"}, "pub_year": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Pub Year"}, "pub_month": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Pub Month"}, "binding": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Binding"}, "price": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Price"}, "pages": {"anyOf": [{"type": "integer"}, {"type": "string"}, {"type": "null"}], "title": "Pages"}, "series": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Series"}, "imprint": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Imprint"}, "contents": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Contents"}, "isbn": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Isbn"}}, "required": ["id", "type", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "author", "translator", "language"], "title": "EditionSchema", "type": "object"}, "ExternalResourceSchema": {"properties": {"url": {"title": "Url", "type": "string"}}, "required": ["url"], "title": "ExternalResourceSchema", "type": "object"}, "GameSchema": {"properties": {"id": {"title": "Id", "type": "string"}, "type": {"title": "Type", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "genre": {"items": {"type": "string"}, "title": "Genre", "type": "array"}, "developer": {"items": {"type": "string"}, "title": "Developer", "type": "array"}, "publisher": {"items": {"type": "string"}, "title": "Publisher", "type": "array"}, "platform": {"items": {"type": "string"}, "title": "Platform", "type": "array"}, "release_type": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Release Type"}, "release_date": {"anyOf": [{"format": "date", "type": "string"}, {"type": "null"}], "title": "Release Date"}, "official_site": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Official Site"}}, "required": ["id", "type", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "genre", "developer", "publisher", "platform"], "title": "GameSchema", "type": "object"}, "ItemCategory": {"enum": ["book", "movie", "tv", "music", "game", "podcast", "performance", "collection"], "title": "ItemCategory", "type": "string"}, "LocalizedLabelSchema": {"properties": {"lang": {"title": "Lang", "type": "string"}, "text": {"title": "Text", "type": "string"}}, "required": ["lang", "text"], "title": "LocalizedLabelSchema", "type": "object"}, "MovieSchema": {"properties": {"id": {"title": "Id", "type": "string"}, "type": {"title": "Type", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "orig_title": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Orig Title"}, "director": {"items": {"type": "string"}, "title": "Director", "type": "array"}, "playwright": {"items": {"type": "string"}, "title": "Playwright", "type": "array"}, "actor": {"items": {"type": "string"}, "title": "Actor", "type": "array"}, "genre": {"items": {"type": "string"}, "title": "Genre", "type": "array"}, "language": {"items": {"type": "string"}, "title": "Language", "type": "array"}, "area": {"items": {"type": "string"}, "title": "Area", "type": "array"}, "year": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Year"}, "site": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Site"}, "duration": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Duration"}, "imdb": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Imdb"}}, "required": ["id", "type", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "director", "playwright", "actor", "genre", "language", "area"], "title": "MovieSchema", "type": "object"}, "PerformanceSchema": {"properties": {"type": {"title": "Type", "type": "string"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "id": {"title": "Id", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "orig_title": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Orig Title"}, "genre": {"items": {"type": "string"}, "title": "Genre", "type": "array"}, "language": {"items": {"type": "string"}, "title": "Language", "type": "array"}, "opening_date": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Opening Date"}, "closing_date": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Closing Date"}, "director": {"items": {"type": "string"}, "title": "Director", "type": "array"}, "playwright": {"items": {"type": "string"}, "title": "Playwright", "type": "array"}, "orig_creator": {"items": {"type": "string"}, "title": "Orig Creator", "type": "array"}, "composer": {"items": {"type": "string"}, "title": "Composer", "type": "array"}, "choreographer": {"items": {"type": "string"}, "title": "Choreographer", "type": "array"}, "performer": {"items": {"type": "string"}, "title": "Performer", "type": "array"}, "actor": {"items": {"$ref": "#/components/schemas/CrewMemberSchema"}, "title": "Actor", "type": "array"}, "crew": {"items": {"$ref": "#/components/schemas/CrewMemberSchema"}, "title": "Crew", "type": "array"}, "official_site": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Official Site"}}, "required": ["type", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "id", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "genre", "language", "director", "playwright", "orig_creator", "composer", "choreographer", "performer", "actor", "crew"], "title": "PerformanceSchema", "type": "object"}, "PodcastEpisodeSchema": {"properties": {"id": {"title": "Id", "type": "string"}, "type": {"title": "Type", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "guid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Guid"}, "pub_date": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Pub Date"}, "media_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Media Url"}, "link": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Link"}, "duration": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Duration"}}, "required": ["id", "type", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief"], "title": "PodcastEpisodeSchema", "type": "object"}, "PodcastSchema": {"properties": {"id": {"title": "Id", "type": "string"}, "type": {"title": "Type", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "genre": {"items": {"type": "string"}, "title": "Genre", "type": "array"}, "host": {"items": {"type": "string"}, "title": "Host", "type": "array"}, "language": {"items": {"type": "string"}, "title": "Language", "type": "array"}, "official_site": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Official Site"}, "hosts": {"deprecated": true, "items": {"type": "string"}, "title": "Hosts", "type": "array"}}, "required": ["id", "type", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "genre", "host", "language", "hosts"], "title": "PodcastSchema", "type": "object"}, "SearchResult": {"properties": {"data": {"items": {"anyOf": [{"$ref": "#/components/schemas/EditionSchema"}, {"$ref": "#/components/schemas/TVShowSchema"}, {"$ref": "#/components/schemas/TVSeasonSchema"}, {"$ref": "#/components/schemas/MovieSchema"}, {"$ref": "#/components/schemas/AlbumSchema"}, {"$ref": "#/components/schemas/PodcastSchema"}, {"$ref": "#/components/schemas/GameSchema"}, {"$ref": "#/components/schemas/PerformanceSchema"}, {"$ref": "#/components/schemas/PodcastEpisodeSchema"}]}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "SearchResult", "type": "object"}, "TVSeasonSchema": {"properties": {"id": {"title": "Id", "type": "string"}, "type": {"title": "Type", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "season_number": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Season Number"}, "orig_title": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Orig Title"}, "director": {"items": {"type": "string"}, "title": "Director", "type": "array"}, "playwright": {"items": {"type": "string"}, "title": "Playwright", "type": "array"}, "actor": {"items": {"type": "string"}, "title": "Actor", "type": "array"}, "genre": {"items": {"type": "string"}, "title": "Genre", "type": "array"}, "language": {"items": {"type": "string"}, "title": "Language", "type": "array"}, "area": {"items": {"type": "string"}, "title": "Area", "type": "array"}, "year": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Year"}, "site": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Site"}, "episode_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Episode Count"}, "episode_uuids": {"items": {"type": "string"}, "title": "Episode Uuids", "type": "array"}, "imdb": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Imdb"}}, "required": ["id", "type", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "director", "playwright", "actor", "genre", "language", "area", "episode_uuids"], "title": "TVSeasonSchema", "type": "object"}, "TVShowSchema": {"properties": {"id": {"title": "Id", "type": "string"}, "type": {"title": "Type", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "season_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Season Count"}, "orig_title": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Orig Title"}, "director": {"items": {"type": "string"}, "title": "Director", "type": "array"}, "playwright": {"items": {"type": "string"}, "title": "Playwright", "type": "array"}, "actor": {"items": {"type": "string"}, "title": "Actor", "type": "array"}, "genre": {"items": {"type": "string"}, "title": "Genre", "type": "array"}, "language": {"items": {"type": "string"}, "title": "Language", "type": "array"}, "area": {"items": {"type": "string"}, "title": "Area", "type": "array"}, "year": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Year"}, "site": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Site"}, "episode_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Episode Count"}, "season_uuids": {"items": {"type": "string"}, "title": "Season Uuids", "type": "array"}, "imdb": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Imdb"}}, "required": ["id", "type", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "director", "playwright", "actor", "genre", "language", "area", "season_uuids"], "title": "TVShowSchema", "type": "object"}, "RedirectedResult": {"properties": {"message": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Message"}, "url": {"title": "Url", "type": "string"}}, "required": ["message", "url"], "title": "RedirectedResult", "type": "object"}, "Gallery": {"properties": {"name": {"title": "Name", "type": "string"}, "items": {"items": {"$ref": "#/components/schemas/ItemSchema"}, "title": "Items", "type": "array"}}, "required": ["name", "items"], "title": "Gallery", "type": "object"}, "ItemSchema": {"properties": {"type": {"title": "Type", "type": "string"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "id": {"title": "Id", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}}, "required": ["type", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "id", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources"], "title": "ItemSchema", "type": "object"}, "Input": {"properties": {"page": {"default": 1, "minimum": 1, "title": "Page", "type": "integer"}, "page_size": {"anyOf": [{"minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Page Size"}}, "title": "Input", "type": "object"}, "PagedEditionSchema": {"properties": {"data": {"items": {"$ref": "#/components/schemas/EditionSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PagedEditionSchema", "type": "object"}, "TVEpisodeSchema": {"properties": {"type": {"title": "Type", "type": "string"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "id": {"title": "Id", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "episode_number": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Episode Number"}}, "required": ["type", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "id", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources"], "title": "TVEpisodeSchema", "type": "object"}, "EpisodeList": {"properties": {"data": {"items": {"$ref": "#/components/schemas/PodcastEpisodeSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "EpisodeList", "type": "object"}, "PerformanceProductionSchema": {"properties": {"type": {"title": "Type", "type": "string"}, "title": {"title": "Title", "type": "string"}, "description": {"default": "", "title": "Description", "type": "string"}, "localized_title": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Title", "type": "array"}, "localized_description": {"default": [], "items": {"$ref": "#/components/schemas/LocalizedLabelSchema"}, "title": "Localized Description", "type": "array"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "rating": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rating"}, "rating_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rating Count"}, "rating_distribution": {"anyOf": [{"items": {"type": "integer"}, "type": "array"}, {"type": "null"}], "title": "Rating Distribution"}, "tags": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "brief": {"deprecated": true, "title": "Brief", "type": "string"}, "id": {"title": "Id", "type": "string"}, "uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "category": {"$ref": "#/components/schemas/ItemCategory"}, "parent_uuid": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Parent Uuid"}, "display_title": {"title": "Display Title", "type": "string"}, "external_resources": {"anyOf": [{"items": {"$ref": "#/components/schemas/ExternalResourceSchema"}, "type": "array"}, {"type": "null"}], "title": "External Resources"}, "orig_title": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Orig Title"}, "language": {"items": {"type": "string"}, "title": "Language", "type": "array"}, "opening_date": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Opening Date"}, "closing_date": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Closing Date"}, "director": {"items": {"type": "string"}, "title": "Director", "type": "array"}, "playwright": {"items": {"type": "string"}, "title": "Playwright", "type": "array"}, "orig_creator": {"items": {"type": "string"}, "title": "Orig Creator", "type": "array"}, "composer": {"items": {"type": "string"}, "title": "Composer", "type": "array"}, "choreographer": {"items": {"type": "string"}, "title": "Choreographer", "type": "array"}, "performer": {"items": {"type": "string"}, "title": "Performer", "type": "array"}, "actor": {"items": {"$ref": "#/components/schemas/CrewMemberSchema"}, "title": "Actor", "type": "array"}, "crew": {"items": {"$ref": "#/components/schemas/CrewMemberSchema"}, "title": "Crew", "type": "array"}, "official_site": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Official Site"}}, "required": ["type", "title", "cover_image_url", "rating", "rating_count", "rating_distribution", "tags", "brief", "id", "uuid", "url", "api_url", "category", "parent_uuid", "display_title", "external_resources", "language", "director", "playwright", "orig_creator", "composer", "choreographer", "performer", "actor", "crew"], "title": "PerformanceProductionSchema", "type": "object"}, "CollectionSchema": {"properties": {"uuid": {"title": "Uuid", "type": "string"}, "url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}, "post_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Post Id"}, "created_time": {"format": "date-time", "title": "Created Time", "type": "string"}, "title": {"title": "Title", "type": "string"}, "brief": {"title": "Brief", "type": "string"}, "cover_image_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cover Image Url"}, "cover": {"deprecated": true, "title": "Cover", "type": "string"}, "html_content": {"title": "Html Content", "type": "string"}, "is_dynamic": {"title": "Is Dynamic", "type": "boolean"}, "query": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Query"}}, "required": ["uuid", "url", "api_url", "visibility", "post_id", "created_time", "title", "brief", "cover_image_url", "cover", "html_content", "is_dynamic"], "title": "CollectionSchema", "type": "object"}, "PagedCollectionSchema": {"properties": {"data": {"items": {"$ref": "#/components/schemas/CollectionSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PagedCollectionSchema", "type": "object"}, "CollectionInSchema": {"properties": {"title": {"title": "Title", "type": "string"}, "brief": {"title": "Brief", "type": "string"}, "visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}, "query": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Query"}}, "required": ["title", "brief", "visibility"], "title": "CollectionInSchema", "type": "object"}, "CollectionItemSchema": {"properties": {"item": {"$ref": "#/components/schemas/ItemSchema"}, "note": {"title": "Note", "type": "string"}}, "required": ["item", "note"], "title": "CollectionItemSchema", "type": "object"}, "PagedCollectionItemSchema": {"properties": {"data": {"items": {"$ref": "#/components/schemas/CollectionItemSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PagedCollectionItemSchema", "type": "object"}, "CollectionItemInSchema": {"properties": {"item_uuid": {"title": "Item Uuid", "type": "string"}, "note": {"title": "Note", "type": "string"}}, "required": ["item_uuid", "note"], "title": "CollectionItemInSchema", "type": "object"}, "FeaturedCollectionStatsSchema": {"properties": {"wishlist": {"title": "Wishlist", "type": "integer"}, "progress": {"title": "Progress", "type": "integer"}, "complete": {"title": "Complete", "type": "integer"}, "dropped": {"title": "Dropped", "type": "integer"}, "total": {"title": "Total", "type": "integer"}}, "required": ["wishlist", "progress", "complete", "dropped", "total"], "title": "FeaturedCollectionStatsSchema", "type": "object"}, "NoteSchema": {"properties": {"uuid": {"title": "Uuid", "type": "string"}, "post_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Post Id"}, "item": {"$ref": "#/components/schemas/ItemSchema"}, "title": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Title"}, "content": {"title": "Content", "type": "string"}, "sensitive": {"default": false, "title": "Sensitive", "type": "boolean"}, "progress_type": {"anyOf": [{"$ref": "#/components/schemas/ProgressType"}, {"type": "null"}]}, "progress_value": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Progress Value"}, "visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}, "created_time": {"format": "date-time", "title": "Created Time", "type": "string"}}, "required": ["uuid", "post_id", "item", "title", "content", "visibility", "created_time"], "title": "NoteSchema", "type": "object"}, "PagedNoteSchema": {"properties": {"data": {"items": {"$ref": "#/components/schemas/NoteSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PagedNoteSchema", "type": "object"}, "ProgressType": {"enum": ["page", "chapter", "part", "episode", "track", "cycle", "timestamp", "percentage"], "title": "ProgressType", "type": "string"}, "NoteInSchema": {"properties": {"title": {"title": "Title", "type": "string"}, "content": {"title": "Content", "type": "string"}, "sensitive": {"default": false, "title": "Sensitive", "type": "boolean"}, "progress_type": {"anyOf": [{"$ref": "#/components/schemas/ProgressType"}, {"type": "null"}]}, "progress_value": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Progress Value"}, "visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}, "post_to_fediverse": {"default": false, "title": "Post To Fediverse", "type": "boolean"}}, "required": ["title", "content", "visibility"], "title": "NoteInSchema", "type": "object"}, "AvailableItemCategory": {"enum": ["book", "movie", "tv", "music", "game", "podcast", "performance"], "title": "AvailableItemCategory", "type": "string"}, "PagedReviewSchema": {"properties": {"data": {"items": {"$ref": "#/components/schemas/ReviewSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PagedReviewSchema", "type": "object"}, "ReviewSchema": {"properties": {"url": {"title": "Url", "type": "string"}, "api_url": {"title": "Api Url", "type": "string"}, "visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}, "post_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Post Id"}, "item": {"$ref": "#/components/schemas/ItemSchema"}, "created_time": {"format": "date-time", "title": "Created Time", "type": "string"}, "title": {"title": "Title", "type": "string"}, "body": {"title": "Body", "type": "string"}, "html_content": {"title": "Html Content", "type": "string"}}, "required": ["url", "api_url", "visibility", "post_id", "item", "created_time", "title", "body", "html_content"], "title": "ReviewSchema", "type": "object"}, "ReviewInSchema": {"properties": {"visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}, "created_time": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Created Time"}, "title": {"title": "Title", "type": "string"}, "body": {"title": "Body", "type": "string"}, "post_to_fediverse": {"default": false, "title": "Post To Fediverse", "type": "boolean"}}, "required": ["visibility", "title", "body"], "title": "ReviewInSchema", "type": "object"}, "CalendarDaySchema": {"properties": {"items": {"items": {"type": "string"}, "title": "Items", "type": "array"}}, "required": ["items"], "title": "CalendarDaySchema", "type": "object"}, "ShelfType": {"enum": ["wishlist", "progress", "complete", "dropped"], "title": "ShelfType", "type": "string"}, "MarkSchema": {"properties": {"shelf_type": {"$ref": "#/components/schemas/ShelfType"}, "visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}, "post_id": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Post Id"}, "item": {"$ref": "#/components/schemas/ItemSchema"}, "created_time": {"format": "date-time", "title": "Created Time", "type": "string"}, "comment_text": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Comment Text"}, "rating_grade": {"anyOf": [{"maximum": 10, "minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Rating Grade"}, "tags": {"items": {"type": "string"}, "title": "Tags", "type": "array"}}, "required": ["shelf_type", "visibility", "post_id", "item", "created_time", "comment_text", "rating_grade", "tags"], "title": "MarkSchema", "type": "object"}, "PagedMarkSchema": {"properties": {"data": {"items": {"$ref": "#/components/schemas/MarkSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PagedMarkSchema", "type": "object"}, "MarkInSchema": {"properties": {"shelf_type": {"$ref": "#/components/schemas/ShelfType"}, "visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}, "comment_text": {"default": "", "title": "Comment Text", "type": "string"}, "rating_grade": {"default": 0, "maximum": 10, "minimum": 0, "title": "Rating Grade", "type": "integer"}, "tags": {"default": [], "items": {"type": "string"}, "title": "Tags", "type": "array"}, "created_time": {"anyOf": [{"format": "date-time", "type": "string"}, {"type": "null"}], "title": "Created Time"}, "post_to_fediverse": {"default": false, "title": "Post To Fediverse", "type": "boolean"}}, "required": ["shelf_type", "visibility"], "title": "MarkInSchema", "type": "object"}, "MarkLogSchema": {"properties": {"shelf_type": {"anyOf": [{"$ref": "#/components/schemas/ShelfType"}, {"type": "null"}]}, "timestamp": {"format": "date-time", "title": "Timestamp", "type": "string"}, "comment_text": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Comment Text"}, "rating_grade": {"anyOf": [{"maximum": 10, "minimum": 1, "type": "integer"}, {"type": "null"}], "title": "Rating Grade"}}, "required": ["shelf_type", "timestamp", "comment_text", "rating_grade"], "title": "MarkLogSchema", "type": "object"}, "PagedMarkLogSchema": {"properties": {"data": {"items": {"$ref": "#/components/schemas/MarkLogSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PagedMarkLogSchema", "type": "object"}, "PagedTagSchema": {"properties": {"data": {"items": {"$ref": "#/components/schemas/TagSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PagedTagSchema", "type": "object"}, "TagSchema": {"properties": {"uuid": {"title": "Uuid", "type": "string"}, "title": {"title": "Title", "type": "string"}, "visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}}, "required": ["uuid", "title", "visibility"], "title": "TagSchema", "type": "object"}, "TagInSchema": {"properties": {"title": {"title": "Title", "type": "string"}, "visibility": {"maximum": 2, "minimum": 0, "title": "Visibility", "type": "integer"}}, "required": ["title", "visibility"], "title": "TagInSchema", "type": "object"}, "PagedTagItemSchema": {"properties": {"data": {"items": {"$ref": "#/components/schemas/TagItemSchema"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PagedTagItemSchema", "type": "object"}, "TagItemSchema": {"properties": {"item": {"$ref": "#/components/schemas/ItemSchema"}}, "required": ["item"], "title": "TagItemSchema", "type": "object"}, "TagItemInSchema": {"properties": {"item_uuid": {"title": "Item Uuid", "type": "string"}}, "required": ["item_uuid"], "title": "TagItemInSchema", "type": "object"}, "Account": {"properties": {"id": {"title": "Id", "type": "string"}, "username": {"title": "Username", "type": "string"}, "acct": {"title": "Acct", "type": "string"}, "url": {"title": "Url", "type": "string"}, "display_name": {"title": "Display Name", "type": "string"}, "note": {"title": "Note", "type": "string"}, "avatar": {"title": "Avatar", "type": "string"}, "avatar_static": {"title": "Avatar Static", "type": "string"}, "header": {"title": "Header", "type": "string"}, "header_static": {"title": "Header Static", "type": "string"}, "locked": {"title": "Locked", "type": "boolean"}, "fields": {"items": {"$ref": "#/components/schemas/AccountField"}, "title": "Fields", "type": "array"}, "emojis": {"items": {"$ref": "#/components/schemas/CustomEmoji"}, "title": "Emojis", "type": "array"}, "bot": {"title": "Bot", "type": "boolean"}, "group": {"title": "Group", "type": "boolean"}, "discoverable": {"title": "Discoverable", "type": "boolean"}, "indexable": {"title": "Indexable", "type": "boolean"}, "moved": {"anyOf": [{"type": "boolean"}, {"$ref": "#/components/schemas/Account"}, {"type": "null"}], "title": "Moved"}, "suspended": {"default": false, "title": "Suspended", "type": "boolean"}, "limited": {"default": false, "title": "Limited", "type": "boolean"}, "created_at": {"title": "Created At", "type": "string"}}, "required": ["id", "username", "acct", "url", "display_name", "note", "avatar", "avatar_static", "header", "header_static", "locked", "fields", "emojis", "bot", "group", "discoverable", "indexable", "created_at"], "title": "Account", "type": "object"}, "AccountField": {"properties": {"name": {"title": "Name", "type": "string"}, "value": {"title": "Value", "type": "string"}, "verified_at": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Verified At"}}, "required": ["name", "value"], "title": "AccountField", "type": "object"}, "CustomEmoji": {"properties": {"shortcode": {"title": "Shortcode", "type": "string"}, "url": {"title": "Url", "type": "string"}, "static_url": {"title": "Static Url", "type": "string"}, "visible_in_picker": {"title": "Visible In Picker", "type": "boolean"}, "category": {"title": "Category", "type": "string"}}, "required": ["shortcode", "url", "static_url", "visible_in_picker", "category"], "title": "CustomEmoji", "type": "object"}, "MediaAttachment": {"properties": {"id": {"title": "Id", "type": "string"}, "type": {"enum": ["unknown", "image", "gifv", "video", "audio"], "title": "Type", "type": "string"}, "url": {"title": "Url", "type": "string"}, "preview_url": {"title": "Preview Url", "type": "string"}, "remote_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Remote Url"}, "meta": {"additionalProperties": true, "title": "Meta", "type": "object"}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Description"}, "blurhash": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Blurhash"}}, "required": ["id", "type", "url", "preview_url", "meta"], "title": "MediaAttachment", "type": "object"}, "PaginatedPostList": {"properties": {"data": {"items": {"$ref": "#/components/schemas/Post"}, "title": "Data", "type": "array"}, "pages": {"title": "Pages", "type": "integer"}, "count": {"title": "Count", "type": "integer"}}, "required": ["data", "pages", "count"], "title": "PaginatedPostList", "type": "object"}, "Post": {"properties": {"id": {"title": "Id", "type": "string"}, "uri": {"title": "Uri", "type": "string"}, "created_at": {"title": "Created At", "type": "string"}, "account": {"$ref": "#/components/schemas/Account"}, "content": {"title": "Content", "type": "string"}, "visibility": {"enum": ["public", "unlisted", "private", "direct"], "title": "Visibility", "type": "string"}, "sensitive": {"title": "Sensitive", "type": "boolean"}, "spoiler_text": {"title": "Spoiler Text", "type": "string"}, "media_attachments": {"items": {"$ref": "#/components/schemas/MediaAttachment"}, "title": "Media Attachments", "type": "array"}, "mentions": {"items": {"$ref": "#/components/schemas/StatusMention"}, "title": "Mentions", "type": "array"}, "tags": {"items": {"$ref": "#/components/schemas/StatusTag"}, "title": "Tags", "type": "array"}, "emojis": {"items": {"$ref": "#/components/schemas/CustomEmoji"}, "title": "Emojis", "type": "array"}, "reblogs_count": {"title": "Reblogs Count", "type": "integer"}, "favourites_count": {"title": "Favourites Count", "type": "integer"}, "replies_count": {"title": "Replies Count", "type": "integer"}, "url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Url"}, "in_reply_to_id": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "In Reply To Id"}, "in_reply_to_account_id": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "In Reply To Account Id"}, "language": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Language"}, "text": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Text"}, "edited_at": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Edited At"}, "favourited": {"default": false, "title": "Favourited", "type": "boolean"}, "reblogged": {"default": false, "title": "Reblogged", "type": "boolean"}, "muted": {"default": false, "title": "Muted", "type": "boolean"}, "bookmarked": {"default": false, "title": "Bookmarked", "type": "boolean"}, "pinned": {"default": false, "title": "Pinned", "type": "boolean"}, "ext_neodb": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Ext Neodb"}}, "required": ["id", "uri", "created_at", "account", "content", "visibility", "sensitive", "spoiler_text", "media_attachments", "mentions", "tags", "emojis", "reblogs_count", "favourites_count", "replies_count", "url", "in_reply_to_id", "in_reply_to_account_id", "language", "text"], "title": "Post", "type": "object"}, "StatusMention": {"properties": {"id": {"title": "Id", "type": "string"}, "username": {"title": "Username", "type": "string"}, "url": {"title": "Url", "type": "string"}, "acct": {"title": "Acct", "type": "string"}}, "required": ["id", "username", "url", "acct"], "title": "StatusMention", "type": "object"}, "StatusTag": {"properties": {"name": {"title": "Name", "type": "string"}, "url": {"title": "Url", "type": "string"}}, "required": ["name", "url"], "title": "StatusTag", "type": "object"}}, "securitySchemes": {"OAuthAccessTokenAuth": {"type": "http", "scheme": "bearer"}}}, "servers": []}