diff --git a/README.md b/README.md
index b755092..1fd2605 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@
计划整理分类&目录:(√代表已完成,x代表正在施工...)
-- cookie
+- [API认证与鉴权](other/API_auth.md)×
- [图片格式化](other/picture.md)√
- [登录](login)
- [二维码登录](login/QR.md)√
@@ -100,9 +100,9 @@
- [评论区](comment)
- [评论区明细](comment/comment_list.md)√
- [操作](comment/action.md)√
-- [表情](emoji)
- - [表情及表情包信息](emoji/emoji_list.md)×
- - 操作
+- [表情](emote)
+ - [表情及表情包信息](emote/emote_list.md)√
+ - [操作](emote/action.md)√
- [创作中心](creativecenter)
- [统计与数据](creativecenter/statistics&data.md)x
- 列表查询相关
diff --git a/article/like_coin_fav.md b/article/like_coin_fav.md
index 3f64a56..f4d8ba3 100644
--- a/article/like_coin_fav.md
+++ b/article/like_coin_fav.md
@@ -16,7 +16,7 @@
| ------ | ---- | ------------------- | ------ | ---------------------- |
| id | num | 文章cvID | 必要 | |
| type | num | 操作方式 | 必要 | 1:点赞
2:取消赞 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -58,7 +58,7 @@ curl -b "SESSDATA=xxx" -d "id=5806746&type=1&csrf=xxx" "http://api.bilibili.com/
| -------- | ---- | ------------------- | ------ | ------- |
| aid | num | 文章cvID | 必要 | |
| multiply | num | 投币数量 | 必要 | 上限为2 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -109,7 +109,7 @@ curl -b "SESSDATA=xxx" -d "aid=5806746&multiply=1&csrf=xxx" "http://api.bilibili
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ------ | ---- | ------------------- | ------ | ---- |
| id | num | 文章cvID | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/comment/action.md b/comment/action.md
index a854977..ea16058 100644
--- a/comment/action.md
+++ b/comment/action.md
@@ -12,15 +12,15 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------- | ---- | ------------------- | ------ | ------------------------------------------------------------ |
-| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
-| oid | num | 目标评论区ID | 必要 | |
-| root | num | 根评论rpID | 非必要 | 二级评论以上使用 |
-| parent | num | 父评论rpID | 非必要 | 二级评论同根评论ID
大于二级评论为要回复的评论ID |
-| message | str | 发送评论内容 | 必要 | 最大1000字符
表情使用表情转义符 |
-| plat | num | 发送平台标识 | 非必要 | 1:web端
2:安卓客户端
3:ios客户端
4:wp客户端
默认为1 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------- | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
+| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
+| oid | num | 目标评论区ID | 必要 | |
+| root | num | 根评论rpID | 非必要 | 二级评论以上使用 |
+| parent | num | 父评论rpID | 非必要 | 二级评论同根评论ID
大于二级评论为要回复的评论ID |
+| message | str | 发送评论内容 | 必要 | 最大1000字符
表情使用表情转义符 |
+| plat | num | 发送平台标识 | 非必要 | 1:web端
2:安卓客户端
3:ios客户端
4:wp客户端
默认为1 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -224,13 +224,13 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&message=%E6%B5%8B%E8%AF%95test%5
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ----------------------------------------------- |
-| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
-| oid | num | 目标评论区ID | 必要 | |
-| rpid | num | 目标评论rpID | 必要 | |
-| action | num | 操作代码 | 非必要 | 默认为0
0:取消赞
1:点赞 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ----------------------------------------------- |
+| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
+| oid | num | 目标评论区ID | 必要 | |
+| rpid | num | 目标评论rpID | 必要 | |
+| action | num | 操作代码 | 非必要 | 默认为0
0:取消赞
1:点赞 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -268,13 +268,13 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&rpid=3039053308&action=1&csrf=xx
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ----------------------------------------------- |
-| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
-| oid | num | 目标评论区ID | 必要 | |
-| rpid | num | 目标评论rpID | 必要 | |
-| action | num | 操作代码 | 非必要 | 默认为0
0:取消踩
1:点踩 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ----------------------------------------------- |
+| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
+| oid | num | 目标评论区ID | 必要 | |
+| rpid | num | 目标评论rpID | 必要 | |
+| action | num | 操作代码 | 非必要 | 默认为0
0:取消踩
1:点踩 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -312,12 +312,12 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&rpid=3039053308&action=1&csrf=xx
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ----------------------------------------------- |
-| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
-| oid | num | 目标评论区ID | 必要 | |
-| rpid | num | 目标评论rpID | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ----------------------------------------------- |
+| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
+| oid | num | 目标评论区ID | 必要 | |
+| rpid | num | 目标评论rpID | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -355,13 +355,13 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&rpid=3039053308&csrf=xxx" "http:
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ----------------------------------------------- |
-| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
-| oid | num | 目标评论区ID | 必要 | |
-| rpid | num | 目标评论rpID | 必要 | |
-| action | num | 操作代码 | 非必要 | 默认为0
0:取消置顶
1:设为置顶 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ----------------------------------------------- |
+| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
+| oid | num | 目标评论区ID | 必要 | |
+| rpid | num | 目标评论rpID | 必要 | |
+| action | num | 操作代码 | 非必要 | 默认为0
0:取消置顶
1:设为置顶 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -397,14 +397,14 @@ curl -b "SESSDATA=xxx" -d "type=1&oid=243322853&rpid=2940645593&action=1&csrf=xx
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------- | ---- | ------------------- | ------ | ------------------------------------------------------------ |
-| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
-| oid | num | 目标评论区ID | 必要 | |
-| rpid | num | 目标评论rpID | 必要 | |
-| reason | num | 举报类型 | 必要 | 0:自定义备注
1:垃圾广告
2:色情
4:引战
5:剧透
7:人身攻击
8:内容不相关
9:违法违规
10:低俗
12:赌博诈骗
15:侵犯隐私
16:抢楼
17:青少年不良信息 |
-| content | str | 自定义举报备注 | 非必要 | `reason=0`时有效 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------- | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
+| type | num | 评论区类型代码 | 必要 | **类型代码见「[评论区明细](comment_list.md)」** |
+| oid | num | 目标评论区ID | 必要 | |
+| rpid | num | 目标评论rpID | 必要 | |
+| reason | num | 举报类型 | 必要 | 0:自定义备注
1:垃圾广告
2:色情
4:引战
5:剧透
7:人身攻击
8:内容不相关
9:违法违规
10:低俗
12:赌博诈骗
15:侵犯隐私
16:抢楼
17:青少年不良信息 |
+| content | str | 自定义举报备注 | 非必要 | `reason=0`时有效 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/danmaku/action.md b/danmaku/action.md
index dd37ce4..fde0030 100644
--- a/danmaku/action.md
+++ b/danmaku/action.md
@@ -10,20 +10,20 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| -------- | ---- | ---------------------- | ------------ | ------------------------------------------------------------ |
-| type | num | 1 | 必要 | |
-| oid | num | 视频CID | 必要 | |
-| msg | str | 弹幕内容 | 必要 | 长度小于100字符 |
-| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
-| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
-| progress | num | 弹幕出现在视频内的时间 | 非必要 | 单位为毫秒
默认为0 |
-| color | num | 弹幕颜色设置 | 非必要 | 详见[「弹幕」中的属性 p](danmaku.md#属性 p)
默认为16777215(#FFFFFF)白色 |
-| fontsize | num | 弹幕字号设置 | 非必要 | 详见[「弹幕」中的属性 p](danmaku.md#属性 p)
默认为25 |
-| pool | num | 弹幕池选择 | 非必要 | 0:普通弹幕
1:字幕弹幕
2:BAS弹幕
默认为0 |
-| mode | num | 弹幕类型选择 | 必要 | 1:普通
4:底部
5:顶部
7:高级
9:BAS(`pool`必须为2) |
-| rnd | num | 16位10进制随机数 | 非必要 | **若无此项,则发送弹幕冷却时间限制为90s**
若有此项,则发送弹幕冷却时间限制为5s |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| -------- | ---- | ------------------------ | ------------ | ------------------------------------------------------------ |
+| type | num | 1 | 必要 | |
+| oid | num | 视频CID | 必要 | |
+| msg | str | 弹幕内容 | 必要 | 长度小于100字符 |
+| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
+| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
+| progress | num | 弹幕出现在视频内的时间 | 非必要 | 单位为毫秒
默认为0 |
+| color | num | 弹幕颜色设置 | 非必要 | 详见[「弹幕」中的属性 p](danmaku.md#属性 p)
默认为16777215(#FFFFFF)白色 |
+| fontsize | num | 弹幕字号设置 | 非必要 | 详见[「弹幕」中的属性 p](danmaku.md#属性 p)
默认为25 |
+| pool | num | 弹幕池选择 | 非必要 | 0:普通弹幕
1:字幕弹幕
2:BAS弹幕
默认为0 |
+| mode | num | 弹幕类型选择 | 必要 | 1:普通
4:底部
5:顶部
7:高级
9:BAS(`pool`必须为2) |
+| rnd | num | 16位10进制随机数 | 非必要 | **若无此项,则发送弹幕冷却时间限制为90s**
若有此项,则发送弹幕冷却时间限制为5s |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -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
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---- |
-| dmid | num | 弹幕dmID | 必要 | |
-| cid | num | 视频CID | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---- |
+| dmid | num | 弹幕dmID | 必要 | |
+| cid | num | 视频CID | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -124,11 +124,11 @@ curl -b "SESSDATA=xxx" -d "dmid=32310301474947077&cid=168901231&csrf=xxx" "http:
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---- |
-| mode | str | sp | 必要 | |
-| cid | num | 视频CID | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---- |
+| mode | str | sp | 必要 | |
+| cid | num | 视频CID | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/electric/Bcoin.md b/electric/Bcoin.md
index cfcee66..f225955 100644
--- a/electric/Bcoin.md
+++ b/electric/Bcoin.md
@@ -12,13 +12,13 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| -------- | ---- | ------------------- | ------ | ------------------------------------------------- |
-| elec_num | num | 充电电池数量 | 必要 | 必须在20-99990之间 |
-| up_mid | num | 充电对象用户UID | 必要 | |
-| otype | str | 充电来源 | 必要 | up:空间充电
archive:视频充电 |
-| oid | num | 充电来源代码 | 必要 | 空间充电:充电对象用户UID
视频充电:视频avID |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| -------- | ---- | ------------------------ | ------ | ------------------------------------------------- |
+| elec_num | num | 充电电池数量 | 必要 | 必须在20-99990之间 |
+| up_mid | num | 充电对象用户UID | 必要 | |
+| otype | str | 充电来源 | 必要 | up:空间充电
archive:视频充电 |
+| oid | num | 充电来源代码 | 必要 | 空间充电:充电对象用户UID
视频充电:视频avID |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/electric/WeChat&Alipay.md b/electric/WeChat&Alipay.md
index cab6287..a494946 100644
--- a/electric/WeChat&Alipay.md
+++ b/electric/WeChat&Alipay.md
@@ -24,14 +24,14 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------------------- | ---- | ------------------- | ------ | ------------------------------------------------------------ |
-| up_mid | num | 充电对象用户UID | 必要 | |
-| elec_num | num | 充电电池数量 | 必要 | 必须在20-99990之间
1-19区间视为充值B币 |
-| is_bp_remains_prior | bool | 是否优先扣除B币 | 必要 | true:是
false:否
在B币不足时剩余的部分利用支付平台支付 |
-| otype | str | 充电来源 | 必要 | up:空间充电
archive:视频充电 |
-| oid | num | 充电来源代码 | 必要 | 空间充电:充电对象用户UID
视频充电:视频avID |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------------------- | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
+| up_mid | num | 充电对象用户UID | 必要 | |
+| elec_num | num | 充电电池数量 | 必要 | 必须在20-99990之间
1-19区间视为充值B币 |
+| is_bp_remains_prior | bool | 是否优先扣除B币 | 必要 | true:是
false:否
在B币不足时剩余的部分利用支付平台支付 |
+| otype | str | 充电来源 | 必要 | up:空间充电
archive:视频充电 |
+| oid | num | 充电来源代码 | 必要 | 空间充电:充电对象用户UID
视频充电:视频avID |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/electric/charge_msg.md b/electric/charge_msg.md
index 1e0fe92..212158a 100644
--- a/electric/charge_msg.md
+++ b/electric/charge_msg.md
@@ -8,11 +8,11 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| -------- | ---- | ------------------- | ------ | ---- |
-| order_id | str | 留言token | 必要 | |
-| message | str | 留言内容 | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| -------- | ---- | ------------------------ | ------ | ---- |
+| order_id | str | 留言token | 必要 | |
+| message | str | 留言内容 | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/emoji/action.md b/emote/action.md
similarity index 67%
rename from emoji/action.md
rename to emote/action.md
index 09a08e8..4025b54 100644
--- a/emoji/action.md
+++ b/emote/action.md
@@ -12,11 +12,11 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ---------- | ---- | ------------------- | ------ | -------------------------------- |
-| package_id | num | 表情包ID | 必要 | |
-| business | str | 使用场景 | 必要 | reply:评论区
dynamic:动态 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ---------- | ---- | ------------------------ | ------ | -------------------------------- |
+| package_id | num | 表情包ID | 必要 | |
+| business | str | 使用场景 | 必要 | reply:评论区
dynamic:动态 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -52,11 +52,11 @@ curl -b "SESSDATA=xxx" -d "package_id=25&business=reply&csrf=xxx" "http://api.bi
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ---------- | ---- | ------------------- | ------ | -------------------------------- |
-| package_id | num | 表情包ID | 必要 | |
-| business | str | 使用场景 | 必要 | reply:评论区
dynamic:动态 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ---------- | ---- | ------------------------ | ------ | -------------------------------- |
+| package_id | num | 表情包ID | 必要 | |
+| business | str | 使用场景 | 必要 | reply:评论区
dynamic:动态 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/emoji/emoji_list.md b/emote/emote_list.md
similarity index 100%
rename from emoji/emoji_list.md
rename to emote/emote_list.md
diff --git a/history&toview/history.md b/history&toview/history.md
index ddd1a2e..6569889 100644
--- a/history&toview/history.md
+++ b/history&toview/history.md
@@ -706,10 +706,10 @@ http://api.bilibili.com/x/v2/history?ps=5&pn=1
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ------------------------------------------------------------ |
-| kid | str | 删除的目标记录 | 必要 | 视频:archive\_{视频avID}
直播:live_{直播间ID}
专栏:article\_{专栏cvID}
剧集:pgc\_{剧集ssID}
文集:article-list\_{文集rlID} |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
+| kid | str | 删除的目标记录 | 必要 | 视频:archive\_{视频avID}
直播:live_{直播间ID}
专栏:article\_{专栏cvID}
剧集:pgc\_{剧集ssID}
文集:article-list\_{文集rlID} |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -745,9 +745,9 @@ curl -b "SESSDATA=xxx" -d "kid=archive_540580868&csrf=xxx" "http://api.bilibili.
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---- |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---- |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -785,10 +785,10 @@ curl -b "SESSDATA=xxx" -d "csrf=xxx" "http://api.bilibili.com/x/v2/history/clear
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | -------------------------------------------- |
-| switch | bool | 停用开关 | 非必要 | true:停用
false:正常
默认为false |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | -------------------------------------------- |
+| switch | bool | 停用开关 | 非必要 | true:停用
false:正常
默认为false |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/history&toview/toview.md b/history&toview/toview.md
index c15d36c..b4bb4c4 100644
--- a/history&toview/toview.md
+++ b/history&toview/toview.md
@@ -14,11 +14,11 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------------ | ------------------ |
-| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
-| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------------ | ------------------ |
+| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
+| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -66,11 +66,11 @@ curl -b "SESSDATA=xxx" -d "aid=41687433&csrf=xxx" "http://api.bilibili.com/x/v2/
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | --------------------- | ------ | ---- |
-| cid | num | 目标频道ID | 必要 | |
-| mid | num | 目标频道所属的用户UID | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---- |
+| cid | num | 目标频道ID | 必要 | |
+| mid | num | 目标频道所属的用户UID | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -388,7 +388,7 @@ http://api.bilibili.com/x/v2/history/toview
| ------ | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
| viewed | bool | 是否删除所有已观看的视频 | 非必要 | true:删除已观看视频
false:不删除已观看视频
默认为false |
| aid | num | 删除的目标记录的avID | 非必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -438,9 +438,9 @@ curl -b "SESSDATA=xxx" -d "viewed=true&csrf=xxx" "http://api.bilibili.com/x/v2/h
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---- |
-| csrf | num | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---- |
+| csrf | num | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/live/manage.md b/live/manage.md
index f3682a6..ca3b26a 100644
--- a/live/manage.md
+++ b/live/manage.md
@@ -12,11 +12,11 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------- | ---- | ------------------- | ------ | -------------------- |
-| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
-| title | str | 直播间标题 | 必要 | 最大20字符 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------- | ---- | ------------------------ | ------ | -------------------- |
+| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
+| title | str | 直播间标题 | 必要 | 最大20字符 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -58,12 +58,12 @@ curl -b "SESSDATA=xxx;bili_jct=xxx" -d "room_id=10352053&title=%E6%B5%8B%E8%AF%9
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| -------- | ---- | ---------------------- | ------ | ---------------------------- |
-| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
-| area_v2 | num | 直播分区ID(子分区ID) | 必要 | 详见[直播分区](live_area.md) |
-| platform | str | 必须为`pc` | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| -------- | ---- | ------------------------ | ------ | ---------------------------- |
+| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
+| area_v2 | num | 直播分区ID(子分区ID) | 必要 | 详见[直播分区](live_area.md) |
+| platform | str | 必须为`pc` | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -185,10 +185,10 @@ curl -b "SESSDATA=xxx;bili_jct=xxx" -d "room_id=10352053&area_v2=27&platform=pc&
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------- | ---- | ------------------- | ------ | -------------------- |
-| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------- | ---- | ------------------------ | ------ | -------------------- |
+| room_id | num | 直播间ID | 必要 | 必须为自己的直播间ID |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/other/API_auth.md b/other/API_auth.md
new file mode 100644
index 0000000..c862233
--- /dev/null
+++ b/other/API_auth.md
@@ -0,0 +1,17 @@
+# API认证与鉴权
+
+## cookie方式
+
+cookie中的值在访问登录接口成功登录时,用`set-cookie`写入
+
+在访问api时为`Cookie`头的数据
+
+Token有效期为1月,更改密码或过期失效
+
+| cookie项 | 含义 | 备注 |
+| ----------------- | ----------------- | ------------------ |
+| DedeUserID | 当前用户UID | |
+| DedeUserID__ckMd5 | 用户UID md5校验值 | |
+| SESSDATA | 登录Token | 用于用户识别与鉴权 |
+| bili_jct | CSRF Token | 用于操作性接口 |
+
diff --git a/user/relation.md b/user/relation.md
index 48097e7..1781fa3 100644
--- a/user/relation.md
+++ b/user/relation.md
@@ -334,12 +334,12 @@ http://api.bilibili.com/x/relation/followings?vmid=293793435&ps=2&pn=1
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ------------------ |
-| fid | num | 目标用户UID | 必要 | |
-| act | num | 操作代码 | 必要 | **操作代码见下表** |
-| re_src | num | 必须为11 | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ------------------ |
+| fid | num | 目标用户UID | 必要 | |
+| act | num | 操作代码 | 必要 | **操作代码见下表** |
+| re_src | num | 必须为11 | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
操作代码`act`:
@@ -863,10 +863,10 @@ http://api.bilibili.com/x/relation/tag/special
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---------- |
-| tag | str | 分组名 | 必要 | 最长16字符 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---------- |
+| tag | str | 分组名 | 必要 | 最长16字符 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -914,11 +914,11 @@ curl -b SESSDATA=xxx -d "tag=vUP&csrf=xxx" "http://api.bilibili.com/x/relation/t
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---------- |
-| tagid | num | 分组ID | 必要 | |
-| name | str | 新名称 | 必要 | 最长16字符 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---------- |
+| tagid | num | 分组ID | 必要 | |
+| name | str | 新名称 | 必要 | 最长16字符 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -958,10 +958,10 @@ curl -b SESSDATA=xxx -d "tagid=194112&name=%e8%86%9c%e6%b3%95%e5%b8%88&csrf=xxx"
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---- |
-| tagid | num | 分组ID | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---- |
+| tagid | num | 分组ID | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -1001,11 +1001,11 @@ curl -b SESSDATA=xxx -d "tagid=216699&csrf=xxx" "http://api.bilibili.com/x/relat
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | -------------------------- |
-| fids | nums | 目标用户UID | 必要 | 每个ID之间用","(%2C)间隔 |
-| tagids | nums | 分组ID | 必要 | 每个ID之间用","(%2C)间隔 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | -------------------------- |
+| fids | nums | 目标用户UID | 必要 | 每个ID之间用","(%2C)间隔 |
+| tagids | nums | 分组ID | 必要 | 每个ID之间用","(%2C)间隔 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -1043,11 +1043,11 @@ curl -b SESSDATA=xxx -d "fids=205631797&tagids=-10%2C207542&csrf=xxx" "http://ap
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | -------------------------- |
-| fids | nums | 目标用户UID | 必要 | 每个ID之间用","(%2C)间隔 |
-| tagids | nums | 分组ID | 必要 | 每个ID之间用","(%2C)间隔 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | -------------------------- |
+| fids | nums | 目标用户UID | 必要 | 每个ID之间用","(%2C)间隔 |
+| tagids | nums | 分组ID | 必要 | 每个ID之间用","(%2C)间隔 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -1085,12 +1085,12 @@ curl -b SESSDATA=xxx -d "fids=4856007%2C326499679&tagids=231305&csrf=xxx" "http:
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------------ | ---- | ------------------- | ------ | -------------------------- |
-| beforeTagids | nums | 原分组ID | 必要 | 每个ID之间用","(%2C)间隔 |
-| afterTagids | nums | 新分组ID | 必要 | 每个ID之间用","(%2C)间隔 |
-| fids | nums | 目标用户UID | 必要 | 每个ID之间用","(%2C)间隔 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------------ | ---- | ------------------------ | ------ | -------------------------- |
+| beforeTagids | nums | 原分组ID | 必要 | 每个ID之间用","(%2C)间隔 |
+| afterTagids | nums | 新分组ID | 必要 | 每个ID之间用","(%2C)间隔 |
+| fids | nums | 目标用户UID | 必要 | 每个ID之间用","(%2C)间隔 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/user/space.md b/user/space.md
index 55a6f55..acd7d31 100644
--- a/user/space.md
+++ b/user/space.md
@@ -2080,10 +2080,10 @@ http://api.bilibili.com/x/v3/fav/folder/created/list-all?up_mid=7792521
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| --------- | ---- | ------------------- | ------ | ---------------------- |
-| user_sign | str | 要设置的签名内容 | 非必要 | 删除签名留空或省去即可 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| --------- | ---- | ------------------------ | ------ | ---------------------- |
+| user_sign | str | 要设置的签名内容 | 非必要 | 删除签名留空或省去即可 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -2121,10 +2121,10 @@ curl -b "SESSDATA=xxx" -d "user_sign=%E9%AB%98%E4%B8%AD%E6%8A%80%E6%9C%AF%E5%AE%
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | --------------------------------------- |
-| notice | str | 要设置的公告内容 | 非必要 | 删除公告留空或省去即可
少于150字符 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | --------------------------------------- |
+| notice | str | 要设置的公告内容 | 非必要 | 删除公告留空或省去即可
少于150字符 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -2166,15 +2166,15 @@ curl -b "sessdata=xxx" -d "csrf=xxx¬ice=%E9%B8%BD%E5%AD%90" "http://api.bilib
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ----------- | ---- | ------------------- | ------ | ------------------------------ |
-| fav_video | num | 收藏视频 | 非必要 | 0:隐藏
1:公开
下同 |
-| bangumi | num | 追番及追剧 | 非必要 | |
-| tags | num | 关注的TAG | 非必要 | |
-| coins_video | num | 投币的视频 | 非必要 | |
-| user_info | num | 个人信息 | 非必要 | |
-| played_game | num | 玩过的游戏 | 非必要 | |
-| csrf | nstr | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ----------- | ---- | ------------------------ | ------ | ------------------------------ |
+| fav_video | num | 收藏视频 | 非必要 | 0:隐藏
1:公开
下同 |
+| bangumi | num | 追番及追剧 | 非必要 | |
+| tags | num | 关注的TAG | 非必要 | |
+| coins_video | num | 投币的视频 | 非必要 | |
+| user_info | num | 个人信息 | 非必要 | |
+| played_game | num | 玩过的游戏 | 非必要 | |
+| csrf | nstr | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -2213,10 +2213,10 @@ curl --referer "http://.bilibili.com" -b "SESSDATA=xxx;DedeUserID=1;DedeUserID__
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ----------- | ---- | ------------------- | ------ | ------------------------------------------------------------ |
-| index_order | nums | 布局列表 | 必要 | 每个值之间用","(%2C)分隔
先左侧布局再右侧布局
值的意义见下表 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ----------- | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
+| index_order | nums | 布局列表 | 必要 | 每个值之间用","(%2C)分隔
先左侧布局再右侧布局
值的意义见下表 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
布局参数`index_order`:
@@ -2281,10 +2281,10 @@ curl --referer "http://.bilibili.com" -b "SESSDATA=xxx;DedeUserID=1;DedeUserID__
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ------------------------------------------------------------ |
-| tags | strs | 要设置的TAG内容 | 非必要 | 删除公告留空或省去即可
各TAG长度小于10字符
最多5个TAG
各TAG之间用","(%2C)分隔
重复TAG无效 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ------------------------------------------------------------ |
+| tags | strs | 要设置的TAG内容 | 非必要 | 删除公告留空或省去即可
各TAG长度小于10字符
最多5个TAG
各TAG之间用","(%2C)分隔
重复TAG无效 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -2322,12 +2322,12 @@ curl -b "SESSDATA=xxx;DedeUserID=1" -d "csrf=xxx&tags=minecraft%2C%E6%8A%80%E6%9
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------------ | -------------------------------- |
-| aid | num | 置顶目标视频avID | 必要(可选) | avID与bvID任选一个 |
-| bvid | str | 置顶目标视频bvID | 必要(可选) | avID与bvID任选一个 |
-| reason | str | 置顶视频备注 | 非必要 | 置顶备注最大40字符
默认为空 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------------ | -------------------------------- |
+| aid | num | 置顶目标视频avID | 必要(可选) | avID与bvID任选一个 |
+| bvid | str | 置顶目标视频bvID | 必要(可选) | avID与bvID任选一个 |
+| reason | str | 置顶视频备注 | 非必要 | 置顶备注最大40字符
默认为空 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -2367,9 +2367,9 @@ curl -b "SESSDATA=xxx" -b "aid=98948772&csrf=xxx" "http://api.bilibili.com/x/spa
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---- |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---- |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -2407,12 +2407,12 @@ curl -b "SESSDATA=xxx" -d "csrf=xxx" "http://api.bilibili.com/x/space/top/arc/ca
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------------ | -------------------------------- |
-| aid | num | 置顶目标视频avID | 必要(可选) | avID与bvID任选一个 |
-| bvid | str | 置顶目标视频bvID | 必要(可选) | avID与bvID任选一个 |
-| reason | str | 代表作备注 | 非必要 | 置顶备注最大40字符
默认为空 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------------ | -------------------------------- |
+| aid | num | 置顶目标视频avID | 必要(可选) | avID与bvID任选一个 |
+| bvid | str | 置顶目标视频bvID | 必要(可选) | avID与bvID任选一个 |
+| reason | str | 代表作备注 | 非必要 | 置顶备注最大40字符
默认为空 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -2452,11 +2452,11 @@ curl -b "SESSDATA=xxx" -d "csrf=xxx&aid=94916552" "http://api.bilibili.com/x/spa
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | -------------------- | ------------ | ------------------ |
-| aid | num | 要删除的目标视频avID | 必要(可选) | avID与bvID任选一个 |
-| bvid | str | 要删除的目标视频bvID | 必要(可选) | avID与bvID任选一个 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------------ | ------------------ |
+| aid | num | 要删除的目标视频avID | 必要(可选) | avID与bvID任选一个 |
+| bvid | str | 要删除的目标视频bvID | 必要(可选) | avID与bvID任选一个 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/video/like_coin_fav.md b/video/like_coin_fav.md
index d1ff982..6277d70 100644
--- a/video/like_coin_fav.md
+++ b/video/like_coin_fav.md
@@ -14,12 +14,12 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------------ | ---------------------- |
-| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
-| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
-| like | num | 操作方式 | 必要 | 1:点赞
2:取消赞 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------------ | ---------------------- |
+| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
+| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
+| like | num | 操作方式 | 必要 | 1:点赞
2:取消赞 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -59,13 +59,13 @@ curl -b "SESSDATA=xxx" -d "aid=79677524&like=1&csrf=xxx" "http://api.bilibili.co
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ----------- | ---- | ------------------- | ------------ | --------------------------------------- |
-| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
-| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
-| select_like | num | 附加点赞 | 非必要 | 0:不点赞
1:同时点赞
默认为0 |
-| multiply | num | 投币数量 | 必要 | 上限为2 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ----------- | ---- | ------------------------ | ------------ | --------------------------------------- |
+| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
+| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
+| select_like | num | 附加点赞 | 非必要 | 0:不点赞
1:同时点赞
默认为0 |
+| multiply | num | 投币数量 | 必要 | 上限为2 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -117,13 +117,13 @@ curl -b "SESSDATA=xxx" -d "aid=90671873&select_like=1&multiply=2&csrf=xxx" "http
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------------- | ---- | ------------------- | ------ | ----------------------- |
-| rid | num | 视频avID | 必要 | |
-| type | num | 必须为2 | 必要 | |
-| add_media_ids | nums | 需要加入的收藏夹ID | 非必要 | 同时添加多个,用`,`分隔 |
-| del_media_ids | nums | 需要取消的收藏夹ID | 非必要 | 同时取消多个,用`,`分隔 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------------- | ---- | ------------------------ | ------ | ----------------------- |
+| rid | num | 视频avID | 必要 | |
+| type | num | 必须为2 | 必要 | |
+| add_media_ids | nums | 需要加入的收藏夹ID | 非必要 | 同时添加多个,用`,`分隔 |
+| del_media_ids | nums | 需要取消的收藏夹ID | 非必要 | 同时取消多个,用`,`分隔 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -171,11 +171,11 @@ curl --referer "http://www.bilibili.com" -b "SESSDATA=xxx" -d "rid=90671873&type
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------------ | ------------------ |
-| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
-| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------------ | ------------------ |
+| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
+| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
diff --git a/video/report.md b/video/report.md
index 6440f26..bae9469 100644
--- a/video/report.md
+++ b/video/report.md
@@ -10,12 +10,12 @@
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| -------- | ---- | ------------------- | ------ | --------------------- |
-| aid | num | 视频avID | 必要 | |
-| cid | num | 视频CID | 必要 | 用于识别分P |
-| progress | num | 观看进度 | 非必要 | 单位为秒
默认为0 |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| -------- | ---- | ------------------------ | ------ | --------------------- |
+| aid | num | 视频avID | 必要 | |
+| cid | num | 视频CID | 必要 | 用于识别分P |
+| progress | num | 观看进度 | 非必要 | 单位为秒
默认为0 |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -55,22 +55,22 @@ curl -b "SESSDATA=xxx" -d "aid=13662970&cid=126654047&progress=1248&csrf=xxx" "h
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ----------- | ---- | ------------------- | ------------ | ------------------------------------------------------------ |
-| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
-| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
-| cid | num | 视频CID | 非必要 | 用于识别分P |
-| epid | num | 番剧epID | 非必要 | |
-| sid | num | 番剧ssID | 非必要 | |
-| mid | num | 当前用户UID | 非必要 | |
-| played_time | num | 视频播放进度 | 非必要 | 单位为秒
默认为0 |
-| realtime | num | 总计播放时间 | 非必要 | 单位为秒 |
-| start_ts | num | 开始播放时刻 | 非必要 | 时间戳 |
-| type | num | 视频类型 | 非必要 | 3:投稿视频
4:剧集
10:课程 |
-| sub_type | num | 剧集副类型 | 非必要 | 当`type=4`时本参数有效
1:番剧
2:电影
3:纪录片
4:国创
5:电视剧
7:综艺 |
-| dt | num | 2 | 非必要 | |
-| play_type | num | 播放动作 | 非必要 | 0:播放中
1:开始播放
2:暂停
3:继续播放 |
-| csrf | str | cookies中的bili_jct | 非必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ----------- | ---- | ------------------------ | ------------ | ------------------------------------------------------------ |
+| aid | num | 视频avID | 必要(可选) | avID与bvID任选一个 |
+| bvid | str | 视频bvID | 必要(可选) | avID与bvID任选一个 |
+| cid | num | 视频CID | 非必要 | 用于识别分P |
+| epid | num | 番剧epID | 非必要 | |
+| sid | num | 番剧ssID | 非必要 | |
+| mid | num | 当前用户UID | 非必要 | |
+| played_time | num | 视频播放进度 | 非必要 | 单位为秒
默认为0 |
+| realtime | num | 总计播放时间 | 非必要 | 单位为秒 |
+| start_ts | num | 开始播放时刻 | 非必要 | 时间戳 |
+| type | num | 视频类型 | 非必要 | 3:投稿视频
4:剧集
10:课程 |
+| sub_type | num | 剧集副类型 | 非必要 | 当`type=4`时本参数有效
1:番剧
2:电影
3:纪录片
4:国创
5:电视剧
7:综艺 |
+| dt | num | 2 | 非必要 | |
+| play_type | num | 播放动作 | 非必要 | 0:播放中
1:开始播放
2:暂停
3:继续播放 |
+| csrf | str | CSRF Token(位于cookie) | 非必要 | |
**json回复:**
diff --git a/video/tags.md b/video/tags.md
index e2c732d..ea639c4 100644
--- a/video/tags.md
+++ b/video/tags.md
@@ -197,11 +197,11 @@ http://api.bilibili.com/x/tag/archive/tags?aid=89772773
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---- |
-| aid | num | 视频avID | 必要 | |
-| tag_id | num | TAGID | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---- |
+| aid | num | 视频avID | 必要 | |
+| tag_id | num | TAGID | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**
@@ -241,11 +241,11 @@ curl -b "SESSDATA=xxx" -d "csrf=xxx&aid=89772773&tag_id=12620189" "http://api.bi
**正文参数( application/x-www-form-urlencoded ):**
-| 参数名 | 类型 | 内容 | 必要性 | 备注 |
-| ------ | ---- | ------------------- | ------ | ---- |
-| aid | num | 视频avID | 必要 | |
-| tag_id | num | TAGID | 必要 | |
-| csrf | str | cookies中的bili_jct | 必要 | |
+| 参数名 | 类型 | 内容 | 必要性 | 备注 |
+| ------ | ---- | ------------------------ | ------ | ---- |
+| aid | num | 视频avID | 必要 | |
+| tag_id | num | TAGID | 必要 | |
+| csrf | str | CSRF Token(位于cookie) | 必要 | |
**json回复:**