获取帖子列表
curl --request GET \
--url https://api.aichs365.com/api/v1/socialPostLists \
--header 'X-Legacy-Token: <api-key>'const options = {method: 'GET', headers: {'X-Legacy-Token': '<api-key>'}};
fetch('https://api.aichs365.com/api/v1/socialPostLists', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.aichs365.com/api/v1/socialPostLists"
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
/
socialPostLists
获取帖子列表
curl --request GET \
--url https://api.aichs365.com/api/v1/socialPostLists \
--header 'X-Legacy-Token: <api-key>'const options = {method: 'GET', headers: {'X-Legacy-Token': '<api-key>'}};
fetch('https://api.aichs365.com/api/v1/socialPostLists', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.aichs365.com/api/v1/socialPostLists"
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:
128发布状态
Maximum string length:
32页码
Required range:
x >= 1每页记录数
Required range:
1 <= x <= 100Response
200 - application/json
业务响应;请同时检查 success 与 code