|
2 | 2 | "openapi": "3.0.4", |
3 | 3 | "info": { |
4 | 4 | "title": "Kavita", |
5 | | - "description": "Kavita provides a set of APIs that are authenticated by JWT. JWT token can be copied from local storage. Assume all fields of a payload are required. Built against v0.8.8.3", |
| 5 | + "description": "Kavita provides a set of APIs that are authenticated by JWT. JWT token can be copied from local storage. Assume all fields of a payload are required. Built against v0.8.8.4", |
6 | 6 | "license": { |
7 | 7 | "name": "GPL-3.0", |
8 | 8 | "url": "https://github.com/Kareadita/Kavita/blob/develop/LICENSE" |
9 | 9 | }, |
10 | | - "version": "0.8.8.3" |
| 10 | + "version": "0.8.8.4" |
11 | 11 | }, |
12 | 12 | "servers": [ |
13 | 13 | { |
|
4075 | 4075 | "content": { |
4076 | 4076 | "text/plain": { |
4077 | 4077 | "schema": { |
4078 | | - "type": "object", |
4079 | | - "additionalProperties": { |
4080 | | - "type": "boolean" |
| 4078 | + "type": "array", |
| 4079 | + "items": { |
| 4080 | + "type": "string" |
4081 | 4081 | } |
4082 | 4082 | } |
4083 | 4083 | }, |
4084 | 4084 | "application/json": { |
4085 | 4085 | "schema": { |
4086 | | - "type": "object", |
4087 | | - "additionalProperties": { |
4088 | | - "type": "boolean" |
| 4086 | + "type": "array", |
| 4087 | + "items": { |
| 4088 | + "type": "string" |
4089 | 4089 | } |
4090 | 4090 | } |
4091 | 4091 | }, |
4092 | 4092 | "text/json": { |
4093 | 4093 | "schema": { |
4094 | | - "type": "object", |
4095 | | - "additionalProperties": { |
4096 | | - "type": "boolean" |
| 4094 | + "type": "array", |
| 4095 | + "items": { |
| 4096 | + "type": "string" |
4097 | 4097 | } |
4098 | 4098 | } |
4099 | 4099 | } |
|
18815 | 18815 | "type": "boolean", |
18816 | 18816 | "description": "Enable data saver mode across Kavita, limiting information that is pre-fetched" |
18817 | 18817 | }, |
| 18818 | + "customKeyBinds": { |
| 18819 | + "type": "object", |
| 18820 | + "properties": { |
| 18821 | + "NavigateToSettings": { |
| 18822 | + "type": "array", |
| 18823 | + "items": { |
| 18824 | + "$ref": "#/components/schemas/KeyBind" |
| 18825 | + } |
| 18826 | + }, |
| 18827 | + "OpenSearch": { |
| 18828 | + "type": "array", |
| 18829 | + "items": { |
| 18830 | + "$ref": "#/components/schemas/KeyBind" |
| 18831 | + } |
| 18832 | + }, |
| 18833 | + "NavigateToScrobbling": { |
| 18834 | + "type": "array", |
| 18835 | + "items": { |
| 18836 | + "$ref": "#/components/schemas/KeyBind" |
| 18837 | + } |
| 18838 | + }, |
| 18839 | + "ToggleFullScreen": { |
| 18840 | + "type": "array", |
| 18841 | + "items": { |
| 18842 | + "$ref": "#/components/schemas/KeyBind" |
| 18843 | + } |
| 18844 | + }, |
| 18845 | + "BookmarkPage": { |
| 18846 | + "type": "array", |
| 18847 | + "items": { |
| 18848 | + "$ref": "#/components/schemas/KeyBind" |
| 18849 | + } |
| 18850 | + }, |
| 18851 | + "OpenHelp": { |
| 18852 | + "type": "array", |
| 18853 | + "items": { |
| 18854 | + "$ref": "#/components/schemas/KeyBind" |
| 18855 | + } |
| 18856 | + }, |
| 18857 | + "GoTo": { |
| 18858 | + "type": "array", |
| 18859 | + "items": { |
| 18860 | + "$ref": "#/components/schemas/KeyBind" |
| 18861 | + } |
| 18862 | + }, |
| 18863 | + "ToggleMenu": { |
| 18864 | + "type": "array", |
| 18865 | + "items": { |
| 18866 | + "$ref": "#/components/schemas/KeyBind" |
| 18867 | + } |
| 18868 | + }, |
| 18869 | + "PageLeft": { |
| 18870 | + "type": "array", |
| 18871 | + "items": { |
| 18872 | + "$ref": "#/components/schemas/KeyBind" |
| 18873 | + } |
| 18874 | + }, |
| 18875 | + "PageRight": { |
| 18876 | + "type": "array", |
| 18877 | + "items": { |
| 18878 | + "$ref": "#/components/schemas/KeyBind" |
| 18879 | + } |
| 18880 | + }, |
| 18881 | + "Escape": { |
| 18882 | + "type": "array", |
| 18883 | + "items": { |
| 18884 | + "$ref": "#/components/schemas/KeyBind" |
| 18885 | + } |
| 18886 | + } |
| 18887 | + }, |
| 18888 | + "additionalProperties": false, |
| 18889 | + "description": "JSON dictionary mappings for custom keybinds across the web app.\nValues are a list of key codes that need to be pressed at the same time for the keybind to be valid", |
| 18890 | + "nullable": true |
| 18891 | + }, |
18818 | 18892 | "aniListScrobblingEnabled": { |
18819 | 18893 | "type": "boolean", |
18820 | 18894 | "description": "Should this account have Scrobbling enabled for AniList" |
|
23303 | 23377 | }, |
23304 | 23378 | "additionalProperties": false |
23305 | 23379 | }, |
| 23380 | + "KeyBind": { |
| 23381 | + "type": "object", |
| 23382 | + "properties": { |
| 23383 | + "key": { |
| 23384 | + "type": "string", |
| 23385 | + "nullable": true |
| 23386 | + }, |
| 23387 | + "control": { |
| 23388 | + "type": "boolean" |
| 23389 | + }, |
| 23390 | + "shift": { |
| 23391 | + "type": "boolean" |
| 23392 | + }, |
| 23393 | + "meta": { |
| 23394 | + "type": "boolean" |
| 23395 | + }, |
| 23396 | + "alt": { |
| 23397 | + "type": "boolean" |
| 23398 | + }, |
| 23399 | + "controllerSequence": { |
| 23400 | + "type": "array", |
| 23401 | + "items": { |
| 23402 | + "type": "string" |
| 23403 | + }, |
| 23404 | + "nullable": true |
| 23405 | + } |
| 23406 | + }, |
| 23407 | + "additionalProperties": false |
| 23408 | + }, |
23306 | 23409 | "KoreaderBookDto": { |
23307 | 23410 | "type": "object", |
23308 | 23411 | "properties": { |
|
23456 | 23559 | "type": "boolean", |
23457 | 23560 | "description": "Should series inherit web links from the first chapter/volume" |
23458 | 23561 | }, |
| 23562 | + "defaultLanguage": { |
| 23563 | + "type": "string", |
| 23564 | + "description": "Language to assign to series if none is set in the metadata", |
| 23565 | + "nullable": true |
| 23566 | + }, |
23459 | 23567 | "created": { |
23460 | 23568 | "type": "string", |
23461 | 23569 | "format": "date-time" |
|
23625 | 23733 | }, |
23626 | 23734 | "inheritWebLinksFromFirstChapter": { |
23627 | 23735 | "type": "boolean" |
| 23736 | + }, |
| 23737 | + "defaultLanguage": { |
| 23738 | + "type": "string", |
| 23739 | + "nullable": true |
23628 | 23740 | } |
23629 | 23741 | }, |
23630 | 23742 | "additionalProperties": false |
|
28856 | 28968 | "inheritWebLinksFromFirstChapter": { |
28857 | 28969 | "type": "boolean" |
28858 | 28970 | }, |
| 28971 | + "defaultLanguage": { |
| 28972 | + "type": "string", |
| 28973 | + "nullable": true |
| 28974 | + }, |
28859 | 28975 | "fileGroupTypes": { |
28860 | 28976 | "type": "array", |
28861 | 28977 | "items": { |
@@ -29469,21 +29585,25 @@ |
29469 | 29585 | "UpdateStreamPositionDto": { |
29470 | 29586 | "type": "object", |
29471 | 29587 | "properties": { |
29472 | | - "fromPosition": { |
| 29588 | + "streamName": { |
| 29589 | + "type": "string", |
| 29590 | + "nullable": true |
| 29591 | + }, |
| 29592 | + "id": { |
29473 | 29593 | "type": "integer", |
29474 | 29594 | "format": "int32" |
29475 | 29595 | }, |
29476 | | - "toPosition": { |
| 29596 | + "fromPosition": { |
29477 | 29597 | "type": "integer", |
29478 | 29598 | "format": "int32" |
29479 | 29599 | }, |
29480 | | - "id": { |
| 29600 | + "toPosition": { |
29481 | 29601 | "type": "integer", |
29482 | 29602 | "format": "int32" |
29483 | 29603 | }, |
29484 | | - "streamName": { |
29485 | | - "type": "string", |
29486 | | - "nullable": true |
| 29604 | + "positionIncludesInvisible": { |
| 29605 | + "type": "boolean", |
| 29606 | + "description": "If the API.DTOs.Dashboard.UpdateStreamPositionDto.ToPosition has taken into account non-visible items" |
29487 | 29607 | } |
29488 | 29608 | }, |
29489 | 29609 | "additionalProperties": false |
|
29698 | 29818 | "bookReaderHighlightSlots", |
29699 | 29819 | "collapseSeriesRelationships", |
29700 | 29820 | "colorScapeEnabled", |
| 29821 | + "customKeyBinds", |
29701 | 29822 | "dataSaver", |
29702 | 29823 | "locale", |
29703 | 29824 | "noTransitions", |
|
29739 | 29860 | "dataSaver": { |
29740 | 29861 | "type": "boolean" |
29741 | 29862 | }, |
| 29863 | + "customKeyBinds": { |
| 29864 | + "type": "object", |
| 29865 | + "properties": { |
| 29866 | + "NavigateToSettings": { |
| 29867 | + "type": "array", |
| 29868 | + "items": { |
| 29869 | + "$ref": "#/components/schemas/KeyBind" |
| 29870 | + } |
| 29871 | + }, |
| 29872 | + "OpenSearch": { |
| 29873 | + "type": "array", |
| 29874 | + "items": { |
| 29875 | + "$ref": "#/components/schemas/KeyBind" |
| 29876 | + } |
| 29877 | + }, |
| 29878 | + "NavigateToScrobbling": { |
| 29879 | + "type": "array", |
| 29880 | + "items": { |
| 29881 | + "$ref": "#/components/schemas/KeyBind" |
| 29882 | + } |
| 29883 | + }, |
| 29884 | + "ToggleFullScreen": { |
| 29885 | + "type": "array", |
| 29886 | + "items": { |
| 29887 | + "$ref": "#/components/schemas/KeyBind" |
| 29888 | + } |
| 29889 | + }, |
| 29890 | + "BookmarkPage": { |
| 29891 | + "type": "array", |
| 29892 | + "items": { |
| 29893 | + "$ref": "#/components/schemas/KeyBind" |
| 29894 | + } |
| 29895 | + }, |
| 29896 | + "OpenHelp": { |
| 29897 | + "type": "array", |
| 29898 | + "items": { |
| 29899 | + "$ref": "#/components/schemas/KeyBind" |
| 29900 | + } |
| 29901 | + }, |
| 29902 | + "GoTo": { |
| 29903 | + "type": "array", |
| 29904 | + "items": { |
| 29905 | + "$ref": "#/components/schemas/KeyBind" |
| 29906 | + } |
| 29907 | + }, |
| 29908 | + "ToggleMenu": { |
| 29909 | + "type": "array", |
| 29910 | + "items": { |
| 29911 | + "$ref": "#/components/schemas/KeyBind" |
| 29912 | + } |
| 29913 | + }, |
| 29914 | + "PageLeft": { |
| 29915 | + "type": "array", |
| 29916 | + "items": { |
| 29917 | + "$ref": "#/components/schemas/KeyBind" |
| 29918 | + } |
| 29919 | + }, |
| 29920 | + "PageRight": { |
| 29921 | + "type": "array", |
| 29922 | + "items": { |
| 29923 | + "$ref": "#/components/schemas/KeyBind" |
| 29924 | + } |
| 29925 | + }, |
| 29926 | + "Escape": { |
| 29927 | + "type": "array", |
| 29928 | + "items": { |
| 29929 | + "$ref": "#/components/schemas/KeyBind" |
| 29930 | + } |
| 29931 | + } |
| 29932 | + }, |
| 29933 | + "additionalProperties": false |
| 29934 | + }, |
29742 | 29935 | "aniListScrobblingEnabled": { |
29743 | 29936 | "type": "boolean" |
29744 | 29937 | }, |
|
0 commit comments