跳到主要内容

获取深度链接列表(Page)

最后更新:2023/11/09

接口说明

使用 HTTPS 请求头 Authorization: Bearer $AppKey
此 API 需要:AppKey

调用方式

对接口传参

参数解释

请求包体:

{
"project_id": "68qfBEW84TQDRmb3wCPowkdde",
"page": 1,
"page_size": 10
}

参数说明:

参数必须类型说明
project_idstring应用 ID
pagenumber第几页(最小填 1)
page_sizenumber每页数量(不超过 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¥"
}
]
}

参数说明:

参数类型说明
codeint32操作结果代码, 200 - 成功
msgstringcode 非 200 时为错误信息
dataarray(object)链接数据
data.link_idstring深度链接 ID
data.project_idstring项目 ID
data.titlestring链接标题
data.tag_namearray(string)链接标签
data.link_dataarray(object)深度链接自定义键值对
data.link_data.keystring自定义参数键
data.link_data.valuestring自定义参数值
data.redirectionsobj跳转配置
data.redirections.redirect_defaultstring默认跳转,PC 端跳到这
data.redirections.redirect_androidstringAndroid 跳转
data.redirections.redirect_androidstringiOS 跳转
link_codestring口令code