import{_ as t,c as e,a,o as n}from"./app-Dgsdh8A6.js";const l={};function d(o,s){return n(),e("div",null,s[0]||(s[0]=[a(`

图文操作

删除动态

https://api.bilibili.com/x/dynamic/feed/operate/remove

请求方法: POST

认证方式:Cookie (SESSDATA)

URL 参数:

参数名类型内容必要性备注
csrfstringCSRF Token (即 Cookie 中 bili_jct)必要
platformstring平台标识不必要web

正文参数 (application/json):

根对象:

参数名类型内容必要性备注
dyn_id_strstring动态的 opus id必要
dyn_typenumber动态类型?不必要
rid_strstring不必要

JSON 回复:

根对象:

字段类型内容备注
codenumber返回值0: 成功
-101: 帐号未登录
-111: csrf 校验失败
-400: 请求错误
4101001: 参数错误
4101144: 只能删除自身的动态
messagestring错误信息成功时为 0
ttlnumber1
dataobject空对象

示例:

删除动态 667831766353969169

curl 'https://api.bilibili.com/x/dynamic/feed/operate/remove' \\
--url-query 'csrf=05fa8d65755655c2893d40d3692d4c70' \\
-H 'content-type: application/json'
--data-raw '{"dyn_id_str":"667831766353969169"}' \\
-b 'SESSDATA=xxxxxx' \\
查看响应示例:
{
  "code": 0,
  "message": "0",
  "ttl": 1,
  "data": {}
}

删除专栏

https://member.bilibili.com/x/web/article/delete

请求方式:POST

认证方式:Cookie(SESSDATA)

正文参数(application/x-www-form-urlencoded):

参数名类型内容必要性备注
aidnum文章cvid必要
csrfstrCSRF Token(位于cookie)必要

json回复:

根对象:

字段类型内容备注
codenum返回值0:成功
-101:账号未登录
-111:csrf校验失败
-400:请求错误
-404:无此项
37104:无权限操作他人专栏
messagestr错误信息默认为0
ttlnum1

示例:

curl 'https://member.bilibili.com/x/web/article/delete' \\
  --data-urlencode 'aid=114514' \\
  --data-urlencode 'csrf=xxx' \\
  -b 'SESSDATA=xxx'
查看响应示例:
{
  "code": 0,
  "message": "0",
  "ttl": 1
}
`,29)]))}const i=t(l,[["render",d]]),p=JSON.parse('{"path":"/docs/creativecenter/opus.html","title":"图文操作","lang":"zh-CN","frontmatter":{},"git":{"updatedTime":1746728488000,"contributors":[{"name":"wuziqian211","username":"wuziqian211","email":"65224318+wuziqian211@users.noreply.github.com","commits":1,"url":"https://github.com/wuziqian211"},{"name":"btjawa","username":"btjawa","email":"125720787+btjawa@users.noreply.github.com","commits":1,"url":"https://github.com/btjawa"},{"name":"SessionHu","username":"SessionHu","email":"102411014+SessionHu@users.noreply.github.com","commits":3,"url":"https://github.com/SessionHu"}],"changelog":[{"hash":"f9defd7bf714882fe8f53b66e70122a8468fd4c0","time":1746728488000,"email":"102411014+SessionHu@users.noreply.github.com","author":"SessionHu","message":"fix(creativecenter/opus.md): missing command quote"},{"hash":"351259535f96ee23d85bbafc5e013c8e510065e1","time":1745642546000,"email":"102411014+SessionHu@users.noreply.github.com","author":"SessionHu","message":"feat(creativecenter/opus.md): remove dynamic"},{"hash":"28bdb9662ed66ed1614e9ba7da0f664473085861","time":1745639926000,"email":"102411014+SessionHu@users.noreply.github.com","author":"SessionHu","message":"chore: 调整部分文件结构"},{"hash":"c4dc2268a9c5d61487399cbcde9a89dd125ff881","time":1745141309000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"晨叶梦春","message":"add #1163","coAuthors":[{"name":"btjawa","email":"125720787+btjawa@users.noreply.github.com"}]}]},"filePathRelative":"docs/creativecenter/opus.md"}');export{i as comp,p as data};