获取深度链接列表(Page)
最后更新:2023/11/09
接口说明
使用 HTTPS 请求头 Authorization: Bearer $AppKey
此 API 需要:AppKey
调用方式
对接口传参
- 请求方式:POST(HTTPS)
- 内容类型:application/json
- 请求地址:https://www.allapp.link/v2/deeplink/get_all
参数解释
请求包体:
{
"project_id": "68qfBEW84TQDRmb3wCPowkdde",
"page": 1,
"page_size": 10
}
参数说明:
参数 | 必须 | 类型 | 说明 |
---|---|---|---|
project_id | 是 | string | 应用 ID |
page | 是 | number | 第几页(最小填 1) |
page_size | 是 | number | 每页数量(不超过 1,000) |
返回结果
{
"code": 200,
"msg": "请求成功",
"data": [
{
"link_id": "68qfBEW84TQDRmb3wCPowk",
"project_id": "X5c6Zz8CeUcwim82YXteh9",
"title": "链接标题",
"tag_name": [
"标签1",
"标签2"
],
"link_data": [
{
"key": "couponId",
"value": "38194"
},
{
"key": "channel",
"value": "38421"
}
],
"redirections": {
"redirect_default": "https://www.turbolink.ai/",
"redirect_android": "https://play.google.com/store/apps/details?id=com.branchcn.www",
"redirect_ios": "https://apps.apple.com/cn/app/"
},
"link_code": "¥1lMxt2E9Xd¥"
},
{
"link_id": "68qfBEW84TQDRmb3wCPowk",
"project_id": "X5c6Zz8CeUcwim82YXteh9",
"title": "链接标题",
"tag_name": [
"标签1",
"标签2"
],
"link_data": [
{
"key": "couponId",
"value": "38194"
},
{
"key": "channel",
"value": "38421"
}
],
"redirections": {
"redirect_default": "https://www.turbolink.ai/",
"redirect_android": "https://play.google.com/store/apps/details?id=com.branchcn.www",
"redirect_ios": "https://apps.apple.com/cn/app/"
},
"link_code": "¥1lMxt2E9Xd¥"
}
]
}
参数说明:
参数 | 类型 | 说明 |
---|---|---|
code | int32 | 操作结果代码, 200 - 成功 |
msg | string | code 非 200 时为错误信息 |
data | array(object) | 链接数据 |
data.link_id | string | 深度链接 ID |
data.project_id | string | 项目 ID |
data.title | string | 链接标题 |
data.tag_name | array(string) | 链接标签 |
data.link_data | array(object) | 深度链接自定义键值对 |
data.link_data.key | string | 自定义参数键 |
data.link_data.value | string | 自定义参数值 |
data.redirections | obj | 跳转配置 |
data.redirections.redirect_default | string | 默认跳转,PC 端跳到这 |
data.redirections.redirect_android | string | Android 跳转 |
data.redirections.redirect_android | string | iOS 跳转 |
link_code | string | 口令code |