文章标签
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户注册接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://creationapi.shbwyz.com/api/tag?articleStatus=publish</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">username</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户名</td>
</tr>
<tr>
<td style="text-align: left;">password</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>密码</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>昵称</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"statusCode": 200,
"msg": null,
"success": true,
"data": [
{
"id": "8934f86f-9a71-472f-a0b4-650124891a8d",
"label": "Git",
"value": "git",
"createAt": "2022-01-06T08:26:46.146Z",
"updateAt": "2022-01-06T08:28:46.000Z",
"articleCount": 1
},
{
"id": "a035df43-309e-4ec4-8784-96b9a6f5fe03",
"label": "Docker",
"value": "docker",
"createAt": "2022-01-06T08:27:12.686Z",
"updateAt": "2022-01-06T08:28:41.000Z",
"articleCount": 1
},
{
"id": "f319b231-3cbd-4ef9-b583-d4b84d14cdd4",
"label": "阅读",
"value": "reading",
"createAt": "2022-01-06T08:27:35.353Z",
"updateAt": "2022-01-06T08:28:52.000Z",
"articleCount": 1
},
{
"id": "0d1c89db-a945-4472-a04b-9b6b5bec02e7",
"label": "nginx",
"value": "nginx",
"createAt": "2022-01-06T08:27:54.336Z",
"updateAt": "2022-01-06T08:28:57.000Z",
"articleCount": 0
},
{
"id": "85f9a1b0-20cf-4a12-8440-a50fcc935e14",
"label": "JS",
"value": "js",
"createAt": "2022-01-06T08:29:21.772Z",
"updateAt": "2022-01-06T08:29:21.772Z",
"articleCount": 1
},
{
"id": "3e5ad4c9-74e9-4b2b-9489-f3f06ecc7e7e",
"label": "TS",
"value": "ts",
"createAt": "2022-01-06T08:29:31.956Z",
"updateAt": "2022-01-06T08:29:31.956Z",
"articleCount": 0
},
{
"id": "e2770db7-4614-4a08-a048-a32364dd8e54",
"label": "bash",
"value": "bash",
"createAt": "2022-01-06T08:29:48.006Z",
"updateAt": "2022-01-06T08:29:48.006Z",
"articleCount": 2
},
{
"id": "e3b4d021-fdb4-4445-92a6-af89dc7fa201",
"label": "CSS",
"value": "css",
"createAt": "2022-01-06T08:29:55.914Z",
"updateAt": "2022-01-06T08:29:55.914Z",
"articleCount": 0
},
{
"id": "b892adb9-4dab-4b84-9f47-7c5de5e65a33",
"label": "LeetCode",
"value": "leetcode",
"createAt": "2022-01-06T08:30:07.131Z",
"updateAt": "2022-01-06T08:30:07.131Z",
"articleCount": 1
}
]
}</code></pre>
<h5>返回参数说明</h5>
<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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>