API說明
API位置 |
/new_ezding/comments/check_user_comment |
需求描述 |
檢查會員是否發過電影評論 |
傳輸物件格式 |
json |
方法 |
POST |
範例
curl -X GET \
-H " X-Ftcsys-key: {KEY}" \
-H " X-Ftc-Authorization: {token}" \
-H " X- Accept-Language: {language}" \
-H "Content-Type: application/json" \
-d '{
"movie_id": 1,
}
https://{endpoint}/new_ezding/comments/check_user_comment
回傳範例
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
{
"result": {
"comment_status": 1
},
"code": 200,
"status": "success"
}
接收URL參數
參數 |
名稱 |
範例 |
必填 |
備註 |
movie_id |
電影群組ID |
c5516129d1e94c71841f09d3d18290e2 |
Y |
回傳json的參數
參數 |
名稱 |
範例 |
必填 |
備註 |
comments_status |
是否評論 |
1 |
Y |
1:已評論、0:未評論 |