获取群标签
<h5>简要描述</h5>
<ul>
<li>客户群列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://oapi-yzj.miaokol.com/room/tagList</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>请求参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">app_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">APP ID</td>
</tr>
<tr>
<td style="text-align: left;">access_token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">Access Token</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>GET /room/tagList?app_id=xxx&amp;access_token=xxxx HTTP/1.1
Host:oapi-yzj.miaokol.com
Content-Type: application/x-www-form-urlencoded
</code></pre>
<h5>响应示例</h5>
<pre><code>HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
{
&quot;data&quot;:[
{
&quot;id&quot;:&quot;9883&quot;,
&quot;name&quot;:&quot;节日活动&quot;,
&quot;tags&quot;:[
{
&quot;id&quot;:&quot;9884&quot;,
&quot;name&quot;:&quot;圣诞节&quot;,
&quot;number&quot;:&quot;28&quot;
},
{
&quot;id&quot;:&quot;9885&quot;,
&quot;name&quot;:&quot;元旦&quot;,
&quot;number&quot;:&quot;9&quot;
}
]
},
{
&quot;id&quot;:&quot;9886&quot;,
&quot;name&quot;:&quot;颜色&quot;,
&quot;tags&quot;:[
{
&quot;id&quot;:&quot;9887&quot;,
&quot;name&quot;:&quot;红色&quot;,
&quot;number&quot;:&quot;4&quot;
},
{
&quot;id&quot;:&quot;9888&quot;,
&quot;name&quot;:&quot;蓝色&quot;,
&quot;number&quot;:&quot;13&quot;
},
{
&quot;id&quot;:&quot;9889&quot;,
&quot;name&quot;:&quot;绿色&quot;,
&quot;number&quot;:&quot;3&quot;
}
]
},
{
&quot;id&quot;:&quot;9927&quot;,
&quot;name&quot;:&quot;大城市&quot;,
&quot;tags&quot;:[
{
&quot;id&quot;:&quot;9928&quot;,
&quot;name&quot;:&quot;杭州&quot;,
&quot;number&quot;:&quot;4&quot;
},
{
&quot;id&quot;:&quot;9929&quot;,
&quot;name&quot;:&quot;成都&quot;,
&quot;number&quot;:&quot;2&quot;
},
{
&quot;id&quot;:&quot;9930&quot;,
&quot;name&quot;:&quot;重庆&quot;,
&quot;number&quot;:&quot;11&quot;
},
{
&quot;id&quot;:&quot;9957&quot;,
&quot;name&quot;:&quot;上海&quot;,
&quot;number&quot;:&quot;0&quot;
},
{
&quot;id&quot;:&quot;9958&quot;,
&quot;name&quot;:&quot;北京&quot;,
&quot;number&quot;:&quot;0&quot;
}
]
}
],
&quot;errcode&quot;:0
}
</code></pre>
<h5>响应说明</h5>
<ul>
<li>data类型为数组,数组项格式说明如下</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">user_id</td>
<td style="text-align: left;">int</td>
<td>用户id</td>
</tr>
<tr>
<td style="text-align: left;">data[0].id</td>
<td style="text-align: left;">string</td>
<td>标签分组id</td>
</tr>
<tr>
<td style="text-align: left;">data[0].name</td>
<td style="text-align: left;">string</td>
<td>标签分组名称</td>
</tr>
<tr>
<td style="text-align: left;">data[0].tags</td>
<td style="text-align: left;">array</td>
<td>标签分组下的标签条目</td>
</tr>
<tr>
<td style="text-align: left;">data[0].tags[0].id</td>
<td style="text-align: left;">string</td>
<td>标签id</td>
</tr>
<tr>
<td style="text-align: left;">data[0].tags[0].name</td>
<td style="text-align: left;">string</td>
<td>标签名称</td>
</tr>
<tr>
<td style="text-align: left;">data[0].tags[0].number</td>
<td style="text-align: left;">string</td>
<td>打了该标签的群数量</td>
</tr>
</tbody>
</table>