mirror of
https://github.com/Jackett/Jackett.git
synced 2026-10-31 11:12:17 +08:00
Co-authored-by: garfield69 <6933240+garfield69@users.noreply.github.com>
4.2 KiB
4.2 KiB
FilterBlock Schema
Cardigann#/definitions/FilterBlock
Filter applied to an extracted value. See the Filters section of the Definition-format wiki.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | schema.json* |
FilterBlock Type
object (FilterBlock)
all of
FilterBlock Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| name | string |
Required | cannot be null | Cardigann indexer definition |
| args | Merged | Optional | cannot be null | Cardigann indexer definition |
name
Filter name.
name
-
is required
-
Type:
string(Name) -
cannot be null
-
defined in: Cardigann indexer definition
name Type
string (Name)
name Constraints
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"querystring" |
|
"timeparse" |
|
"dateparse" |
|
"regexp" |
|
"re_replace" |
|
"split" |
|
"replace" |
|
"trim" |
|
"prepend" |
|
"append" |
|
"tolower" |
|
"toupper" |
|
"base64decode" |
|
"base64encode" |
|
"urldecode" |
|
"urlencode" |
|
"htmldecode" |
|
"htmlencode" |
|
"timeago" |
|
"reltime" |
|
"fuzzytime" |
|
"validfilename" |
|
"diacritics" |
|
"jsonjoinarray" |
|
"hexdump" |
|
"strdump" |
|
"validate" |
args
Filter arguments: a single value or a list, depending on the filter.
args
-
is optional
-
Type: merged type (Arguments)
-
cannot be null
-
defined in: Cardigann indexer definition
args Type
merged type (Arguments)
one (and only one) of