File size: 5,566 Bytes
0aee47a |
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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
{
"pre": {
"url": "https://member.bilibili.com/x/vupre/web/archive/pre",
"method": "GET",
"verify": true,
"params": {
"lang": "const: cn"
},
"comment": "获取视频上传基本前置信息"
},
"check_tag_name": {
"url": "https://member.bilibili.com/x/vupre/web/topic/tag/check",
"method": "GET",
"verify": true,
"params": {
"t": "str: tag_name"
},
"comment": "检查 tag_name 是否合法"
},
"available_topics": {
"url": "https://member.bilibili.com/x/vupre/web/topic/type",
"method": "GET",
"verify": true,
"params": {
"type_id":"int: 分区 ID",
"pn": "int: 分页",
"ps": "int: 每页项数"
},
"comment": "根据分区获取可用话题,最多200个可获取"
},
"preupload": {
"url": "https://member.bilibili.com/preupload",
"method": "GET",
"verify": true,
"params": {
"profile": "ugcfr/pc3",
"name": "str: 视频文件名(带后缀)",
"size": "int: 视频大小",
"r": "const str: upos",
"ssl": "const int: 0",
"version": "const str: 2.10.4",
"build": "const str: 2100400",
"upcdn": "const str: bda2",
"probe_version": "const str: 20211012"
},
"comment": "获取上传配置"
},
"cover_up": {
"url": "https://member.bilibili.com/x/vu/web/cover/up",
"method": "POST",
"verify": true,
"data": {
"cover": "str: 封面 dataURI. ",
"#": "cover 字段格式为: data:image/jpeg;base64,${图片 base64 信息}"
},
"comment": "上传封面"
},
"probe": {
"url": "https://member.bilibili.com/preupload",
"method": "GET",
"params": {
"r": "const str: probe"
},
"comment": "获取线路"
},
"submit": {
"url": "https://member.bilibili.com/x/vu/web/add/v3",
"method": "POST",
"verify": true,
"data": {
"act_reserve_create": "const int: 0",
"copyright": "int, 投稿类型。1 自制,2 转载。",
"source": "str: 视频来源。投稿类型为转载时注明来源,为原创时为空。",
"cover": "str: 封面 URL",
"desc": "str: 视频简介。",
"desc_format_id": "const int: 0",
"dynamic": "str: 动态信息。",
"interactive": "const int: 0",
"no_reprint": "int: 显示未经作者授权禁止转载,仅当为原创视频时有效。1 为启用,0 为关闭。",
"open_elec": "int: 是否展示充电信息。1 为是,0 为否。",
"origin_state": "const int: 0",
"subtitles # 字幕设置": {
"lan": "str: 字幕投稿语言,不清楚作用请将该项设置为空",
"open": "int: 是否启用字幕投稿,1 or 0"
},
"tag": "str: 视频标签。使用英文半角逗号分隔的标签组。示例:标签 1,标签 1,标签 1",
"tid": "int: 分区 ID。可以使用 channel 模块进行查询。",
"title": "str: 视频标题",
"up_close_danmaku": "bool: 是否关闭弹幕。",
"up_close_reply": "bool: 是否关闭评论。",
"up_selection_reply": "bool: 是否开启评论精选",
"videos # 分 P 列表": [
{
"title": "str: 标题",
"desc": "str: 简介",
"filename": "str: preupload 时返回的 filename"
}
],
"dtime": "int?: 可选,定时发布时间戳(秒)"
}
},
"missions": {
"url": "https://member.bilibili.com/x/vupre/app/h5/mission/type/all",
"method": "GET",
"verify": false,
"params": {
"tid": "int: 分区 ID"
},
"comment": "获取活动列表"
},
"upload_args": {
"url": "https://member.bilibili.com/x/vupre/web/archive/view?topic_grey=1",
"method": "GET",
"verify": false,
"params": {
"bvid": "str: BVID"
},
"comment": "获取已上传视频的配置"
},
"edit": {
"url": "https://member.bilibili.com/x/vu/web/edit",
"method": "POST",
"verify": true,
"data": {
"act_reserve_create": "const int: 0",
"copyright": "int, 投稿类型。1 自制,2 转载。",
"source": "str: 视频来源。投稿类型为转载时注明来源,为原创时为空。",
"cover": "str: 封面 URL",
"desc": "str: 视频简介。",
"desc_format_id": "const int: 0",
"dynamic": "str: 动态信息。",
"interactive": "const int: 0",
"no_reprint": "int: 显示未经作者授权禁止转载,仅当为原创视频时有效。1 为启用,0 为关闭。",
"open_elec": "int: 是否展示充电信息。1 为是,0 为否。",
"origin_state": "const int: 0",
"subtitles # 字幕设置": {
"lan": "str: 字幕投稿语言,不清楚作用请将该项设置为空",
"open": "int: 是否启用字幕投稿,1 or 0"
},
"tag": "str: 视频标签。使用英文半角逗号分隔的标签组。示例:标签 1,标签 1,标签 1",
"tid": "int: 分区 ID。可以使用 channel 模块进行查询。",
"title": "str: 视频标题",
"up_close_danmaku": "bool: 是否关闭弹幕。",
"up_close_reply": "bool: 是否关闭评论。",
"up_selection_reply": "bool: 是否开启评论精选",
"videos # 分 P 列表": [
{
"title": "str: 标题",
"desc": "str: 简介",
"filename": "str: preupload 时返回的 filename"
}
]
}
}
}
|