GET
/
v1
/
channels
/
followings
curl --request GET \
  --url https://api.reportify.cn/v1/channels/followings \
  --header 'Authorization: Bearer <token>'
{
  "total_count": 0,
  "total_page": 0,
  "page_num": 1,
  "page_size": 10,
  "channels": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "avatar_url": "<string>",
      "following": false
    }
  ]
}

获取用户关注的账号列表

URL: /v1/channels/followings
方法: GET
描述: 关注账号列表

请求参数

参数名类型描述
page_numint当前页码,默认值为 1
page_sizeint每页条目数,默认值为 10

响应参数

参数名类型描述
page_numint当前页码。
page_sizeint每页条目数。
total_pageint总页数。
total_countint总条目数。
channelsarray文档数组,每个文档包含以下字段:
  idstr账号唯一 ID。
  namestr账号名称。
  avatar_urlstr账号头像。
  descriptionstr账号描述。
  followingbool账号关注状态。

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page_num
integer
default:1
page_size
integer
default:10

Response

200
application/json

Successful Response

The response is of type object.