返回提交历史
Modified
README.md
+4
-4
Modified
article/like_coin_fav.md
+3
-3
Modified
comment/action.md
+44
-44
Modified
danmaku/action.md
+24
-24
Modified
electric/Bcoin.md
+7
-7
Modified
electric/WeChat&Alipay.md
+8
-8
Modified
electric/charge_msg.md
+5
-5
Renamed
emote/action.md
+10
-10
Renamed
emote/emote_list.md
+0
-0
Modified
history&toview/history.md
+11
-11
Modified
history&toview/toview.md
+14
-14
Modified
live/manage.md
+15
-15
Added
other/API_auth.md
+17
-0
Modified
user/relation.md
+35
-35
Modified
user/space.md
+45
-45
Modified
video/like_coin_fav.md
+25
-25
Modified
video/report.md
+22
-22
Modified
video/tags.md
+10
-10
XFEstudio/bilibili-API-collect
添加api鉴权说明
9796d17
代码差异
18 个文件
+299
-282
@@ -31,7 +31,7 @@
31
31
32
32
计划整理分类&目录:(√代表已完成,x代表正在施工...)
33
33
34
- cookie
34
- [API认证与鉴权](other/API_auth.md)×
35
35
- [图片格式化](other/picture.md)√
36
36
- [登录](login)
37
37
- [二维码登录](login/QR.md)√
@@ -100,9 +100,9 @@
100
100
- [评论区](comment)
101
101
- [评论区明细](comment/comment_list.md)√
102
102
- [操作](comment/action.md)√
103
- [表情](emoji)
104
- [表情及表情包信息](emoji/emoji_list.md)×
105
- 操作
103
- [表情](emote)
104
- [表情及表情包信息](emote/emote_list.md)√
105
- [操作](emote/action.md)√
106
106
- [创作中心](creativecenter)
107
107
- [统计与数据](creativecenter/statistics&data.md)x
108
108
- 列表查询相关
@@ -16,7 +16,7 @@
16
16
| ------ | ---- | ------------------- | ------ | ---------------------- |
17
17
| id | num | 文章cvID | 必要 | |
18
18
| type | num | 操作方式 | 必要 | 1:点赞<br />2:取消赞 |
19
| csrf | str | cookies中的bili_jct | 必要 | |
19
| csrf | str | CSRF Token(位于cookie) | 必要 | |
20
20
21
21
**json回复:**
22
22
@@ -58,7 +58,7 @@ curl -b "SESSDATA=xxx" -d "id=5806746&type=1&csrf=xxx" "http://api.bilibili.com/
58
58
| -------- | ---- | ------------------- | ------ | ------- |
59
59
| aid | num | 文章cvID | 必要 | |
60
60
| multiply | num | 投币数量 | 必要 | 上限为2 |
61
| csrf | str | cookies中的bili_jct | 必要 | |
61
| csrf | str | CSRF Token(位于cookie) | 必要 | |
62
62
63
63
**json回复:**
64
64
@@ -109,7 +109,7 @@ curl -b "SESSDATA=xxx" -d "aid=5806746&multiply=1&csrf=xxx" "http://api.bilibili
109
109
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
110
110
| ------ | ---- | ------------------- | ------ | ---- |
111
111
| id | num | 文章cvID | 必要 | |
112
| csrf | str | cookies中的bili_jct | 必要 | |
112
| csrf | str | CSRF Token(位于cookie) | 必要 | |
113
113
114
114
**json回复:**
115
115
@@ -12,15 +12,15 @@
12
12
13
13
**正文参数( application/x-www-form-urlencoded ):**
14
14
15
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
16
| ------- | ---- | ------------------- | ------ | ------------------------------------------------------------ |
17
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
18
| oid | num | 目标评论区ID | 必要 | |
19
| root | num | 根评论rpID | 非必要 | 二级评论以上使用 |
20
| parent | num | 父评论rpID | 非必要 | 二级评论同根评论ID<br />大于二级评论为要回复的评论ID |
21
| message | str | 发送评论内容 | 必要 | 最大1000字符<br />表情使用表情转义符 |
22
| plat | num | 发送平台标识 | 非必要 | 1:web端<br />2:安卓客户端<br />3:ios客户端<br />4:wp客户端<br />默认为1 |
23
| csrf | str | cookies中的bili_jct | 必要 | |
15
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
16
| ------- | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
17
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
18
| oid | num | 目标评论区ID | 必要 | |
19
| root | num | 根评论rpID | 非必要 | 二级评论以上使用 |
20
| parent | num | 父评论rpID | 非必要 | 二级评论同根评论ID<br />大于二级评论为要回复的评论ID |
21
| message | str | 发送评论内容 | 必要 | 最大1000字符<br />表情使用表情转义符 |
22
| plat | num | 发送平台标识 | 非必要 | 1:web端<br />2:安卓客户端<br />3:ios客户端<br />4:wp客户端<br />默认为1 |
23
| csrf | str | CSRF Token(位于cookie) | 必要 | |
24
24
25
25
**json回复:**
26
26
@@ -224,13 +224,13 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&message=%E6%B5%8B%E8%AF%95test%5
224
224
225
225
**正文参数( application/x-www-form-urlencoded ):**
226
226
227
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
228
| ------ | ---- | ------------------- | ------ | ----------------------------------------------- |
229
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
230
| oid | num | 目标评论区ID | 必要 | |
231
| rpid | num | 目标评论rpID | 必要 | |
232
| action | num | 操作代码 | 非必要 | 默认为0<br />0:取消赞<br />1:点赞 |
233
| csrf | str | cookies中的bili_jct | 必要 | |
227
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
228
| ------ | ---- | ------------------------ | ------ | ----------------------------------------------- |
229
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
230
| oid | num | 目标评论区ID | 必要 | |
231
| rpid | num | 目标评论rpID | 必要 | |
232
| action | num | 操作代码 | 非必要 | 默认为0<br />0:取消赞<br />1:点赞 |
233
| csrf | str | CSRF Token(位于cookie) | 必要 | |
234
234
235
235
**json回复:**
236
236
@@ -268,13 +268,13 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&rpid=3039053308&action=1&csrf=xx
268
268
269
269
**正文参数( application/x-www-form-urlencoded ):**
270
270
271
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
272
| ------ | ---- | ------------------- | ------ | ----------------------------------------------- |
273
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
274
| oid | num | 目标评论区ID | 必要 | |
275
| rpid | num | 目标评论rpID | 必要 | |
276
| action | num | 操作代码 | 非必要 | 默认为0<br />0:取消踩<br />1:点踩 |
277
| csrf | str | cookies中的bili_jct | 必要 | |
271
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
272
| ------ | ---- | ------------------------ | ------ | ----------------------------------------------- |
273
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
274
| oid | num | 目标评论区ID | 必要 | |
275
| rpid | num | 目标评论rpID | 必要 | |
276
| action | num | 操作代码 | 非必要 | 默认为0<br />0:取消踩<br />1:点踩 |
277
| csrf | str | CSRF Token(位于cookie) | 必要 | |
278
278
279
279
**json回复:**
280
280
@@ -312,12 +312,12 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&rpid=3039053308&action=1&csrf=xx
312
312
313
313
**正文参数( application/x-www-form-urlencoded ):**
314
314
315
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
316
| ------ | ---- | ------------------- | ------ | ----------------------------------------------- |
317
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
318
| oid | num | 目标评论区ID | 必要 | |
319
| rpid | num | 目标评论rpID | 必要 | |
320
| csrf | str | cookies中的bili_jct | 必要 | |
315
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
316
| ------ | ---- | ------------------------ | ------ | ----------------------------------------------- |
317
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
318
| oid | num | 目标评论区ID | 必要 | |
319
| rpid | num | 目标评论rpID | 必要 | |
320
| csrf | str | CSRF Token(位于cookie) | 必要 | |
321
321
322
322
**json回复:**
323
323
@@ -355,13 +355,13 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&rpid=3039053308&csrf=xxx" "http:
355
355
356
356
**正文参数( application/x-www-form-urlencoded ):**
357
357
358
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
359
| ------ | ---- | ------------------- | ------ | ----------------------------------------------- |
360
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
361
| oid | num | 目标评论区ID | 必要 | |
362
| rpid | num | 目标评论rpID | 必要 | |
363
| action | num | 操作代码 | 非必要 | 默认为0<br />0:取消置顶<br />1:设为置顶 |
364
| csrf | str | cookies中的bili_jct | 必要 | |
358
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
359
| ------ | ---- | ------------------------ | ------ | ----------------------------------------------- |
360
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
361
| oid | num | 目标评论区ID | 必要 | |
362
| rpid | num | 目标评论rpID | 必要 | |
363
| action | num | 操作代码 | 非必要 | 默认为0<br />0:取消置顶<br />1:设为置顶 |
364
| csrf | str | CSRF Token(位于cookie) | 必要 | |
365
365
366
366
**json回复:**
367
367
@@ -397,14 +397,14 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&rpid=2940645593&action=1&csrf=xx
397
397
398
398
**正文参数( application/x-www-form-urlencoded ):**
399
399
400
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
401
| ------- | ---- | ------------------- | ------ | ------------------------------------------------------------ |
402
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
403
| oid | num | 目标评论区ID | 必要 | |
404
| rpid | num | 目标评论rpID | 必要 | |
405
| reason | num | 举报类型 | 必要 | 0:自定义备注<br />1:垃圾广告<br />2:色情<br />4:引战<br />5:剧透<br />7:人身攻击<br />8:内容不相关<br />9:违法违规<br />10:低俗<br />12:赌博诈骗<br />15:侵犯隐私<br />16:抢楼<br />17:青少年不良信息 |
406
| content | str | 自定义举报备注 | 非必要 | `reason=0`时有效 |
407
| csrf | str | cookies中的bili_jct | 必要 | |
400
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
401
| ------- | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
402
| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
403
| oid | num | 目标评论区ID | 必要 | |
404
| rpid | num | 目标评论rpID | 必要 | |
405
| reason | num | 举报类型 | 必要 | 0:自定义备注<br />1:垃圾广告<br />2:色情<br />4:引战<br />5:剧透<br />7:人身攻击<br />8:内容不相关<br />9:违法违规<br />10:低俗<br />12:赌博诈骗<br />15:侵犯隐私<br />16:抢楼<br />17:青少年不良信息 |
406
| content | str | 自定义举报备注 | 非必要 | `reason=0`时有效 |
407
| csrf | str | CSRF Token(位于cookie) | 必要 | |
408
408
409
409
**json回复:**
410
410
@@ -10,20 +10,20 @@
10
10
11
11
**正文参数( application/x-www-form-urlencoded ):**
12
12
13
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
14
| -------- | ---- | ---------------------- | ------------ | ------------------------------------------------------------ |
15
| type | num | 1 | 必要 | |
16
| oid | num | 视频CID | 必要 | |
17
| msg | str | 弹幕内容 | 必要 | 长度小于100字符 |
18
| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
19
| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
20
| progress | num | 弹幕出现在视频内的时间 | 非必要 | 单位为毫秒<br />默认为0 |
21
| color | num | 弹幕颜色设置 | 非必要 | 详见[「弹幕」中的属性 p](danmaku.md#属性 p)<br />默认为16777215(#FFFFFF)白色 |
22
| fontsize | num | 弹幕字号设置 | 非必要 | 详见[「弹幕」中的属性 p](danmaku.md#属性 p)<br />默认为25 |
23
| pool | num | 弹幕池选择 | 非必要 | 0:普通弹幕<br />1:字幕弹幕<br />2:BAS弹幕<br />默认为0 |
24
| mode | num | 弹幕类型选择 | 必要 | 1:普通<br />4:底部<br />5:顶部<br />7:高级<br />9:BAS(`pool`必须为2) |
25
| rnd | num | 16位10进制随机数 | 非必要 | **若无此项,则发送弹幕冷却时间限制为90s**<br />若有此项,则发送弹幕冷却时间限制为5s |
26
| csrf | str | cookies中的bili_jct | 必要 | |
13
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
14
| -------- | ---- | ------------------------ | ------------ | ------------------------------------------------------------ |
15
| type | num | 1 | 必要 | |
16
| oid | num | 视频CID | 必要 | |
17
| msg | str | 弹幕内容 | 必要 | 长度小于100字符 |
18
| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
19
| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
20
| progress | num | 弹幕出现在视频内的时间 | 非必要 | 单位为毫秒<br />默认为0 |
21
| color | num | 弹幕颜色设置 | 非必要 | 详见[「弹幕」中的属性 p](danmaku.md#属性 p)<br />默认为16777215(#FFFFFF)白色 |
22
| fontsize | num | 弹幕字号设置 | 非必要 | 详见[「弹幕」中的属性 p](danmaku.md#属性 p)<br />默认为25 |
23
| pool | num | 弹幕池选择 | 非必要 | 0:普通弹幕<br />1:字幕弹幕<br />2:BAS弹幕<br />默认为0 |
24
| mode | num | 弹幕类型选择 | 必要 | 1:普通<br />4:底部<br />5:顶部<br />7:高级<br />9:BAS(`pool`必须为2) |
25
| rnd | num | 16位10进制随机数 | 非必要 | **若无此项,则发送弹幕冷却时间限制为90s**<br />若有此项,则发送弹幕冷却时间限制为5s |
26
| csrf | str | CSRF Token(位于cookie) | 必要 | |
27
27
28
28
**json回复:**
29
29
@@ -81,11 +81,11 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=62131&msg=%e5%89%8d%e6%9d%a5%e8%80%83%e5%8
81
81
82
82
**正文参数( application/x-www-form-urlencoded ):**
83
83
84
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
85
| ------ | ---- | ------------------- | ------ | ---- |
86
| dmid | num | 弹幕dmID | 必要 | |
87
| cid | num | 视频CID | 必要 | |
88
| csrf | str | cookies中的bili_jct | 必要 | |
84
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
85
| ------ | ---- | ------------------------ | ------ | ---- |
86
| dmid | num | 弹幕dmID | 必要 | |
87
| cid | num | 视频CID | 必要 | |
88
| csrf | str | CSRF Token(位于cookie) | 必要 | |
89
89
90
90
**json回复:**
91
91
@@ -124,11 +124,11 @@ curl -b "SESSDATA=xxx" -d "dmid=32310301474947077&cid=168901231&csrf=xxx" "http:
124
124
125
125
**正文参数( application/x-www-form-urlencoded ):**
126
126
127
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
128
| ------ | ---- | ------------------- | ------ | ---- |
129
| mode | str | sp | 必要 | |
130
| cid | num | 视频CID | 必要 | |
131
| csrf | str | cookies中的bili_jct | 必要 | |
127
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
128
| ------ | ---- | ------------------------ | ------ | ---- |
129
| mode | str | sp | 必要 | |
130
| cid | num | 视频CID | 必要 | |
131
| csrf | str | CSRF Token(位于cookie) | 必要 | |
132
132
133
133
**json回复:**
134
134
@@ -12,13 +12,13 @@
12
12
13
13
**正文参数( application/x-www-form-urlencoded ):**
14
14
15
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
16
| -------- | ---- | ------------------- | ------ | ------------------------------------------------- |
17
| elec_num | num | 充电电池数量 | 必要 | 必须在20-99990之间 |
18
| up_mid | num | 充电对象用户UID | 必要 | |
19
| otype | str | 充电来源 | 必要 | up:空间充电<br />archive:视频充电 |
20
| oid | num | 充电来源代码 | 必要 | 空间充电:充电对象用户UID<br />视频充电:视频avID |
21
| csrf | str | cookies中的bili_jct | 必要 | |
15
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
16
| -------- | ---- | ------------------------ | ------ | ------------------------------------------------- |
17
| elec_num | num | 充电电池数量 | 必要 | 必须在20-99990之间 |
18
| up_mid | num | 充电对象用户UID | 必要 | |
19
| otype | str | 充电来源 | 必要 | up:空间充电<br />archive:视频充电 |
20
| oid | num | 充电来源代码 | 必要 | 空间充电:充电对象用户UID<br />视频充电:视频avID |
21
| csrf | str | CSRF Token(位于cookie) | 必要 | |
22
22
23
23
**json回复:**
24
24
@@ -24,14 +24,14 @@
24
24
25
25
**正文参数( application/x-www-form-urlencoded ):**
26
26
27
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
28
| ------------------- | ---- | ------------------- | ------ | ------------------------------------------------------------ |
29
| up_mid | num | 充电对象用户UID | 必要 | |
30
| elec_num | num | 充电电池数量 | 必要 | 必须在20-99990之间<br />1-19区间视为充值B币 |
31
| is_bp_remains_prior | bool | 是否优先扣除B币 | 必要 | true:是<br />false:否<br />在B币不足时剩余的部分利用支付平台支付 |
32
| otype | str | 充电来源 | 必要 | up:空间充电<br />archive:视频充电 |
33
| oid | num | 充电来源代码 | 必要 | 空间充电:充电对象用户UID<br />视频充电:视频avID |
34
| csrf | str | cookies中的bili_jct | 必要 | |
27
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
28
| ------------------- | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
29
| up_mid | num | 充电对象用户UID | 必要 | |
30
| elec_num | num | 充电电池数量 | 必要 | 必须在20-99990之间<br />1-19区间视为充值B币 |
31
| is_bp_remains_prior | bool | 是否优先扣除B币 | 必要 | true:是<br />false:否<br />在B币不足时剩余的部分利用支付平台支付 |
32
| otype | str | 充电来源 | 必要 | up:空间充电<br />archive:视频充电 |
33
| oid | num | 充电来源代码 | 必要 | 空间充电:充电对象用户UID<br />视频充电:视频avID |
34
| csrf | str | CSRF Token(位于cookie) | 必要 | |
35
35
36
36
**json回复:**
37
37
@@ -8,11 +8,11 @@
8
8
9
9
**正文参数( application/x-www-form-urlencoded ):**
10
10
11
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
12
| -------- | ---- | ------------------- | ------ | ---- |
13
| order_id | str | 留言token | 必要 | |
14
| message | str | 留言内容 | 必要 | |
15
| csrf | str | cookies中的bili_jct | 必要 | |
11
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
12
| -------- | ---- | ------------------------ | ------ | ---- |
13
| order_id | str | 留言token | 必要 | |
14
| message | str | 留言内容 | 必要 | |
15
| csrf | str | CSRF Token(位于cookie) | 必要 | |
16
16
17
17
**json回复:**
18
18
@@ -12,11 +12,11 @@
12
12
13
13
**正文参数( application/x-www-form-urlencoded ):**
14
14
15
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
16
| ---------- | ---- | ------------------- | ------ | -------------------------------- |
17
| package_id | num | 表情包ID | 必要 | |
18
| business | str | 使用场景 | 必要 | reply:评论区<br />dynamic:动态 |
19
| csrf | str | cookies中的bili_jct | 必要 | |
15
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
16
| ---------- | ---- | ------------------------ | ------ | -------------------------------- |
17
| package_id | num | 表情包ID | 必要 | |
18
| business | str | 使用场景 | 必要 | reply:评论区<br />dynamic:动态 |
19
| csrf | str | CSRF Token(位于cookie) | 必要 | |
20
20
21
21
**json回复:**
22
22
@@ -52,11 +52,11 @@ curl -b "SESSDATA=xxx" -d "package_id=25&business=reply&csrf=xxx" "http://api.bi
52
52
53
53
**正文参数( application/x-www-form-urlencoded ):**
54
54
55
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
56
| ---------- | ---- | ------------------- | ------ | -------------------------------- |
57
| package_id | num | 表情包ID | 必要 | |
58
| business | str | 使用场景 | 必要 | reply:评论区<br />dynamic:动态 |
59
| csrf | str | cookies中的bili_jct | 必要 | |
55
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
56
| ---------- | ---- | ------------------------ | ------ | -------------------------------- |
57
| package_id | num | 表情包ID | 必要 | |
58
| business | str | 使用场景 | 必要 | reply:评论区<br />dynamic:动态 |
59
| csrf | str | CSRF Token(位于cookie) | 必要 | |
60
60
61
61
**json回复:**
62
62
此文件没有可显示的逐行差异。
@@ -706,10 +706,10 @@ http://api.bilibili.com/x/v2/history?ps=5&pn=1
706
706
707
707
**正文参数( application/x-www-form-urlencoded ):**
708
708
709
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
710
| ------ | ---- | ------------------- | ------ | ------------------------------------------------------------ |
711
| kid | str | 删除的目标记录 | 必要 | 视频:archive\_{视频avID}<br />直播:live_{直播间ID}<br />专栏:article\_{专栏cvID}<br />剧集:pgc\_{剧集ssID}<br />文集:article-list\_{文集rlID} |
712
| csrf | str | cookies中的bili_jct | 必要 | |
709
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
710
| ------ | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
711
| kid | str | 删除的目标记录 | 必要 | 视频:archive\_{视频avID}<br />直播:live_{直播间ID}<br />专栏:article\_{专栏cvID}<br />剧集:pgc\_{剧集ssID}<br />文集:article-list\_{文集rlID} |
712
| csrf | str | CSRF Token(位于cookie) | 必要 | |
713
713
714
714
**json回复:**
715
715
@@ -745,9 +745,9 @@ curl -b "SESSDATA=xxx" -d "kid=archive_540580868&csrf=xxx" "http://api.bilibili.
745
745
746
746
**正文参数( application/x-www-form-urlencoded ):**
747
747
748
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
749
| ------ | ---- | ------------------- | ------ | ---- |
750
| csrf | str | cookies中的bili_jct | 必要 | |
748
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
749
| ------ | ---- | ------------------------ | ------ | ---- |
750
| csrf | str | CSRF Token(位于cookie) | 必要 | |
751
751
752
752
**json回复:**
753
753
@@ -785,10 +785,10 @@ curl -b "SESSDATA=xxx" -d "csrf=xxx" "http://api.bilibili.com/x/v2/history/clear
785
785
786
786
**正文参数( application/x-www-form-urlencoded ):**
787
787
788
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
789
| ------ | ---- | ------------------- | ------ | -------------------------------------------- |
790
| switch | bool | 停用开关 | 非必要 | true:停用<br />false:正常<br />默认为false |
791
| csrf | str | cookies中的bili_jct | 必要 | |
788
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
789
| ------ | ---- | ------------------------ | ------ | -------------------------------------------- |
790
| switch | bool | 停用开关 | 非必要 | true:停用<br />false:正常<br />默认为false |
791
| csrf | str | CSRF Token(位于cookie) | 必要 | |
792
792
793
793
**json回复:**
794
794
@@ -14,11 +14,11 @@
14
14
15
15
**正文参数( application/x-www-form-urlencoded ):**
16
16
17
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
18
| ------ | ---- | ------------------- | ------------ | ------------------ |
19
| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
20
| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
21
| csrf | str | cookies中的bili_jct | 必要 | |
17
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
18
| ------ | ---- | ------------------------ | ------------ | ------------------ |
19
| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
20
| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
21
| csrf | str | CSRF Token(位于cookie) | 必要 | |
22
22
23
23
**json回复:**
24
24
@@ -66,11 +66,11 @@ curl -b "SESSDATA=xxx" -d "aid=41687433&csrf=xxx" "http://api.bilibili.com/x/v2/
66
66
67
67
**正文参数( application/x-www-form-urlencoded ):**
68
68
69
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
70
| ------ | ---- | --------------------- | ------ | ---- |
71
| cid | num | 目标频道ID | 必要 | |
72
| mid | num | 目标频道所属的用户UID | 必要 | |
73
| csrf | str | cookies中的bili_jct | 必要 | |
69
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
70
| ------ | ---- | ------------------------ | ------ | ---- |
71
| cid | num | 目标频道ID | 必要 | |
72
| mid | num | 目标频道所属的用户UID | 必要 | |
73
| csrf | str | CSRF Token(位于cookie) | 必要 | |
74
74
75
75
**json回复:**
76
76
@@ -388,7 +388,7 @@ http://api.bilibili.com/x/v2/history/toview
388
388
| ------ | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
389
389
| viewed | bool | 是否删除所有已观看的视频 | 非必要 | true:删除已观看视频<br />false:不删除已观看视频<br />默认为false |
390
390
| aid | num | 删除的目标记录的avID | 非必要 | |
391
| csrf | str | cookies中的bili_jct | 必要 | |
391
| csrf | str | CSRF Token(位于cookie) | 必要 | |
392
392
393
393
**json回复:**
394
394
@@ -438,9 +438,9 @@ curl -b "SESSDATA=xxx" -d "viewed=true&csrf=xxx" "http://api.bilibili.com/x/v2/h
438
438
439
439
**正文参数( application/x-www-form-urlencoded ):**
440
440
441
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
442
| ------ | ---- | ------------------- | ------ | ---- |
443
| csrf | num | cookies中的bili_jct | 必要 | |
441
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
442
| ------ | ---- | ------------------------ | ------ | ---- |
443
| csrf | num | CSRF Token(位于cookie) | 必要 | |
444
444
445
445
**json回复:**
446
446
@@ -12,11 +12,11 @@
12
12
13
13
**正文参数( application/x-www-form-urlencoded ):**
14
14
15
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
16
| ------- | ---- | ------------------- | ------ | -------------------- |
17
| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
18
| title | str | 直播间标题 | 必要 | 最大20字符 |
19
| csrf | str | cookies中的bili_jct | 必要 | |
15
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
16
| ------- | ---- | ------------------------ | ------ | -------------------- |
17
| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
18
| title | str | 直播间标题 | 必要 | 最大20字符 |
19
| csrf | str | CSRF Token(位于cookie) | 必要 | |
20
20
21
21
**json回复:**
22
22
@@ -58,12 +58,12 @@ curl -b "SESSDATA=xxx;bili_jct=xxx" -d "room_id=10352053&title=%E6%B5%8B%E8%AF%9
58
58
59
59
**正文参数( application/x-www-form-urlencoded ):**
60
60
61
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
62
| -------- | ---- | ---------------------- | ------ | ---------------------------- |
63
| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
64
| area_v2 | num | 直播分区ID(子分区ID) | 必要 | 详见[直播分区](live_area.md) |
65
| platform | str | 必须为`pc` | 必要 | |
66
| csrf | str | cookies中的bili_jct | 必要 | |
61
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
62
| -------- | ---- | ------------------------ | ------ | ---------------------------- |
63
| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
64
| area_v2 | num | 直播分区ID(子分区ID) | 必要 | 详见[直播分区](live_area.md) |
65
| platform | str | 必须为`pc` | 必要 | |
66
| csrf | str | CSRF Token(位于cookie) | 必要 | |
67
67
68
68
**json回复:**
69
69
@@ -185,10 +185,10 @@ curl -b "SESSDATA=xxx;bili_jct=xxx" -d "room_id=10352053&area_v2=27&platform=pc&
185
185
186
186
**正文参数( application/x-www-form-urlencoded ):**
187
187
188
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
189
| ------- | ---- | ------------------- | ------ | -------------------- |
190
| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
191
| csrf | str | cookies中的bili_jct | 必要 | |
188
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
189
| ------- | ---- | ------------------------ | ------ | -------------------- |
190
| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
191
| csrf | str | CSRF Token(位于cookie) | 必要 | |
192
192
193
193
**json回复:**
194
194