跳到主要内容

列出成员关注的人

GET/v1/members/{username}/following

返回该成员关注的成员。

请求

Shell
curl -g "https://api.nogitsu.com/v1/members/{username}/following"

参数

  • username

    路径必填

    成员的用户名。

    文本

  • cursor

    查询可选

    上一页的 nextCursor 值。读取第一页时省略。

    文本

响应

请求成功时返回 200 和以下 JSON:

  • items对象 列表
    • member对象
      • username文本
      • displayName文本
      • avatarUrl文本 (uri)可为 null
    • bio文本可为 null
    • followedAt文本 (date-time)
  • nextCursor文本可为 null

错误

与所有操作一样,此操作在参数无效时可能返回 400,找不到内容时返回 404,请求过多时返回 429。所有错误的结构都相同。

了解错误