获取评论数据
curl --request GET \
--url https://api.aichs365.com/api/v1/socialCommentList \
--header 'X-Legacy-Token: <api-key>'const options = {method: 'GET', headers: {'X-Legacy-Token': '<api-key>'}};
fetch('https://api.aichs365.com/api/v1/socialCommentList', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.aichs365.com/api/v1/socialCommentList"
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
/
socialCommentList
获取评论数据
curl --request GET \
--url https://api.aichs365.com/api/v1/socialCommentList \
--header 'X-Legacy-Token: <api-key>'const options = {method: 'GET', headers: {'X-Legacy-Token': '<api-key>'}};
fetch('https://api.aichs365.com/api/v1/socialCommentList', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.aichs365.com/api/v1/socialCommentList"
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页码
Required range:
x >= 1分页大小
Required range:
1 <= x <= 100Response
200 - application/json
业务响应;请同时检查 success 与 code