mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
add webp thumbnail support
This commit is contained in:
13
api.yml
13
api.yml
@@ -188,6 +188,8 @@ components:
|
||||
enable_server_timing:
|
||||
type: boolean
|
||||
description: Whether to enable server time tracking
|
||||
thumbnail_format:
|
||||
$ref: "#/components/schemas/ThumbnailFormat"
|
||||
Config:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/ConfigOptional"
|
||||
@@ -223,6 +225,7 @@ components:
|
||||
- import_method
|
||||
- max_import_img_count
|
||||
- enable_server_timing
|
||||
- thumbnail_format
|
||||
ConfigUpdated:
|
||||
description: result of updateConfig
|
||||
type: object
|
||||
@@ -1004,6 +1007,16 @@ components:
|
||||
const: 4
|
||||
- title: UpdateTagTranslation
|
||||
const: 5
|
||||
ThumbnailFormat:
|
||||
description: Thumbnail format
|
||||
type: integer
|
||||
oneOf:
|
||||
- title: JPEG
|
||||
const: 0
|
||||
description: MJPEG
|
||||
- title: WEBP
|
||||
const: 1
|
||||
description: WEBP
|
||||
ThumbnailMethod:
|
||||
description: Thumbnail method
|
||||
type: integer
|
||||
|
||||
Reference in New Issue
Block a user