API說明

API位置 /new_ezding/members/send_member_bookmark
需求描述 收藏站台內容/作者/會員評論
傳輸物件格式 json
方法 POST

範例

curl -X POST     \
-H " X-Ftcsys-key: {KEY}" \ 
-H " X-Ftc-Authorization: {token}" \
-H " X-Accept-Language: {language}" \
-H "Content-Type: application/json" \ 
-d '{
"bookmark_category": 1,
"bookmark_type": 1,
"reference_id": "512",
"bookmark_status": 1
}
https://{endpoint}/new_ezding/members/send_member_bookmark

回傳範例 - 收藏/取消收藏成功

< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
{
  "result": "",
  "code": 200,
  "status": "success"
}

接收json參數

參數 名稱 範例 必填 備註
bookmark_category 收藏分類 1 Y 1=文章, 2=作者,7=會員評論(3=新聞, 4=專欄, 5=影評, 6=其他)
bookmark_type 收藏類型 1 Y 1:愛心(收藏),目前只有一種類型
reference_id 關聯ID 512 Y
bookmark_status 收藏狀態 1 Y 1:是、0:否

results matching ""

    No results matching ""