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

大会员签到

大积分签到

https://api.bilibili.com/pgc/activity/score/task/sign

请求方式:POST

认证方式:Cookie (SESSDATA) / access_key

Cookie 鉴权方式下需要满足以下条件:

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

参数名类型内容必要性备注
access_keystrAPP登录TokenAPP方式必要
csrfstrCSRF Token (位于cookie)非必要

json回复:

根对象:

字段名类型内容备注
codenum响应码0:成功
-101:账号未登录
-401:非法访问
-403:访问权限不足
messagestr错误信息

示例:

web 方式:

curl 'https://api.bilibili.com/pgc/activity/score/task/sign' \\
    --data-urlencode 'csrf=xxx' \\
	-b 'SESSDATA=xxx' \\
	--referer 'https://www.bilibili.com'

APP 方式:

curl 'https://api.bilibili.com/pgc/activity/score/task/sign' \\
	--data-urlencode 'access_key=xxx'
查看响应示例:
{
    "code": 0,
    "message": "success"
}
`,18)]))}const r=e(n,[["render",o]]),d=JSON.parse('{"path":"/docs/vip/clockin.html","title":"大会员签到","lang":"zh-CN","frontmatter":{},"git":{"updatedTime":1677124138000,"contributors":[{"name":"SocialSisterYi","username":"SocialSisterYi","email":"1440239038@qq.com","commits":2,"url":"https://github.com/SocialSisterYi"}],"changelog":[{"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/vip/clockin.md"}');export{r as comp,d as data};