From 95efa217a8acedcbf7316f550d78a6089d989114 Mon Sep 17 00:00:00 2001 From: maimierjiafude <35167402+maimierjiafude@users.noreply.github.com> Date: Fri, 30 Jun 2023 00:34:59 +0800 Subject: [PATCH] Update relation.md (#725) * Update relation.md * Update relation.md fix error word --- docs/user/relation.md | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/docs/user/relation.md b/docs/user/relation.md index 1ac2891..273607a 100644 --- a/docs/user/relation.md +++ b/docs/user/relation.md @@ -1582,7 +1582,7 @@ curl -G 'https://api.bilibili.com/x/relation/relations' \ | 字段 | 类型 | 内容 | 备注 | | ----- | ---- | ---------- | ---- | -| tagid | num | 分组 id | | +| tagid | num | 分组 id | -10:特别关注
0:默认分组 | | name | str | 分组名称 | | | count | num | 分组成员数 | | | tip | str | 提示信息 | | @@ -1653,7 +1653,7 @@ curl 'https://api.bilibili.com/x/relation/tags' \ | access_key | str | APP 登录 Token | APP 方式必要 | | | tagid | num | 分组 id | 必要 | | | order_type | str | 排序方式 | 非必要 | 按照关注顺序排列:留空
按照最常访问排列:attention | -| ps | num | 每页项数 | 非必要 | 默认为 50 | +| ps | num | 每页项数 | 非必要 | 默认为 20 | | pn | num | 页数 | 非必要 | 默认为1 | **json回复:** @@ -1675,6 +1675,38 @@ curl 'https://api.bilibili.com/x/relation/tags' \ | n | obj | 成员信息(n+1) | 按照添加顺序排序 | | …… | obj | …… | …… | +`data` 中的对象: + +| 字段 | 类型 | 内容 | 备注 | +| --------------- | ---- | ----------- | -------------- | +| mid | num | 用户id | | +| attribute | num | 0 | | +| tag | null | null | | +| special | num | 0 | | +| contract_info | json | 空的 | | +| uname | str | 用户名 | | +| face | str | 头像地址 | | +| sign | str | 个人简介 | | +| face_nft | int | ntf头像 | | +| official_verify | json | 官方认证 | 具体见下 | +| vip | json | 大会员 | 参考大会员文档 | +| live | json | 直播状态 | 具体见下 | +| nft_icon | str | 显示nft角标 | | +| rec_reason | str | | | +| track_id | str | | | + +`data`对象中的`official_verify`: +| 字段 | 类型 | 内容 | 备注 | +| ---- | ---- | ------------ | ---- | +| type | num | 0 | | +| desc | str | 官方认证内容 | | + +`data`对象中的`live`: +| 字段 | 类型 | 内容 | 备注 | +| ----------- | ---- | -------- | -------------------- | +| live_status | num | 0或1 | 0:未开播,1:已直播 | +| jump_url | str | 直播链接 | + **示例:** 以每页2项的方式获取了id为`207542`分组的第1页的粉丝明细,按照关注顺序