开发手册深度链接API V2批量获取深度链接信息

接口说明

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

调用方式

对接口传参

参数解释

请求包体:

{
    "project_id": "X5c6Zz8CeUcwim82YXtsh9",
    "links": [
        "https://test.allapp.link/clbioserdj7hrcrklhvg",
        "https://test.allapp.link/cla2i36rdj7itaoqli60"
    ]
}

参数说明:

参数必须类型说明
project_idstring应用 ID
linksArray(String)要查询的深度链接数据,支持全URL和link_id

返回结果

{
    "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