全部用户信息
<p>[TOC]</p>
<h3>功能介绍:</h3>
<ul>
<li>获取全部用户信息</li>
</ul>
<h3>接口约束:</h3>
<ul>
<li>无</li>
</ul>
<h3>URI:</h3>
<p><code>GET {{baseUrl}}/auth/authentication/user/users</code> </p>
<h3>请求消息:</h3>
<p><strong>请求头</strong>
请求头如表1所示。
表1 请求参数:</p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">sobeycloud-token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户token</td>
</tr>
<tr>
<td style="text-align: left;">sobeycloud-site</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>用户站点(签名方式必填)</td>
</tr>
</tbody>
</table>
<p><strong>请求参数</strong>
请求参数如表2所示。</p>
<p>表2 请求参数:</p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">--</td>
<td style="text-align: left;">--</td>
<td style="text-align: left;">--</td>
<td>--</td>
</tr>
</tbody>
</table>
<h3>请求示例:</h3>
<pre><code>GET /auth/authentication/user/users
sobeycloud-site: S1
sobeycloud-token: SjUAxwMUwkpuY+CNt1daEMoVAVE= </code></pre>
<hr />
<h3>响应消息:</h3>
<p><strong>响应参数:</strong> </p>
<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;">--</td>
<td style="text-align: left;">--</td>
<td>--</td>
</tr>
</tbody>
</table>
<h3>响应示例:</h3>
<p><strong>响应成功示例</strong> </p>
<pre><code>{
"code": "0",
"msg": "success",
"ext": [
{
"avatarurl": null,
"createtime": "2019-06-03 04:05:22",
"disabled": 0,
"email": null,
"extendattributs": null,
"groups": null,
"id": 1,
"link": null,
"loginname": "admin",
"nickname": "admin",
"oldpassword": null,
"operate": 0,
"organizations": null,
"parentid": null,
"password": null,
"permissions": null,
"phone": null,
"pwdchangetime": "2019-06-03 04:05:22",
"roles": null,
"s3accesskeyid": null,
"s3secretkey": null,
"sitecode": "S1",
"sitename": null,
"sitetype": 0,
"storagesize": null,
"storageusage": null,
"storagewarningpct": null,
"templates": null,
"type": 1,
"usercode": "admin",
"usertoken": null,
"funcPermission": null
},
{
"avatarurl": null,
"createtime": "2021-08-19 08:49:32",
"disabled": 0,
"email": null,
"extendattributs": null,
"groups": null,
"id": 5,
"link": null,
"loginname": "xy4",
"nickname": null,
"oldpassword": null,
"operate": 0,
"organizations": null,
"parentid": null,
"password": null,
"permissions": null,
"phone": null,
"pwdchangetime": "2021-08-19 08:49:32",
"roles": null,
"s3accesskeyid": null,
"s3secretkey": null,
"sitecode": "S1",
"sitename": null,
"sitetype": 0,
"storagesize": null,
"storageusage": null,
"storagewarningpct": null,
"templates": null,
"type": 0,
"usercode": "c69e0000414b4732a64129f218682afc",
"usertoken": null,
"funcPermission": null
}
]
}</code></pre>
<p><strong>响应失败示例</strong> </p>
<pre><code> {
"code": "Auth.0014",
"msg": "系统内部错误"
}</code></pre>
<hr />
<h3>错误码</h3>
<p>参考 <a href="https://www.showdoc.com.cn/mbhauth/7655637558569867" title="错误码说明">错误码说明</a></p>
<h3>状态码</h3>
<p>参考 <a href="https://www.showdoc.com.cn/mbhauth/7655637558569867" title="状态码说明">状态码说明</a></p>