mirror of
https://github.com/SocialSisterYi/bilibili-API-collect.git
synced 2025-01-29 21:30:10 +08:00
删除动态 (#266)
This commit is contained in:
parent
dbfd7121c8
commit
37acac035d
@ -147,6 +147,7 @@ PS:所有http协议地址均可使用https,文档中为了统一写作`http`
|
||||
- [充电列表](electric/charge_list.md)√
|
||||
- [动态](dynamic)
|
||||
- [发送&转载动态](dynamic/publish.md)×
|
||||
- [删除动态](dynamic/delete.md)
|
||||
- 动态列表
|
||||
- [特定话题动态列表](/dynamic/tag_dynamics.md)√
|
||||
- [动态内容](/dynamic/get_dynamic_detail.md)×
|
||||
|
45
dynamic/delete.md
Normal file
45
dynamic/delete.md
Normal file
@ -0,0 +1,45 @@
|
||||
# 删除动态
|
||||
|
||||
> http://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/rm_dynamic
|
||||
|
||||
*请求方式:POST*
|
||||
|
||||
认证方式:Cookie(SESSDATA)
|
||||
|
||||
**正文参数(multipart/form-data):**
|
||||
|
||||
| 参数名 | 类型 | 内容 |
|
||||
| --- | --- | --- |
|
||||
| dynamic_id | num | 动态id |
|
||||
| csrf_token | str | csrf |
|
||||
|
||||
**json回复:**
|
||||
|
||||
根对象:
|
||||
|
||||
| 字段 | 类型 | 内容 |
|
||||
| --- | --- | --- |
|
||||
| code | num | 0:成功 |
|
||||
| | | 500404:已经删除过 |
|
||||
| | | 500406:不是自己的 |
|
||||
| msg | str | 错误信息 |
|
||||
| message | str | 和msg一样 |
|
||||
| data | obj | 未知 |
|
||||
|
||||
<details>
|
||||
<summary>查看示例</summary>
|
||||
|
||||
```bash
|
||||
curl 'https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/rm_dynamic' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0' \
|
||||
-H 'Referer: https://t.bilibili.com/' \
|
||||
-H 'Cookie: SESSDATA=********; bili_jct=de2731532b4ab96bc8536da948932668;' \
|
||||
--data-raw 'dynamic_id=588320531406678918&csrf_token=de2731532b4ab96bc8536da948932668&csrf=de2731532b4ab96bc8536da948932668'
|
||||
```
|
||||
|
||||
```json
|
||||
{"code":0,"msg":"","message":"","data":{"_gt_":0}}
|
||||
```
|
||||
|
||||
</details>
|
Loading…
Reference in New Issue
Block a user