1. alias绑定标签

api

国内app:https://paas-push-api.immomo.com/push/open/tag/regAliasTag

海外app:https://paas-push-api-hw.immomo.com/push/open/tag/regAliasTag

http方法:post
请求方式 : x-www-form-urlencoded 或 form-data
参数
字段 备注 必传 类型 默认值
timestamp 当前时间戳,例:1522222222 int
sign 签名,生成算法 md5(appid + appkey + timestamp) string
appId string
target 93241506 string
tag 标签 string
返回结果
{
"ec": 0,
"em": "success"
}
详细状态码
码值 含义
0 成功
406 参数不正确
407 服务器内部错误
408 sign校验失败

2. token绑定标签

api

国内app:https://paas-push-api.immomo.com/push/open/tag/regTokenTag

海外app:https://paas-push-api-hw.immomo.com/push/open/tag/regTokenTag

参数
字段 备注 必传 类型 默认值
timestamp 当前时间戳,例:1522222222 int
sign 签名,生成算法 md5(appid + appkey + timestamp) string
appId string
target 93241506 string
tag 标签 string
返回结果
{
"ec": 0,
"em": "success"
}
详细状态码
码值 含义
0 成功
406 参数不正确
407 服务器内部错误
408 sign校验失败

3. alias解绑标签

api

国内app:https://paas-push-api.immomo.com/push/open/tag/unregAliasTag

海外app:https://paas-push-api-hw.immomo.com/push/open/tag/unregAliasTag

参数
字段 备注 必传 类型 默认值
timestamp 当前时间戳,例:1522222222 int
sign 签名,生成算法 md5(appid + appkey + timestamp) string
appId string
target 93241506, string
tag 标签, 如果值为SYS-REMOVE-ALLTAG则删除所有该用户所有标签 string
返回结果
{
"ec": 0,
"em": "success"
}
详细状态码
码值 含义
0 成功
406 参数不正确
407 服务器内部错误
408 sign校验失败

4. token解绑标签

api

国内app:https://paas-push-api.immomo.com/push/open/tag/unregTokenTag

海外app:https://paas-push-api-hw.immomo.com/push/open/tag/unregTokenTag

参数
字段 备注 必传 类型 默认值
timestamp 当前时间戳,例:1522222222 int
sign 签名,生成算法 md5(appid + appkey + timestamp) string
appId string
target 93241506 string
tag 标签, 如果值为SYS-REMOVE-ALLTAG则删除该用户所有标签 string
返回结果
{
"ec": 0,
"em": "success"
}
详细状态码
码值 含义
0 成功
406 参数不正确
407 服务器内部错误
408 sign校验失败

5. 删除标签

api

国内app:https://paas-push-api.immomo.com/push/open/tag/delTag

海外app:https://paas-push-api-hw.immomo.com/push/open/tag/delTag

参数
字段 备注 必传 类型 默认值
timestamp 当前时间戳,例:1522222222 int
sign 签名,生成算法 md5(appid + appkey + timestamp) string
appId string
tag 标签, string
返回结果
{
"ec": 0,
"em": "success"
}
详细状态码
码值 含义
0 成功
406 参数不正确
407 服务器内部错误
408 sign校验失败

Copyright © momo 2019 all right reserved,powered by Gitbook修订时间: 2019-12-25 15:06:30

results matching ""

    No results matching ""