Followship API
追蹤指定使用者
POST hostname/api/followships
Request Body
Name
Type
Description
id*
integer
追蹤對象的ID
{
"status": "success",
"data": {
"id": integer,
"followingId": integer,
"followerId": integer,
"createdAt": timestamp
},
"message": "成功追蹤對方"
}{
"code" : 500,
"status": "error",
"message": "系統出錯"
}{
"code" : 404,
"status": "error",
"message": "追蹤對象不存在"
}取消追蹤指定使用者
DELETE hostname/api/followships/:id
Path Parameters
Name
Type
Description
id*
string
想要取消追蹤對象的ID
Last updated