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

漫画任务操作

分享漫画

https://manga.bilibili.com/twirp/activity.v1.Activity/ShareComic

请求方式:POST

认证方式:Cookie(SESSDATA)/ APP

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

参数名类型内容必要性备注
platformstr平台必要android

json 回复:

根对象:

字段类型内容备注
codenum / str返回值见对应表格
msgstr错误信息
metaobj错误信息invalid_argument 时存在,例如 {"argument":"platform"}
dataobjcode 为 0,msg 为空时存在

code - msg 对应表:

codecode 类型msg备注
0num分享成功,data 存在
0num今日已分享
invalid_argumentstrxxxx must be validxxxx 字段为必须,meta存在
unauthenticatedstrmust login必须登录才能分享

data 对象:

字段类型内容备注
pointnum获取积分

示例:

curl -X POST https://manga.bilibili.com/twirp/activity.v1.Activity/ShareComic \\
-b "SESSDATA=xxxxx" \\
--data-urlencode 'platform=android'
分享成功:
{
  "code": 0,
  "msg": "",
  "data": {
    "point": 5
  }
}
今日已分享:
{
  "code": 0,
  "msg": "今日已分享"
}
`,18)]))}const i=s(d,[["render",o]]),c=JSON.parse('{"path":"/docs/manga/Activity.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/manga/Activity.md"}');export{i as comp,c as data};