POST
/
v1
/
channels
/
{channel_id}
/
follow
curl --request POST \
  --url https://api.reportify.cn/v1/channels/{channel_id}/follow \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "avatar_url": "<string>",
  "following": false
}

关注账号

URL: /v1/channels/{channel_id}/follow
方法: POST
描述: 关注账号

请求参数

参数名类型描述
channel_idstr账号唯一 ID。

响应参数

参数名类型描述
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.

Path Parameters

channel_id
string
required

Channel ID

Response

200
application/json

Successful Response

The response is of type object.