mirror of
https://github.com/Jackett/Jackett.git
synced 2026-11-02 21:56:21 +08:00
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
3.1 KiB
3.1 KiB
ResponseBlock Schema
Cardigann#/definitions/ResponseBlock
Response type for non-HTML search results. Omit for HTML, which is the default.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | schema.json* |
ResponseBlock Type
object (ResponseBlock)
ResponseBlock Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string |
Required | cannot be null | Cardigann indexer definition |
| noResultsMessage | string |
Optional | cannot be null | Cardigann indexer definition |
type
json or xml.
type
-
is required
-
Type:
string(Type) -
cannot be null
-
defined in: Cardigann indexer definition
type Type
string (Type)
type Constraints
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"json" |
|
"xml" |
noResultsMessage
If the response contains this text, or is empty and this is an empty string, return zero results instead of an error. For sites that do not return an empty object or a zero count.
noResultsMessage
-
is optional
-
Type:
string(No results message) -
cannot be null
-
defined in: Cardigann indexer definition
noResultsMessage Type
string (No results message)