Article:addFollow

注意:该接口需要登陆后才能调用。

添加关注。

HTTP 请求

POST /api/articles/{article_id}/followers

参数

参数名参数位置类型默认值说明
article_idpathinteger

文章ID

响应

关注者数量

示例

{
  "code": 0,
  "data": {
    "follower_count": 112
  }
}

参数说明

参数名 类型 说明
code integer

无任何错误时,状态码为 0

data.follower_count integer

关注者数量