文章 Create Following REST 端点

URLs

POST api/v1/users/{followerid}/following.xml (or .json)

CREATE a follow for a user by user id.

POST api/v1/users/{followername}/following.xml (or .json)

CREATE a follow for a user by username.

请求参数

名称

类型

描述

必需

默认值

选项

FollowerId

int?

Either FollowerId or FollowerName is required.

FollowerName

string

Either FollowerId or FollowerName is required.

FollowingId

int

Following Id