查看现有深层链接URL的状态

时间:2016-05-18 14:28:33

标签: branch.io

我需要从C#后端生成一个链接,我正在使用Rest API。

这适用于here提供的示例,当我使用自己的branch_key时,它会创建一个链接。

curl -X POST \
\
-H "Content-Type: application/json" \
\
-d '{"branch_key":"key_live_feebgAAhbH9Tv85H5wLQhpdaefiZv5Dv", "campaign":"new_product_annoucement", "channel":"email", "tags":["monday", "test123"], "data":"{\"name\": \"Alex\", \"email\": \"alex@branch.io\", \"user_id\": \"12346\", \"$deeplink_path\": \"article/jan/123\", \"$desktop_url\": \"https://branch.io\"}"}' \
\
https://api.branch.io/v1/url

然后我想查看深层链接网址的状态。

然后我使用以下内容 - 它适用于所提供的示例,但不适用于具有正确广告系列和频道的我们自己的branch_key。

GET https://api.branch.io/v1/url?url=https%3A%2F%2Fbnc.lt%2Fm%2F7IhbRIjjmp&branch_key=key_live_lceUuShIL0u4VHJv8BwEQmaitBfAXqCZ

我确实用%3A和%2F更改了“:”,“//”。

分支键如果是实时和测试,对吧?

返回:

{
  "error": {
    "code": 404,
    "message": "The resource you were looking for could not be found."
  }
}

现场或测试 你知道为什么吗? 提前致谢

0 个答案:

没有答案
相关问题