# 获取群标签列表

请求方式:POST

请求地址:https://$basehost/gateway/eaopen/GetGroupTagList

body参数

{
  "offset": 0,
  "limit": 1
}
字段 类型 必填 说明
offset int 每次获取的的开始位置,最小值为0
limit int 每次获取的条数,取值范围(1~100)

返回值:

{
    "data": {
        "item_list": [
            {
                "name": "test1",
                "tag_id": "e8e652b865024f16a8638ac5df6c214b"
            },
            {
                "name": "hhhhh",
                "tag_id": "c5d4b440ac4a4a04a9629a568d41aae6"
            }
        ],
        "has_more": true
    },
    "errcode": 0,
    "errmsg": "",
    "hint": ""
}

返回说明

字段 类型 说明
errcode int 状态码,0为正常,非0代表错误
errmsg string 错误信息
data json json返回值
   has_more bool 是否还有下一页
   item_list array 群标签信息数组
     name string 标签名称
     tag_id string 标签Id
hint string 请求日志ID

完整请求示例:

curl -X POST https://$basehost/gateway/qopen/GetGroupTagList \
     -H 'Content-Type: application/json; charset=UTF-8' \
     -H 'Token: c2NdxDHKXIJ5j1zrhJeq2eJEHjh9xxx' \
     -d '{
        "limit": 10,
        "offset": 0
}'
最后更新时间: 2023/5/24 10:48:59