| 状态码 | 说明 |
|---|---|
| -1 | failed |
| 0 | success |
| 400 | 参数错误 |
| 1001 | 账户余额不足 |
| 1002 | 邮箱/手机号或密码错误 |
| 1003 | 请求频率超过上限 |
| 1004 | 邮箱或手机号已注册 |
| 1005 | 无效的 API Key |
| 1006 | 用户不存在 |
| 1007 | 登录凭证无效 |
| 1008 | 缺少 API Key |
| 1009 | 手机或邮箱已存在 |
| 1010 | 需要管理员授权 |
| 1011 | 原密码错误 |
| 1012 | 新密码不能与原密码相同 |
| 1013 | 手机号和uid不能都为空 |
| 1014 | 请填写验证码 |
| 1015 | 验证码错误或已过期 |
| 1016 | 登录失败次数过多,请输入 验证码 |
| 1017 | 请填写手机号 |
| 1018 | 请填写邮箱 |
| 1019 | 接口不存在,请检查 |
| 5000 | 服务暂时不可用,请稍后重试 |
| 5003 | 网络连接失败,请稍后重试 |
| 6001 | 修改密码失败,请稍后重试 |
| 字段路径 | 示例值 | 说明 |
|---|---|---|
data.video_touch[].distribution_data.name | "个人" | 一级分类名称 |
data.video_touch[].distribution_data.cnt | 1046509890 | 一级分类触达量 |
data.video_touch[].second_distribution[].distribution_data.name | "随拍" | 二级分类名称 |
data.video_touch[].second_distribution[].distribution_data.cnt | 1 | 二级分类触达量 |
data.video_touch[].second_distribution[].three_distribution[].distribution_data.name | "生活随拍" | 三级分类名称 |
data.video_touch[].second_distribution[].three_distribution[].distribution_data.cnt | 1 | 三级分类触达量 |
{
"author_id": "6790135851746590728"
}curl --location 'https://api.yddm.com/xingtu/author_touch_distribution' \
--header 'X-API-KEY: {{X-API-Key}}' \
--header 'Content-Type: application/json' \
--data '{
"author_id": "6790135851746590728"
}'{
"code": 0,
"msg": "success",
"data": {
"cost": 100,
"balance": 74900,
"base_resp": {
"status_code": 0,
"status_message": ""
},
"video_touch": [
{
"distribution_data": {
"cnt": 1046509890,
"id": "0",
"name": "个人"
},
"second_distribution": [
{
"distribution_data": {
"cnt": 1,
"id": "0",
"name": "随拍"
},
"three_distribution": [
{
"distribution_data": {
"cnt": 1,
"id": "0",
"name": "生活随拍"
}
}
]
},
{
"distribution_data": {
"cnt": 62108391,
"id": "0",
"name": "摄影摄像"
},
"three_distribution": [
{
"distribution_data": {
"cnt": 62108391,
"id": "0",
"name": "摄影摄像作品"
}
}
]
},
{
"distribution_data": {
"cnt": 391622,
"id": "0",
"name": "颜值"
},
"three_distribution": [
{
"distribution_data": {
"cnt": 391622,
"id": "0",
"name": "他拍"
}
}
]
},
{
"distribution_data": {
"cnt": 983619145,
"id": "0",
"name": "剧情"
},
"three_distribution": [
{
"distribution_data": {
"cnt": 983619145,
"id": "0",
"name": "演绎"
}
}
]
}
]
},
{
"distribution_data": {
"cnt": 265805960,
"id": "0",
"name": "星图"
},
"second_distribution": [
{
"distribution_data": {
"cnt": 265805960,
"id": "0",
"name": "剧情"
},
"three_distribution": [
{
"distribution_data": {
"cnt": 265571172,
"id": "0",
"name": "演绎"
}
},
{
"distribution_data": {
"cnt": 234788,
"id": "0",
"name": "短剧"
}
}
]
}
]
}
],
"code": 0
}
}