mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-22 17:05:05 +00:00
docs(api): note the - language exclusion prefix in the OpenAPI spec
This commit is contained in:
@@ -665,22 +665,22 @@ async def download(request: web.Request) -> web.Response:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
description: Language for video and audio (use 'orig' for original) (default - ["orig"])
|
description: Language for video and audio (use 'orig' for original; a '-' prefix excludes, e.g. ["all", "-es"]) (default - ["orig"])
|
||||||
v_lang:
|
v_lang:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
description: Language for video tracks only (default - [])
|
description: Language for video tracks only (a '-' prefix excludes) (default - [])
|
||||||
a_lang:
|
a_lang:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
description: Language for audio tracks only (default - [])
|
description: Language for audio tracks only (a '-' prefix excludes) (default - [])
|
||||||
s_lang:
|
s_lang:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
description: Language for subtitle tracks (default - ["all"])
|
description: Language for subtitle tracks (a '-' prefix excludes, e.g. ["all", "-es"]) (default - ["all"])
|
||||||
require_subs:
|
require_subs:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@@ -693,7 +693,7 @@ async def download(request: web.Request) -> web.Response:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
description: Languages wanted for forced subtitles, implies forced_subs (default - [])
|
description: Languages wanted for forced subtitles, implies forced_subs (a '-' prefix excludes) (default - [])
|
||||||
exact_lang:
|
exact_lang:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Use exact language matching (no variants) (default - false)
|
description: Use exact language matching (no variants) (default - false)
|
||||||
|
|||||||
Reference in New Issue
Block a user