From e04a13c882397ddfe04a39806d982e219ebaf9b3 Mon Sep 17 00:00:00 2001 From: huang3292 Date: Mon, 11 Aug 2025 14:24:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E6=9D=A5?= =?UTF-8?q?=E8=87=AA=E5=88=9B=E4=BD=9C=E4=B8=AD=E5=BF=83=E7=9A=84=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E6=B3=A8=E5=86=8C=E6=97=B6=E9=97=B4=EF=BC=88=E5=AF=B9?= =?UTF-8?q?=E4=BA=8E=E9=9D=9Eup=E4=B8=BB=EF=BC=89=E6=88=96=E9=A6=96?= =?UTF-8?q?=E6=AC=A1=E6=8A=95=E7=A8=BF=E7=9A=84=E6=97=B6=E9=97=B4=EF=BC=88?= =?UTF-8?q?=E5=AF=B9=E4=BA=8Eup=E4=B8=BB=EF=BC=89=E7=9A=84api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/user/jointime.md | 114 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/user/jointime.md diff --git a/docs/user/jointime.md b/docs/user/jointime.md new file mode 100644 index 0000000..cca303b --- /dev/null +++ b/docs/user/jointime.md @@ -0,0 +1,114 @@ +# 查看注册时间(对于非UP主)或首次投稿时间(对于UP主) +> https://member.bilibili.com/x/web/index/scrolls + +*请求方式:get* + +认证方式:Cookie(SESSDATA) + +**JSON回复** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------- | +| code | num | 返回值 | 0: 成功
-101: 账号未登录 | +| message | str | 错误信息 | 默认为 0 | +| ttl | num | 1 | | +| data | obj | 数据本体 | 失败时不存在 | + +`data` 对象: + +`data`中的 `ewcomer` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------- | +| medals | num | ? | 作用尚不明确 | +| no_receive | num | ? | 作用尚不明确 | +| task_received | num | ? | 作用尚不明确 | +| sub_zero | bool | ? | 作用尚不明确 | + +`data` 中的 `scrolls`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------- | +| id | num | ? | 作用尚不明确 | +| icon | str | 一张图片的url | 作用尚不明确,图片内容为日历字样 | +| type | num | ? | 作用尚不明确 | +| name | str | 信息本体 | 若不为up主则返回注册时间,为up主则返回成为up主的时间 | +| comment | ? | ? | 作用尚不明确| +| new | num | ? | 作用尚不明确 | +| hot | num | ? | 作用尚不明确 | +| link | url | ? | 提示改页面已废弃| + +**请求实例:** + +查询自己的注册时间: +```shell +curl -G https://member.bilibili.com/x/web/index/scrolls -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +对于up主: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "newcomer": { + "medals": 0, + "no_receive": 0, + "task_received": 0, + "sub_zero": false, + "tasks": null + }, + "scrolls": [ + { + "id": 0, + "icon": "http://i0.hdslb.com/bfs/archive/f58a4b33bbf23464d0aa24210cf97233506e50dc.png", + "type": 1, + "name": "成为UP主的第29天", + "comment": "", + "new": 0, + "hot": 0, + "link": "https://member.bilibili.com/studio/gabriel/creator-calendar/today" + } + ] + } +} +``` + +对于非up主: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "newcomer": { + "medals": 0, + "no_receive": 0, + "task_received": 0, + "sub_zero": false, + "tasks": null + }, + "scrolls": [ + { + "id": 0, + "icon": "http://i0.hdslb.com/bfs/archive/f58a4b33bbf23464d0aa24210cf97233506e50dc.png", + "type": 1, + "name": "加入bilibili星球的第29天", + "comment": "", + "new": 0, + "hot": 0, + "link": "https://member.bilibili.com/studio/gabriel/creator-calendar/today" + } + ] + } +} +``` +
From 8b03bb4d09c260f00f51532586bd4534f2b590f7 Mon Sep 17 00:00:00 2001 From: huang3292 Date: Mon, 11 Aug 2025 14:27:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0jointime=E4=BA=8EREADME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1dca1ee..151690a 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,7 @@ B站 API 采用 C/S 结构,大多数接口为 REST API 和 gRPC,少部分接 - [x] [用户认证类型一览](docs/user/official_role.md) - [ ] [加入老粉计划](docs/user/contract.md) - [x] [所有粉丝勋章](docs/user/medals.md) + - [x] [注册或首次投稿时间](docs/user/jointime.md) - [ ] [大会员](docs/vip) - [ ] [大会员基本信息](docs/vip/info.md) - [ ] [大会员中心](docs/vip/center.md)