标签设置

功能说明:通过该接口绑定/解绑/删除标签

请求url:https://cosmos-push-api.immomo.com/push/open/tag/set


http协议与签名校验

body参数:json格式

字段 类型 必传 说明
opType int 1:绑定,0:解绑,2:删除(不需要传targets和pushType)
targets string alias值或token值
pushType string target类型:ALIAS / TOKEN
tags string 标签

body数据示例: {"targets":["11213123","2233434"],"pushType":"ALIAS","opType":1,"tags":["足球 ","篮球"]}


返回值:

{
    "ec":0,
    "em":"操作成功"
}
Copyright © momo 2019 all right reserved,powered by Gitbook修订时间: 2019-12-26 14:34:00

results matching ""

    No results matching ""