条目搜索
Changed on实验性 API, 本 schema 和实际的 API 行为都可能随时发生改动
目前支持的筛选条件包括:
- type: 条目类型,参照 SubjectType enum, 或。
- tag: 标签,可以多次出现。且 关系。
- air_date: 播出日期/发售日期。且 关系。
- rating: 用于搜索指定评分的条目。且 关系。
- rating_count: 用于按照评分人数筛选条目。且 关系。
- rank: 用于搜索指定排名的条目。且 关系。
- nsfw: 使用 include 包含NSFW搜索结果。默认排除搜索NSFW条目。无权限情况下忽略此选项,不会返回NSFW条目。
不同筛选条件之间为 且
Request
- The document declares no server URL.
- Auth: none declared
Query parameters
分页参数
分页参数
Request body
Example request
{
"sort": "rank",
"filter": {
"type": [
2
],
"meta_tags": [
"童年",
"原创"
],
"tag": [
"童年",
"原创"
],
"air_date": [
">=2020-07-01",
"<2020-10-01"
],
"rating": [
">=6",
"<8"
],
"rating_count": [
">=200",
"<5000"
],
"rank": [
">10",
"<=18"
]
}
}Response
返回搜索结果
Changes
- ○
added the new optional request property
/
- ○
- ▲
the response property
//became optional for the status - ▲
removed the required property
//from the response with the status - ▲
removed the required property
//from the response with the status - ▲
removed the required property
//from the response with the status - ○
added the optional property
//to the response with the status - ○
added to the
//response propertyallOflist for the response status - ○
the response property
//became required for the status - ○
the
response's property default valuewas added for the status - ○
the
response's property default value0was added for the status - ○
the
response's property default value0was added for the status - ○
the
response's property default value0was added for the status - ○
removed the
1.00enum value from the//response property for the response status - ○
removed the
2.00enum value from the//response property for the response status - ○
removed the
3.00enum value from the//response property for the response status - ○
removed the
4.00enum value from the//response property for the response status - ○
removed the
6.00enum value from the//response property for the response status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status
- ▲