Spaces:
Sleeping
Sleeping
File size: 8,959 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 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 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 |
{
"send": {
"upload_img": {
"url": "https://api.bilibili.com/x/dynamic/feed/draw/upload_bfs",
"method": "POST",
"verify": true,
"data": {
"biz": "const str: draw",
"category": "const str: daily"
},
"files": {
"file_up": "二进制 img"
},
"comment": "上传图片"
},
"schedule": {
"url": "https://api.vc.bilibili.com/dynamic_draft/v1/dynamic_draft/add_draft",
"method": "POST",
"verify": true,
"data": {
"type": "int: 4 为有图动态,2 为无图动态",
"publish_time": "int: 发布时间戳",
"request(if type=4)": "见 instant_draw.data,无 setting",
"request(if type=2)": "见 instant_text.data"
},
"comment": "发布定时动态"
},
"instant_draw": {
"url": "https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/create_draw",
"method": "POST",
"verify": true,
"data": {
"biz": "const int: 3",
"category": "const int: 3",
"type": "const int: 0",
"pictures": [
{
"img_src": "str: 图片地址",
"img_width": "int: 图片宽度",
"img_height": "int: 图片高度"
}
],
"title": "",
"tags": "",
"description": "str: 动态文字内容",
"content": "str: 动态文字内容",
"from": "const str: create.dynamic.web",
"up_choose_comment": "const int : 0",
"extension": "const str: {\"emoji_type\":1,\"from\":{\"emoji_type\":1},\"flag_cfg\":{}}",
"at_uids": "commaSeparatedList[int]: 艾特用户 UID 列表,半角逗号分隔",
"at_control": [
{
"location": "int: @符号起始位置,0 为第一个字符",
"type": "const int: 1",
"length": "int: @区域长度(2 + 用户名字符串长度)",
"data": "int: 用户 UID"
}
],
"setting": {
"copy_forbidden": "const int: 0",
"cachedTime": "const int: 0"
}
}
},
"instant_text": {
"url": "https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/create",
"method": "POST",
"verify": true,
"data": {
"dynamic_id": "const int: 0",
"type": "const int: 4",
"rid": "const int: 0",
"content": "str: 动态文本内容",
"extension": "const str: {\"emoji_type\":1}",
"at_uids": "commaSeparatedList[int]: 艾特用户 UID 列表,半角逗号分隔",
"ctrl": [
{
"location": "int: @符号起始位置,0 为第一个字符",
"type": "const int: 1",
"length": "int: @区域长度(2 + 用户名字符串长度)",
"data": "int: 用户 UID"
}
]
}
},
"instant": {
"url": "https://api.bilibili.com/x/dynamic/feed/create/dyn",
"method": "POST",
"verify": true,
"data": {
"content": {
"contents": [
"#: 动态信息",
{"raw_text": "纯文本", "biz_id": "", "type": 1},
{"raw_text": "表情包", "biz_id": "", "type": 9},
{"raw_text": "@人", "biz_id": "UID", "type": 2},
{"raw_text": "投票", "biz_id": "投票 id", "type": 4}
]
},
"scene": "int: 1 纯文本, 2 带图",
"pics": [
{
"img_src":"str: 图片地址",
"img_height":"int: 图片高度",
"img_width":"int: 图片宽度",
"img_size":"int: 图片大小 (kb)"
}
],
"topic": {
"id": "int: 话题 id"
}
}
},
"sub_check": {
"url": "https://api.bilibili.com/x/dynamic/feed/create/submit_check",
"method": "POST",
"verify": true,
"comment": "动态发送预检测"
}
},
"operate": {
"delete": {
"url": "https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/rm_dynamic",
"method": "POST",
"verify": true,
"data": {
"dynamic_id": "int: 动态 ID"
},
"comment": "删除动态"
},
"like": {
"url": "https://api.vc.bilibili.com/dynamic_like/v1/dynamic_like/thumb",
"method": "POST",
"verify": true,
"data": {
"dynamic_id": "int: 动态 ID",
"up": "int: 1 点赞 2 取消",
"uid": "int: 自己 uid"
},
"comment": "点赞"
},
"repost": {
"url": "https://api.vc.bilibili.com/dynamic_repost/v1/dynamic_repost/repost",
"method": "POST",
"verify": true,
"data": {
"dynamic_id": "int: 动态 ID",
"content": "str: 内容",
"extension": "const str: {\"emoji_type\":1}"
},
"comment": "转发"
}
},
"info": {
"attention_new_dynamic": {
"url": "https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/w_dyn_uplist",
"method": "GET",
"verify": true,
"comment": "获取发布新动态的关注者"
},
"attention_live": {
"url": "https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/w_live_users",
"method": "GET",
"params": {
"size": "int: 用户数量"
},
"verify": true,
"comment": "获取正在直播的关注者"
},
"repost": {
"url": "https://api.vc.bilibili.com/dynamic_repost/v1/dynamic_repost/repost_detail",
"method": "GET",
"verify": false,
"params": {
"dynamic_id": "int: 动态 ID",
"offset": "int: 每页第一条动态 ID"
},
"comment": "动态转发信息,最多获取 560 条左右"
},
"likes": {
"url": "https://api.vc.bilibili.com/dynamic_like/v1/dynamic_like/spec_item_likes",
"method": "GET",
"verify": false,
"params": {
"dynamic_id": "int: 动态 ID",
"pn": "页码",
"ps": "每页数量"
},
"comment": "动态点赞信息"
},
"detail": {
"url": "https://api.bilibili.com/x/polymer/web-dynamic/v1/detail",
"method": "GET",
"verify": false,
"params": {
"timezone_offset":"int: 时区偏移量",
"dynamic_id": "int: 动态 ID",
"features":"str: 默认 itemOpusStyle"
},
"comment": "动态详细信息"
},
"reaction": {
"url": "https://api.bilibili.com/x/polymer/web-dynamic/v1/detail/reaction",
"method": "GET",
"verify": false,
"params": {
"web_location": "str: 333.1369",
"id": "int: 动态 ID",
"offset": "str: 空"
}
},
"dynamic_page_UPs_info": {
"url": "https://api.bilibili.com/x/polymer/web-dynamic/v1/portal",
"method": "GET",
"verify": true,
"comment": "获取动态页 UP 主信息列表"
},
"dynamic_page_info": {
"url": "https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all",
"method": "GET",
"verify": true,
"params": {
"timezone_offset": "int: 时区偏移量",
"type": "str: 动态分类类型",
"page": "int: 页码",
"features": "str: 默认 itemOpusStyle",
"offset": "int: 每页最后一条动态 ID",
"host_mid": "int: UP 主 UID"
},
"comment": "获取动态页信息"
},
"hot_dynamics": {
"url": "https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/hot",
"method": "GET",
"verify": false,
"params": {
"page": "int: 页码. Defaults to 1. "
},
"comment": "获取热门动态"
}
},
"schedule": {
"list": {
"url": "https://api.vc.bilibili.com/dynamic_draft/v1/dynamic_draft/get_drafts",
"method": "GET",
"verify": false,
"comment": "获取待发送定时动态列表"
},
"publish_now": {
"url": "https://api.vc.bilibili.com/dynamic_draft/v1/dynamic_draft/publish_now",
"method": "POST",
"verify": false,
"data": {
"draft_id": "int: 定时动态 ID"
},
"comment": "立即发送定时动态"
},
"modify": {
"url": "https://api.vc.bilibili.com/dynamic_draft/v1/dynamic_draft/modify_draft",
"method": "POST",
"verify": false,
"data": {
"draft_id": "int: 定时动态 ID",
"#include dynamic.send.schedule": "剩余参数见 dynamic.send.schedule"
},
"comment": "修改待发定时动态"
},
"delete": {
"url": "https://api.vc.bilibili.com/dynamic_draft/v1/dynamic_draft/rm_draft",
"method": "POST",
"verify": false,
"data": {
"draft_id": "int: 定时动态 ID"
},
"comment": "删除待发定时动态"
}
}
} |