-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch_cli_req.schema.json
More file actions
67 lines (67 loc) · 1.78 KB
/
Copy pathsearch_cli_req.schema.json
File metadata and controls
67 lines (67 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "抖音关键词搜索 - 命令行入参",
"description": "抖音实时关键词搜索, 命令行参数入参Schema详解",
"required": [
"keyword"
],
"properties": {
"keyword": {
"type": "string",
"description": "抖音关键词搜索的关键词",
"minLength": 2,
"maxLength": 50
},
"sort": {
"type": "number",
"description": "排序方式: 0=综合排序 , 1=最多点赞 , 2=最新发布",
"default": 0,
"enum": [
0,
1,
2
]
},
"time": {
"type": "number",
"description": "时间范围: 0=全部 , 1=一天内 , 7=七天内 , 180=半年内",
"default": 0,
"enum": [
0,
1,
7,
180
]
},
"duration": {
"type": "number",
"description": "视频时长: 0=不限 , 1=1分钟以下 , 2=1-5分钟 , 3=5分钟以上",
"default": 0,
"enum": [
0,
1,
2,
3
]
},
"content": {
"type": "number",
"description": "内容类型, 0: 不限, 1: 视频, 2: 图文",
"default": 0,
"enum": [
0,
1,
2
]
},
"limit": {
"type": "number",
"description": "获取数量",
"minimum": 1,
"maximum": 10000,
"default": 10
}
},
"additionalProperties": false
}