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

稿件投诉

附件上传

附件上传与视频封面上传共用一个api。

获取投诉类型

https://api.bilibili.com/x/web-interface/archive/appeal/tags

请求类型:GET

json回复:

参数名类型内容备注
codenum成功为0
messagestr成功为0
ttlnum1
dataarray

data数组:

类型内容备注
0obj类型条目 1
nobj类型条目 (n+1)按照指定的顺序排列
……obj…………

data数组中的对象

类型内容备注
tidnum类型tid
businessnum意义不明
weightnum权重
roundnum意义不明
statenum意义不明
namestr类型名称
remarkstr类型备注
ctimestr意义不明
mtimestr意义不明
controls拥有时:array
没有时:null
详细信息填写提示

controls数组中的对象:

类型内容备注
tidnum同上
bidnum意义不明
namestr提示名称
titlestr提示标题
componentstr需要填入的类型
placeholderstr文本框占位符
requirednum是否为必填

示例:

curl --location --request GET 'https://api.bilibili.com/x/web-interface/archive/appeal/tags'
查看响应示例
{
    "code": 0,
    "message": "0",
    "ttl": 1,
    "data": [
        {
            "tid": 1,
            "business": 1,
            "weight": 1,
            "round": 2,
            "state": 1,
            "name": "其他",
            "remark": "为帮助审核人员更快处理,请补充问题类型和出现位置等详细信息",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2023-09-21T18:40:20+08:00",
            "controls": null
        },
        {
            "tid": 8,
            "business": 1,
            "weight": 40,
            "round": 2,
            "state": 1,
            "name": "与站内其他视频撞车",
            "remark": "为帮助审核人员更快处理, 请描述撞车信息",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2023-03-06T16:36:02+08:00",
            "controls": [
                {
                    "tid": 8,
                    "bid": 1,
                    "name": "撞车对象",
                    "title": "撞车对象",
                    "component": "input",
                    "placeholder": "BVID",
                    "required": 1
                }
            ]
        },
        {
            "tid": 9,
            "business": 1,
            "weight": 30,
            "round": 2,
            "state": 1,
            "name": "引战",
            "remark": "为帮助审核人员更快处理, 请补充引战的话题和出现位置",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2018-08-13T15:41:20+08:00",
            "controls": null
        },
        {
            "tid": 10,
            "business": 1,
            "weight": 20,
            "round": 2,
            "state": 1,
            "name": "不能参加充电",
            "remark": "为帮助审核人员更快处理, 请补充问题类型和出现位置等详细信息",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2018-08-23T11:35:28+08:00",
            "controls": null
        },
        {
            "tid": 52,
            "business": 1,
            "weight": 35,
            "round": 2,
            "state": 1,
            "name": "转载/自制错误",
            "remark": "为帮助审核人员更快处理, 请补充原创作品出处",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2023-09-20T16:23:39+08:00",
            "controls": [
                {
                    "tid": 52,
                    "bid": 1,
                    "name": "出处",
                    "title": "原创视频出处",
                    "component": "link",
                    "placeholder": "请填写链接",
                    "required": 1
                }
            ]
        },
        {
            "tid": 10018,
            "business": 1,
            "weight": 36,
            "round": 2,
            "state": 1,
            "name": "违规推广",
            "remark": "",
            "ctime": "2023-09-21T17:56:21+08:00",
            "mtime": "2023-09-22T14:36:41+08:00",
            "controls": null
        },
        {
            "tid": 10019,
            "business": 1,
            "weight": 34,
            "round": 2,
            "state": 1,
            "name": "其他不规范行为",
            "remark": "",
            "ctime": "2023-09-21T18:05:33+08:00",
            "mtime": "2023-09-22T14:37:03+08:00",
            "controls": null
        },
        {
            "tid": 10020,
            "business": 1,
            "weight": 89,
            "round": 2,
            "state": 1,
            "name": "危险行为",
            "remark": "",
            "ctime": "2023-09-21T18:05:51+08:00",
            "mtime": "2023-09-22T14:38:08+08:00",
            "controls": null
        },
        {
            "tid": 10022,
            "business": 1,
            "weight": 1,
            "round": 2,
            "state": 1,
            "name": "其他",
            "remark": "",
            "ctime": "2023-09-21T19:07:01+08:00",
            "mtime": "2023-09-22T14:38:59+08:00",
            "controls": null
        },
        {
            "tid": 10023,
            "business": 1,
            "weight": 59,
            "round": 2,
            "state": 1,
            "name": "企业商誉侵权",
            "remark": "",
            "ctime": "2023-12-01T14:06:58+08:00",
            "mtime": "2023-12-01T15:33:26+08:00",
            "controls": null
        },
        {
            "tid": 10024,
            "business": 1,
            "weight": 58,
            "round": 2,
            "state": 1,
            "name": "侵权申诉",
            "remark": "",
            "ctime": "2023-12-01T14:07:18+08:00",
            "mtime": "2023-12-01T15:33:37+08:00",
            "controls": null
        },
        {
            "tid": 2,
            "business": 1,
            "weight": 100,
            "round": 1,
            "state": 1,
            "name": "违法违禁",
            "remark": "为帮助审核人员更快处理,补充违规内容出现位置",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2018-08-13T15:41:20+08:00",
            "controls": null
        },
        {
            "tid": 3,
            "business": 1,
            "weight": 90,
            "round": 1,
            "state": 1,
            "name": "色情低俗",
            "remark": "为帮助审核人员更快处理,补充违规内容出现位置",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2023-09-21T19:07:10+08:00",
            "controls": null
        },
        {
            "tid": 4,
            "business": 1,
            "weight": 80,
            "round": 1,
            "state": 1,
            "name": "低俗",
            "remark": "为帮助审核人员更快处理,补充违规内容出现位置",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2018-08-13T15:41:20+08:00",
            "controls": null
        },
        {
            "tid": 5,
            "business": 1,
            "weight": 70,
            "round": 1,
            "state": 1,
            "name": "赌博诈骗",
            "remark": "为帮助审核人员更快处理,补充违规内容出现位置",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2018-08-13T15:41:20+08:00",
            "controls": null
        },
        {
            "tid": 6,
            "business": 1,
            "weight": 60,
            "round": 1,
            "state": 1,
            "name": "血腥暴力",
            "remark": "为帮助审核人员更快处理,补充违规内容出现位置",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2018-08-13T15:41:20+08:00",
            "controls": null
        },
        {
            "tid": 7,
            "business": 1,
            "weight": 50,
            "round": 1,
            "state": 1,
            "name": "人身攻击",
            "remark": "为帮助审核人员更快处理,补充违规内容出现位置",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2018-08-13T15:41:20+08:00",
            "controls": null
        },
        {
            "tid": 10000,
            "business": 1,
            "weight": 10,
            "round": 1,
            "state": 1,
            "name": "青少年不良信息",
            "remark": "为帮助审核人员更快处理, 请补充违规内容出现位置",
            "ctime": "2018-08-13T15:41:20+08:00",
            "mtime": "2018-08-13T15:41:20+08:00",
            "controls": null
        },
        {
            "tid": 10013,
            "business": 1,
            "weight": 37,
            "round": 1,
            "state": 1,
            "name": "不良封面/标题",
            "remark": "为帮助审核人员更快处理, 请描述详细信息",
            "ctime": "2019-04-17T19:18:09+08:00",
            "mtime": "2019-04-17T20:42:25+08:00",
            "controls": null
        },
        {
            "tid": 10014,
            "business": 1,
            "weight": 8,
            "round": 1,
            "state": 1,
            "name": "涉政谣言",
            "remark": "为帮助审核人员更快处理,请补充谣言内容出现位置",
            "ctime": "2022-09-15T17:23:44+08:00",
            "mtime": "2022-09-16T09:56:07+08:00",
            "controls": null
        },
        {
            "tid": 10015,
            "business": 1,
            "weight": 7,
            "round": 1,
            "state": 1,
            "name": "涉社会事件谣言",
            "remark": "为帮助审核人员更快处理,请补充谣言内容出现位置",
            "ctime": "2022-09-15T17:25:56+08:00",
            "mtime": "2022-09-16T09:56:07+08:00",
            "controls": null
        },
        {
            "tid": 10017,
            "business": 1,
            "weight": 5,
            "round": 1,
            "state": 1,
            "name": "虚假不实信息",
            "remark": "为帮助审核人员更快处理,请补充不实内容出现位置",
            "ctime": "2022-09-15T17:28:16+08:00",
            "mtime": "2022-09-16T09:56:08+08:00",
            "controls": null
        },
        {
            "tid": 10021,
            "business": 1,
            "weight": 88,
            "round": 1,
            "state": 1,
            "name": "观感不适",
            "remark": "",
            "ctime": "2023-09-21T18:06:15+08:00",
            "mtime": "2023-09-21T18:06:15+08:00",
            "controls": null
        }
    ]
}

投诉稿件

https://api.bilibili.com/x/web-interface/appeal/v2/submit 请求方式:POST

认证方式:Cookie(SESSDATA)

正文参数:

参数名类型内容必要性备注
csrfstrcsrf token(位于cookie bili_jct)必要位于request body
aidnum稿件aid必要位于request body
tidnum投诉理由tid必要位于request body
descstr投诉理由详细描述必要位于request body
attachstr附件(多个附件用逗号隔开非必要位于request body
buidstr风控代码必要位于request header
Buidstr风控代码必要位于request cookies

上下两个buid值必须相同,可随机

json回复:

参数名类型内容备注
codenum返回码成功为0
messagestr成功为0
ttl1

**示例:举报av号为61080066的视频,理由为人身攻击,描述为“xxxxx”,并附带了一个图片附件

curl --location --request POST 'https://api.bilibili.com/x/web-interface/appeal/v2/submit' \\
--form 'csrf="xxxx"'\\
--form 'aid="61080066"' \\
--form 'tid="7"' \\
--form 'desc="xxxxx"' \\
--form 'attach="https://archive.biliimg.com/bfs/archive/xxxxx.png"'
查看响应示例
{
	"code":0,
	"message":"0",
	"ttl":1
}
`,28)]))}const c=n(p,[["render",t]]),r=JSON.parse('{"path":"/docs/video/appeal.html","title":"稿件投诉","lang":"zh-CN","frontmatter":{},"git":{"updatedTime":1726759053000,"contributors":[{"name":"SocialSisterYi","username":"SocialSisterYi","email":"1440239038@qq.com","commits":3,"url":"https://github.com/SocialSisterYi"},{"name":"SessionHu","username":"SessionHu","email":"102411014+SessionHu@users.noreply.github.com","commits":2,"url":"https://github.com/SessionHu"},{"name":"ours1505","username":"ours1505","email":"61079068+ours1505@users.noreply.github.com","commits":1,"url":"https://github.com/ours1505"}],"changelog":[{"hash":"1e24c6b1889160c4c35c01416aa4239501accf5f","time":1726759053000,"email":"102411014+SessionHu@users.noreply.github.com","author":"Session小胡","message":"调整部分接口描述与错误修复 (#1088)","coAuthors":[{"name":"社会易姐QwQ","email":"45892418+SocialSisterYi@users.noreply.github.com"}]},{"hash":"8001a7b0da2ad5beb291d4ba35d73383886ab611","time":1707877745000,"email":"61079068+ours1505@users.noreply.github.com","author":"om(o・ω・o)m","message":"Update appeal.md (#964)"},{"hash":"12e014afcb376e0314e0fdef2dab5c4f7b9fdde7","time":1706520417000,"email":"102411014+SessionHu@users.noreply.github.com","author":"Session小胡","message":"fix: 错误的显示和链接和数据类型 (#954)"},{"hash":"f6760f4be38d5b592d396b211e48c666286524de","time":1677124138000,"email":"1440239038@qq.com","author":"SocialSisterYi","message":"🔨remove header index"},{"hash":"7d89ece2ac46425810647c4ac92acf5f3721cb68","time":1676998806000,"email":"1440239038@qq.com","author":"SocialSisterYi","message":"🚀调整项目结构"}]},"filePathRelative":"docs/video/appeal.md"}');export{c as comp,r as data};