summaryrefslogtreecommitdiff
path: root/ATRI/plugins/bilibili_dynamic/user.json
blob: ff4f49b932107f6425b13c8d7e26ea293d18ee72 (plain)
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
{
  "info": {
    "my_info": {
      "url": "https://api.bilibili.com/x/space/myinfo",
      "method": "GET",
      "verify": true,
      "comment": "获取自己的信息"
    },
    "info": {
      "url": "https://api.bilibili.com/x/space/acc/info",
      "method": "GET",
      "verify": false,
      "params": {
        "mid": "int: uid"
      },
      "comment": "用户基本信息"
    },
    "relation": {
      "url": "https://api.bilibili.com/x/relation/stat",
      "method": "GET",
      "verify": false,
      "params": {
        "vmid": "int: uid"
      },
      "comment": "关注数,粉丝数"
    },
    "upstat": {
      "url": "https://api.bilibili.com/x/space/upstat",
      "method": "GET",
      "verify": false,
      "params": {
        "mid": "int: uid"
      },
      "comment": "视频播放量,文章阅读量,总点赞数"
    },
    "live": {
      "url": "https://api.bilibili.com/x/space/acc/info",
      "method": "GET",
      "verify": false,
      "params": {
        "mid": "int: uid"
      },
      "comment": "直播间基本信息"
    },
    "video": {
      "url": "https://api.bilibili.com/x/space/arc/search",
      "method": "GET",
      "verify": false,
      "params": {
        "mid": "int: uid",
        "ps": "const int: 30",
        "tid": "int: 分区 ID,0 表示全部",
        "pn": "int: 页码",
        "keyword": "str: 关键词,可为空",
        "order": "str: pubdate 上传日期,pubdate 播放量,pubdate 收藏量"
      },
      "comment": "搜索用户视频"
    },
    "audio": {
      "url": "https://api.bilibili.com/audio/music-service/web/song/upper",
      "method": "GET",
      "verify": false,
      "params": {
        "uid": "int: uid",
        "ps": "const int: 30",
        "pn": "int: 页码",
        "order": "int: 1 最新发布,2 最多播放,3 最多收藏"
      },
      "comment": "音频"
    },
    "article": {
      "url": "https://api.bilibili.com/x/space/article",
      "method": "GET",
      "verify": false,
      "params": {
        "mid": "int: uid",
        "ps": "const int: 30",
        "pn": "int: 页码",
        "sort": "str: publish_time 最新发布,publish_time 最多阅读,publish_time 最多收藏"
      },
      "comment": "专栏"
    },
    "article_lists": {
      "url": "https://api.bilibili.com/x/article/up/lists",
      "method": "GET",
      "verify": false,
      "params": {
        "mid": "int: uid",
        "sort": "int: 0 最近更新,1 最多阅读"
      },
      "comment": "专栏文集"
    },
    "dynamic": {
      "url": "https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/space_history",
      "method": "GET",
      "verify": false,
      "params": {
        "host_uid": "int: uid",
        "offset_dynamic_id": "int: 动态偏移用,第一页为 0",
        "need_top": "int bool: 是否显示置顶动态"
      },
      "comment": "用户动态信息"
    },
    "bangumi": {
      "url": "https://api.bilibili.com/x/space/bangumi/follow/list",
      "method": "GET",
      "verify": false,
      "params": {
        "vmid": "int: uid",
        "pn": "int: 页码",
        "ps": "const int: 15",
        "type": "int: 1 追番,2 追剧"
      },
      "comment": "用户追番列表"
    },
    "followings": {
      "url": "https://api.bilibili.com/x/relation/followings",
      "method": "GET",
      "verify": true,
      "params": {
        "vmid": "int: uid",
        "ps": "const int: 20",
        "pn": "int: 页码",
        "order": "str: desc 倒序, asc 正序"
      },
      "comment": "获取用户关注列表(不是自己只能访问前 5 页)"
    },
    "followers": {
      "url": "https://api.bilibili.com/x/relation/followers",
      "method": "GET",
      "verify": true,
      "params": {
        "vmid": "int: uid",
        "ps": "const int: 20",
        "pn": "int: 页码",
        "order": "str: desc 倒序, asc 正序"
      },
      "comment": "获取用户粉丝列表(不是自己只能访问前 5 页,是自己也不能获取全部的样子)"
    },
    "overview": {
      "url": "https://api.bilibili.com/x/space/navnum",
      "method": "GET",
      "verify": false,
      "params": {
        "mid": "int: uid",
        "jsonp": "const str: jsonp"
      },
      "comment": "获取用户的简易订阅和投稿信息(主要是这些的数量统计)"
    },
    "self_subscribe_group": {
      "url": "https://api.bilibili.com/x/relation/tags",
      "method": "GET",
      "verify": true,
      "params": {},
      "comment": "获取自己的关注分组列表,用于操作关注"
    },
    "get_user_in_which_subscribe_groups": {
      "url": "https://api.bilibili.com/x/relation/tag/user",
      "method": "GET",
      "verify": true,
      "params": {
        "fid": "int: uid"
      },
      "comment": "获取用户在哪一个分组"
    },
    "history": {
      "url": "https://api.bilibili.com/x/v2/history",
      "method": "GET",
      "verify": true,
      "params": {
        "pn": "int: 页码",
        "ps": "const int: 100"
      },
      "comment": "用户浏览历史记录"
    }
  },
  "operate": {
    "modify": {
      "url": "https://api.bilibili.com/x/relation/modify",
      "method": "POST",
      "verify": true,
      "data": {
        "fid": "int: UID",
        "act": "int: 1 关注 2 取关 3 悄悄关注 5 拉黑 6 取消拉黑 7 移除粉丝",
        "re_src": "const int: 11"
      },
      "comment": "用户关系操作"
    },
    "send_msg": {
      "url": "https://api.vc.bilibili.com/web_im/v1/web_im/send_msg",
      "method": "POST",
      "verify": true,
      "data": {
        "msg[sender_uid]": "int: 自己的 UID",
        "msg[receiver_id]": "int: 对方 UID",
        "msg[receiver_type]": "const int: 1",
        "msg[msg_type]": "const int: 1",
        "msg[msg_status]": "const int: 0",
        "msg[content]": {
          "content": "str: 文本内容"
        }
      },
      "comment": "给用户发信息"
    },
    "create_subscribe_group": {
      "url": "https://api.bilibili.com/x/relation/tag/create",
      "method": "POST",
      "verify": true,
      "data": {
        "tag": "str: 分组名"
      },
      "comment": "添加关注分组"
    },
    "del_subscribe_group": {
      "url": "https://api.bilibili.com/x/relation/tag/del",
      "method": "POST",
      "verify": true,
      "data": {
        "tagid": "int: 分组 id"
      },
      "comment": "删除关注分组"
    },
    "rename_subscribe_group": {
      "url": "https://api.bilibili.com/x/relation/tag/update",
      "method": "POST",
      "verify": true,
      "data": {
        "tagid": "int: 分组 id",
        "name": "str: 新的分组名"
      },
      "comment": "重命名分组"
    },
    "set_user_subscribe_group": {
      "url": "https://api.bilibili.com/x/relation/tags/addUsers",
      "method": "POST",
      "verify": true,
      "data": {
        "fids": "int: UID",
        "tagids": "commaSeparatedList[int]: 分组的 tagids,逗号分隔"
      },
      "comment": "移动用户到关注分组"
    }
  }
}