From 8001a7b0da2ad5beb291d4ba35d73383886ab611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?o=EF=BD=8D=28o=E3=83=BB=CF=89=E3=83=BBo=29=EF=BD=8D?= <61079068+ours1505@users.noreply.github.com> Date: Wed, 14 Feb 2024 10:29:05 +0800 Subject: [PATCH] Update appeal.md (#964) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 哔哩哔哩更新了他的举办接口 --- docs/video/appeal.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/video/appeal.md b/docs/video/appeal.md index 95885f7..69d6a0f 100644 --- a/docs/video/appeal.md +++ b/docs/video/appeal.md @@ -373,8 +373,7 @@ curl --location --request GET 'https://api.bilibili.com/x/web-interface/archive/ ## 投诉稿件 -> https://api.bilibili.com/x/web-interface/archive/appeal - +> https://api.bilibili.com/x/web-interface/appeal/v2/submit *请求方式:POST* 认证方式:Cookie(SESSDATA) @@ -383,12 +382,15 @@ curl --location --request GET 'https://api.bilibili.com/x/web-interface/archive/ | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ------ | ---- | ------------------------ | ------ | ------------------------ | -| csrf | str | csrf token(位于cookie) | 必要 | 在url params中 | -| jsonp | str | jsonp | 必要? | 意义不明,位于url params | +| csrf | str | csrf token(位于cookie bili_jct) | 必要 | 位于request body | | aid | num | 稿件aid | 必要 | 位于request body | | tid | num | 投诉理由tid | 必要 | 位于request body | | desc | str | 投诉理由详细描述 | 必要 | 位于request body | | attach | str | 附件(多个附件用逗号隔开 | 非必要 | 位于request body | +| buid | str | 风控代码 | 必要 | 位于request header | +| Buid | str | 风控代码 | 必要 | 位于request cookies | + +上下两个buid值必须相同,可随机 **json回复:** @@ -401,7 +403,8 @@ curl --location --request GET 'https://api.bilibili.com/x/web-interface/archive/ **示例:举报av号为61080066的视频,理由为人身攻击,描述为“xxxxx”,并附带了一个图片附件 ```bash -curl --location --request POST 'https://api.bilibili.com/x/web-interface/archive/appeal?jsonp=jsonp&csrf=xxxx' \ +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"' \