查询评论状态
curl --request GET \
--url https://api.aichs365.com/api/v1/socialCommentDetail \
--header 'X-Legacy-Token: <api-key>'const options = {method: 'GET', headers: {'X-Legacy-Token': '<api-key>'}};
fetch('https://api.aichs365.com/api/v1/socialCommentDetail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.aichs365.com/api/v1/socialCommentDetail"
headers = {"X-Legacy-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"requestId": "01HZY8QK5W6N7P8R9S0T1U2V3W",
"success": true,
"message": "请求成功",
"code": 200,
"data": {}
}社媒评论
查询评论状态
查询评论状态接口。
接口状态:可用。接口当前可正常接入和调用。
GET
/
api
/
v1
/
socialCommentDetail
查询评论状态
curl --request GET \
--url https://api.aichs365.com/api/v1/socialCommentDetail \
--header 'X-Legacy-Token: <api-key>'const options = {method: 'GET', headers: {'X-Legacy-Token': '<api-key>'}};
fetch('https://api.aichs365.com/api/v1/socialCommentDetail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.aichs365.com/api/v1/socialCommentDetail"
headers = {"X-Legacy-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"requestId": "01HZY8QK5W6N7P8R9S0T1U2V3W",
"success": true,
"message": "请求成功",
"code": 200,
"data": {}
}Authorizations
调用业务接口时携带的访问 Token;请先通过获取访问 Token 接口生成。
Query Parameters
帖子ID
Maximum string length:
64评论ID
Maximum string length:
64Response
200 - application/json
业务响应;请同时检查 success 与 code
- Option 1
- Option 2
- Option 3
接口处理成功时返回的统一业务响应信封。
本次请求的唯一追踪 ID,用于排查问题。
业务是否处理成功;成功响应固定为 true。
本次业务处理结果的中文提示信息。
业务状态码;应与 success 一并判断,不等同于 HTTP 状态码。
评论发布状态与第三方平台结果。
Hide child attributes
Hide child attributes
平台本地评论 ID。
第三方平台评论 ID;尚未发布时可能为空字符串。
评论当前处理状态。
Available options:
processing, published, failed, deleted 评论实际发布时间;尚未发布时可能为空字符串。
评论处理失败原因;未失败时通常为空字符串。