View raw JSON
{
"type": "object",
"required": [
"queryParams"
],
"properties": {
"queryParams": {
"type": "object",
"required": [
"search_query"
],
"properties": {
"feature": {
"anyOf": [
{
"enum": [
"live",
"4k",
"hd",
"subtitles",
"creative_commons",
"360",
"vr180",
"3d",
"hdr",
"location",
"purchased"
],
"type": "string",
"title": "YouTubeFeatureAPI",
"description": "YouTube特征过滤 - API显示版本",
"x-readme-ref-name": "YouTubeFeatureAPI"
},
{
"type": "null"
}
],
"title": "Feature",
"examples": [
"360",
"hd",
"4k",
"subtitles",
"live",
"creative_commons",
"vr180",
"3d",
"hdr",
"location",
"purchased"
],
"description": "特征过滤 | Feature filter"
},
"sort_by": {
"anyOf": [
{
"enum": [
"relevance",
"upload_date",
"view_count",
"rating"
],
"type": "string",
"title": "YouTubeSearchSortAPI",
"description": "YouTube搜索排序方式 - API显示版本",
"x-readme-ref-name": "YouTubeSearchSortAPI"
},
{
"type": "null"
}
],
"title": "Sort By",
"examples": [
"relevance",
"upload_date",
"view_count",
"rating"
],
"description": "排序方式 | Sort by"
},
"duration": {
"anyOf": [
{
"enum": [
"short",
"medium",
"long"
],
"type": "string",
"title": "YouTubeDurationAPI",
"description": "YouTube视频时长过滤 - API显示版本",
"x-readme-ref-name": "YouTubeDurationAPI"
},
{
"type": "null"
}
],
"title": "Duration",
"examples": [
"short",
"medium",
"long"
],
"description": "视频时长过滤 | Duration filter"
},
"time_zone": {
"type": "string",
"title": "Time Zone",
"default": "America/Los_Angeles",
"description": "Time zone"
},
"upload_time": {
"anyOf": [
{
"enum": [
"hour",
"today",
"week",
"month",
"year"
],
"type": "string",
"title": "YouTubeUploadTimeAPI",
"description": "YouTube上传时间过滤 - API显示版本",
"x-readme-ref-name": "YouTubeUploadTimeAPI"
},
{
"type": "null"
}
],
"title": "Upload Time",
"examples": [
"hour",
"today",
"week",
"month",
"year"
],
"description": "上传时间过滤 | Upload time filter"
},
"content_type": {
"anyOf": [
{
"enum": [
"video",
"channel",
"playlist",
"movie"
],
"type": "string",
"title": "YouTubeContentTypeAPI",
"description": "YouTube内容类型过滤 - API显示版本",
"x-readme-ref-name": "YouTubeContentTypeAPI"
},
{
"type": "null"
}
],
"title": "Content Type",
"examples": [
"video",
"channel",
"playlist",
"movie"
],
"description": "内容类型过滤 | Content type filter"
},
"country_code": {
"type": "string",
"title": "Country Code",
"default": "US",
"description": "Country code"
},
"search_query": {
"type": "string",
"title": "Search Query",
"examples": [
"Python编程"
],
"maxLength": 200,
"description": "Search keyword"
},
"language_code": {
"type": "string",
"title": "Language Code",
"default": "zh-CN",
"description": "Language code"
},
"continuation_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continuation Token",
"description": "Pagination token"
}
},
"additionalProperties": true
}
},
"additionalProperties": false
}