用户自定义分组
(→设置自定义规则分组) |
(→设置自定义规则分组) |
||
第13行: | 第13行: | ||
|- | |- | ||
!width="10%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"|参数 | !width="10%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"|参数 | ||
− | !width=" | + | !width="25%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"|必选 |
− | !width=" | + | !width="25%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"|类型及范围 |
− | !width=" | + | !width="40%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"|说明 |
{{api_args|uid|true|long|用户ID}} | {{api_args|uid|true|long|用户ID}} | ||
{{api_args|name|true|string|分组名}} | {{api_args|name|true|string|分组名}} |
2014年5月8日 (四) 15:39的版本
目录 |
设置自定义规则分组
URL:/messages/custom_rule/create.json HTTP 请求方式:POST 是否需要登录:是 授权限制:频次限制是
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
uid | true | long | 用户ID |
name | true | string | 分组名 |
返回结果:
{ "group": { "id": 123123123123, //分组id "name": "test" //分组名 } }
失败返回:
{ "request": "XXXX/messages/custom_rule/create", "errcode": "1000XX", "errmsg": "error message." }