You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/05/19 05:54:15 UTC

[GitHub] [iotdb] WhiplashFyx commented on issue #3130: IotDB图形化管理监控界面研发计划

WhiplashFyx commented on issue #3130:
URL: https://github.com/apache/iotdb/issues/3130#issuecomment-843767864


   
   
   <!--StartFragment--><h3 cid="n0" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.5em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.43; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">1.数据库管理</span></h3><figure class="md-table-fig" cid="n4" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(10
 0% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   API | 路径 | 方法
   -- | -- | --
   建立或修改数据库服务器的连接 | /server | POST
   数据库服务器已有连接的删除 | /server/{serverId} | DELETE
   数据库服务器已有连接的查询 | /server/{serverId} | GET
   数据库服务器查询所有已有连接 | /server | GET
   数据库存储组的新增、修改 | /storageGroup | POST
   数据库存储组的删除 | /storageGroup/{groupId} | DELETE
   数据库存储组查询所有 | /storageGroup | GET
   数据库存储组设备查询所有 | /storageGroup/{groupId}/device | GET
   数据库插入记录 | /storageGroup/{groupId}/record | POST
   数据库记录查询 | /storageGroup/{groupId}/record | GET
   数据库时间序列创建、修改 | /timeseries | POST
   数据库时间序列删除 | /timeseries/{timeseriesId} | DELETE
   数据库时间序列查询所有 | /timeseries | GET
   数据库时间序列查询 | /timeseries/{timeseriesId} | GET
   
   </figure><!--EndFragment-->
   
   
   
   <!--StartFragment--><h4 cid="n25" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">建立或修改数据库服务器的连接</span></h4><p cid="n329" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; o
 rphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain md-expand" style="box-sizing: border-box; text-indent: 0px;">:POST /server</span></p><p cid="n332" mdtype="paragraph" class="md-end-block md-p" style=
 "box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n334" mdtype="paragraph" cl
 ass="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span></p><figure class="md-table-fig" cid="n388" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; ov
 erflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   host | String | 主机地址
   port | Integer | 端口号
   username | String | 用户名
   password | String | 密码
   
   </figure><!--EndFragment-->
   
   
   
   <!--StartFragment--><p cid="n327" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><figure class="md-table-fig" cid="n1505
 " mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据,没有数据返回为null
   
   
   
   <!--StartFragment--><h4 cid="n606" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库服务器已有连接的删除</span></h4><p cid="n417" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orp
 hans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:DELETE /server/{serverId}</span></p><p cid="n418" mdtype="paragraph" class="md-end-block md-p" style
 ="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span></p><figure class="md-table-fig" cid="n434" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: c
 alc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   serverId | String | 主机地址作为唯一标识
   
   </figure><p cid="n419" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: borde
 r-box; text-indent: 0px;">无</span></p><p cid="n610" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1551" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><br class="Apple-interchange-newline">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据,没有数据返回为null
   
   </figure><p cid="n1531" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n366" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); 
 font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库服务器已有连接的查询 </span></h4><p cid="n459" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; lette
 r-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:GET /server/{serverId}</span></p><p cid="n460" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; fo
 nt-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n497" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   serverId | String | 主机地址作为唯一标识
   
   </figure><p cid="n461" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: borde
 r-box; text-indent: 0px;">无</span></p><p cid="n1569" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1692" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><br class="Apple-interchange-newline">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | object | 调用后返回的数据
   data.host | String | 主机地址
   data.port | Integer | 端口号
   data.username | String | 用户名
   data.password | String | 密码
   
   </figure><p cid="n343" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n1710" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); 
 font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库服务器查询所有已有连接 </span></h4><p cid="n512" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; le
 tter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:GET /server</span></p><p cid="n513" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-varia
 nt-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n514" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant
 -ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n616" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 
 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1711" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | object | 调用后返回的数据
   data.list | array | 调用成功返回已有连接的服务器
   
   
   
   **data结构**
   
   ```json
   {
   	"list":[
           {
               "host":"127.0.0.1",
               "port":3306,
               "username":"root",
               "password":"root"
           },
           {
               "host":"127.0.0.2",
               "port":3307,
               "username":"root",
               "password":"root"
           }
       ]
   }
   ```
   
   
   
   <!--StartFragment--><h4 cid="n1729" mdtype="heading" class="md-end-block md-heading md-focus" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库存储组的新增、修改</span></h4><p cid="n525" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inher
 it; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:GET /storageGroup</span></p><p cid="n526" mdtype="paragraph" class="md-end-block md-p" style=
 "box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n527" mdtype="paragraph" cl
 ass="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span></p><figure class="md-table-fig" cid="n545" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; ov
 erflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   groupName | String | 存储组名字
   
   </figure><p cid="n368" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1731" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   
   </figure><p cid="n620" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n1749" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); 
 font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库存储组的删除 </span></h4><p cid="n562" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: n
 ormal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:DELETE /storageGroup/{groupId}</span></p><p cid="n563" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-v
 ariant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n583" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   groupId | String | 存储组名字作为唯一标识
   
   </figure><p cid="n564" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: borde
 r-box; text-indent: 0px;">无</span></p><p cid="n1582" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="md-expand" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1751" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   
   </figure><p cid="n557" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n1769" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); 
 font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库存储组查询所有  </span></h4><p cid="n598" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacin
 g: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:GET /storageGroup</span></p><p cid="n599" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-ca
 ps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n600" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-liga
 tures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n1586" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px
 ; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1770" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | object | 调用后返回的数据
   data.list | array | 调用成功后返回的存储组列表
   
   </figure><p cid="n369" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">data结构</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-b
 ox; text-indent: 0px;">:</span></p><!--EndFragment-->
   
   
   
   ```json
   {
   	"list":[
           {
               "groupName":"root.demo1"
           },
           {
              	"groupName":"root.demo2"
           }
       ]
   }
   ```
   
   
   
   #### 数据库存储组设备查询所有
   
   **请求路径**:GET /storageGroup/{groupId}/device
   
   **query参数:**
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n667" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   groupId | String | 存储组名字作为唯一标识
   
   </figure><p cid="n642" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: borde
 r-box; text-indent: 0px;">无</span></p><p cid="n1590" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1790" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | object | 调用后返回的数据
   data.list | array | 调用成功后返回的指定存储组的设备列表
   
   </figure><p cid="n370" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">data结构</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-b
 ox; text-indent: 0px;">:</span></p><!--EndFragment-->
   
   
   
   
   ```json
   {
   	"list":[
           {
               "device":"root.demo1.dev1"
           },
           {
              	"device":"root.demo1.dev2"
           }
       ]
   }
   ```
   
   
   
   #### 数据库插入记录
   
   **请求路径**:POST  /storageGroup/{groupId}/record
   
   **query参数:*
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n711" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   groupId | String | 存储组名字作为唯一标识
   
   </figure><p cid="n686" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="md-expand" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n724" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   deviceId | String | 设备名
   time | Long | 时间
   measurements | List&lt;String&gt; | 执行的传感器集合
   types | List&lt;String&gt; | 对应支持的数据类型;BOOLEAN,INT32,INT64,FLOAT,DOUBLE,TEXT;
   values | list&lt;String&gt; | 对应的值
   
   </figure><p cid="n688" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1812" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   
   </figure><p cid="n1594" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n372" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); 
 font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库记录查询  </span></h4><p cid="n781" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal
 ; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:GET /storageGroup/{groupId}/record</span></p><p cid="n782" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-va
 riant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n805" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   groupId | String | 存储组名字作为唯一标识
   
   </figure><p cid="n783" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: borde
 r-box; text-indent: 0px;">无</span></p><p cid="n1597" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1831" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | object | 调用后返回的数据
   data.list | array | 调用成功后返回的记录列表
   
   </figure><p cid="n373" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">data结构</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-b
 ox; text-indent: 0px;">:</span></p><!--EndFragment-->
   
   
   
   ```json
   {
   	"list":[
           {
               "time":"2021-05-17T15:21:47.873+08:00",
               "value":"test1"
           },
           {
               "time":"2021-05-17T15:22:47.873+08:00",
              	"value":"test2"
           }
       ]
   }
   ```
   
   
   
   ####  数据库时间序列创建、修改   
   
   **请求路径**:POST   /timeseries
   
   **query参数:**无
   
   **body参数:**
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n858" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   path | String | 传感器路径
   dataType | String | 数据类型;BOOLEAN,INT32,INT64,FLOAT,DOUBLE,TEXT;
   encoding | String | 编码方式;PLAIN,PLAIN_DICTIONARY,RLE,DIFF,TS_2DIFF,BITMAP,GORILLA,REGULAR;
   compressionType | String | 压缩方式;UNCOMPRESSED,SNAPPY,GZIP,LZO,SDT,PAA,PLA;
   
   </figure><p cid="n834" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1850" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   
   </figure><p cid="n374" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n1868" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); 
 font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库时间序列删除  </span></h4><p cid="n899" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 
 normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:DELETE   /timeseries/{timeseriesId}</span></p><p cid="n900" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; 
 font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n925" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   timeseriesId | String | 时间序列名字作为唯一标识
   
   </figure><p cid="n901" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: borde
 r-box; text-indent: 0px;">无</span></p><p cid="n1604" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1869" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   
   </figure><p cid="n375" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n1887" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); 
 font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库时间序列查询所有  </span></h4><p cid="n940" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spa
 cing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:GET   /timeseries</span></p><p cid="n941" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant
 -caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n942" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-l
 igatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n1608" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font
 -style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1891" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | Object | 调用后返回的数据
   data.list | array | 调用成功后返回的时间序列列表
   
   </figure><p cid="n947" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">data结构</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-b
 ox; text-indent: 0px;">:</span></p><!--EndFragment-->
   
   
   
   ```json
   {
   	"list":[
           {
               "timeseries":"root.demo1.dev1.status",
               "storageGroup":"root.demo1",
               "dataType":"TEXT",
               "encoding":"PLAIN",
               "compression":"SNAPPY"
           },
           {
               "timeseries":"root.demo1.dev1.temp",
               "storageGroup":"root.demo1",
               "dataType":"TEXT",
               "encoding":"PLAIN",
               "compression":"SNAPPY"
           }
       ]
   }
   ```
   
   
   
   #### 数据库时间序列查询  
   
   **请求路径**:GET   /timeseries/{timeseriesId}
   
   **query参数:**
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n978" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   timeseriesId | String | 时间序列名字作为唯一标识
   
   </figure><p cid="n961" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: borde
 r-box; text-indent: 0px;">无</span></p><p cid="n1612" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="md-expand" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFrag
 ment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1909" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | Object | 调用后返回的数据
   data.list | Array | 调用成功后返回的指定时间序列的数据列表
   
   </figure><p cid="n952" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">data结构</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing:
  border-box; text-indent: 0px;">:</span></p><!--EndFragment-->
   
   
   
   ```json
   {
   	"list":[
           {
               "timeseries":"root.demo1.dev1.status",
               "storageGroup":"root.demo1",
               "dataType":"TEXT",
               "encoding":"PLAIN",
               "compression":"SNAPPY"
           }
       ]
   }
   ```
   
   
   
   <!--StartFragment--><h3 cid="n326" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.5em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.43; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">2.数据库账号管理</span></h3><figure class="md-table-fig" cid="n100" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-widt
 h: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   API | 路径 | 方法
   -- | -- | --
   数据库用户创建 | /user | POST
   数据库用户删除 | /user/{userId} | DELETE
   数据库角色创建 | /role | POST
   数据库角色删除 | /role/{roleId} | DELETE
   数据库用户查询所有 | /user | GET
   数据库角色查询所有 | /role | GET
   数据库用户权限查询所有 | /user/privileges/{userId} | GET
   数据库角色权限查询所有 | /role/privileges/{roleId} | GET
   
   </figure><h4 cid="n1066" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库用户创建   </span></h4><p cid="n1107" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0
 px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:  POST   /user</span></p><p cid="n1108" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-hei
 ght: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n1109" mdtype="paragraph" class="md-end-block md-p md-focus"
  style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1221" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><br class="Apple-interchange-newline">
   参数名 | 类型 | 说明
   -- | -- | --
   username | String | 用户名;长度不小于4,不包含空格
   password | String | 密码;长度不小于4,不包含空格
   privileges | List&lt;String&gt; | 赋予用户的权限集合
   
   </figure><p cid="n1618" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain md-expand" style="box-sizing: border-box; text-indent: 0px;">权限表路径:</span></p><p cid="n1235" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em
 ; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="url" class="md-link" spellcheck="false" style="box-sizing: border-box; word-break: break-all; text-indent: 0px;"><a href="https://iotdb.apache.org/zh/UserGuide/V0.12.x/Administration-Management/Administration.html" style="box-sizing: border-box; cursor: pointer; color: rgb(65, 131, 196); -webkit-user-drag: none; text-indent: 0px;">https://iotdb.apache.org/zh/UserGuide/V0.12.x/Administration-Management/Administration.html</a></span></p><p cid="n1620" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: bor
 der-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1927" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><br class="Apple-interchange-newline">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   
   </figure><p cid="n1094" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n1945" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51);
  font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库用户删除 </span></h4><p cid="n1115" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: norma
 l; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:DELETE   /user/{userId}</span></p><p cid="n1116" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-va
 riant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1343" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   userId | String | 用户名字作为唯一标识
   
   </figure><p cid="n1117" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: bord
 er-box; text-indent: 0px;">无</span></p><p cid="n1624" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1946" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   
   </figure><p cid="n1095" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n1964" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51);
  font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库角色创建    </span></h4><p cid="n1123" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: no
 rmal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">: POST  /role</span></p><p cid="n1124" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: norma
 l; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n1125" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: n
 ormal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1381" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   rolename | String | 用户名;长度不小于4,不包含空格
   privileges | List&lt;String&gt; | 赋予用户的权限集合
   
   </figure><p cid="n1127" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="md-expand" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1965" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   
   </figure><p cid="n1096" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n1983" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51);
  font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库角色删除</span></h4><p cid="n1131" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal
 ; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:DELETE   /role/{roleId}</span></p><p cid="n1132" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-var
 iant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1425" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   roleId | String | 角色名字作为唯一标识
   
   </figure><p cid="n1133" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: bord
 er-box; text-indent: 0px;">无</span></p><p cid="n1418" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1984" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   
   </figure><p cid="n1097" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"></p><h4 cid="n2002" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51);
  font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库用户查询所有</span></h4><p cid="n1146" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 
 normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:GET   /user</span></p><p cid="n1147" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: norm
 al; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n1148" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: 
 normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n1633" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: no
 rmal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n2003" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | Object | 调用后返回的数据
   data.list | Array | 调用成功后返回的用户列表
   
   </figure><p cid="n1098" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">data结构</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-
 box; text-indent: 0px;">:</span></p><!--EndFragment-->
   
   
   
   ```json
   {
   	"list":[
           {
               "user":"root"
           },
           {
               "user":"user1"
           }
       ]
   }
   ```
   
   
   
   #### 数据库角色查询所有
   
   **请求路径**:GET   /role
   
   **query参数:**无
   
   **body参数:**无
   
   **返回参数:**
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n2022" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | - | 调用后返回的数据
   data.list | Array | 调用成功后返回的角色列表
   
   </figure><p cid="n1099" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">data结构</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-
 box; text-indent: 0px;">:</span></p><!--EndFragment-->
   
   ```json
   {
   	"list":[
           {
               "role":"role1"
           },
           {
               "role":"role2"
           }
       ]
   }
   ```
   
   
   
   #### 数据库用户权限查询
   
   **请求路径**:GET   /user/privileges/{userId}/{path}
   
   **query参数:**
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1459" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   userId | String | 用户名字作为唯一标识
   path | String | 指定路径,用于查询用户在此路径下的权限
   
   </figure><p cid="n1166" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: bord
 er-box; text-indent: 0px;">无</span></p><p cid="n1645" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n2060" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | Object | 调用后返回的数据
   data.list | Array | 调用成功后返回的指定路径下用户的权限
   
   </figure><p cid="n2078" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">data结构</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-
 box; text-indent: 0px;">:</span></p><!--EndFragment-->
   
   
   
   ```json
   {
   	"list":[
           {
               "role":null,
               "privilege":"root.demo1: CREATE_TIMESERIES DELETE_TIMESERIES"
           },
           {
               "role":"role1",
               "privilege":"root.demo1: UPDATE_TIMESERIES"
           }
       ]
   }
   ```
   
   
   
   #### 所有数据库角色权限查询所有
   
   **请求路径**:GET   /role/privileges/{roleId}/{path}
   
   **query参数:**
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1473" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   roleId | String | 角色名字作为唯一标识
   path | String | 指定路径,用于查询角色在此路径下的权限
   
   </figure><p cid="n1172" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: bord
 er-box; text-indent: 0px;">无</span></p><p cid="n1650" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n2079" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><br class="Apple-interchange-newline">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | Object | 调用后返回的数据
   data.list | Array | 调用成功后返回的指定路径下角色的权限
   
   </figure><p cid="n1038" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">data结构</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-
 box; text-indent: 0px;">:</span></p><!--EndFragment-->
   
   
   
   ```json
   {
   	"list":[
           {
               "privilege":"root.demo1: UPDATE_TIMESERIES"
           }
       ]
   }
   ```
   
   
   
   <!--StartFragment--><h3 cid="n2097" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.5em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.43; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">3.数据查询管理</span></h3><figure class="md-table-fig" cid="n174" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width:
  calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   API | 路径 | 方法
   -- | -- | --
   数据库查询编辑器 | /query | POST
   
   </figure><h4 cid="n1006" mdtype="heading" class="md-end-block md-heading" style="box-sizing: border-box; break-after: avoid-page; break-inside: avoid; orphans: 2; font-size: 1.25em; margin-top: 1rem; margin-bottom: 1rem; position: relative; font-weight: bold; line-height: 1.4; cursor: text; white-space: pre-wrap; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">数据库查询编辑器</span></h4><p cid="n999" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0p
 x; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">请求路径</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">:GET   /query</span></p><p cid="n994" mdtype="paragraph" class="md-end-block md-p" style="box-sizing: border-box; line-height:
  inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">query参数:</span></strong></span><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">无</span></p><p cid="n995" mdtype="paragraph" class="md-end-block md-p md-focus" styl
 e="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">body参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n1027" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 说明
   -- | -- | --
   query | String | 查询语句
   
   </figure><p cid="n1653" mdtype="paragraph" class="md-end-block md-p md-focus" style="box-sizing: border-box; line-height: inherit; orphans: 4; margin: 0.8em 0px; white-space: pre-wrap; position: relative; text-indent: 2em; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span md-inline="strong" class="" style="box-sizing: border-box; text-indent: 0px;"><strong style="box-sizing: border-box; text-indent: 0px;"><span md-inline="plain" class="md-plain" style="box-sizing: border-box; text-indent: 0px;">返回参数:</span></strong></span></p><!--EndFragment-->
   
   
   
   <!--StartFragment--><figure class="md-table-fig" cid="n2099" mdtype="table" style="box-sizing: border-box; margin: 1.2em 0px; overflow-x: auto; max-width: calc(100% + 16px); padding: 0px; cursor: default; color: rgb(51, 51, 51); font-family: &quot;Open Sans&quot;, &quot;Clear Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
   参数名 | 类型 | 描述
   -- | -- | --
   code | String | 调用后返回的状态码;成功为0,失败为-1或已定义的错误码
   msg | String | 调用后返回的状态信息
   data | Object | 调用后返回的数据,根据查询返回对应的实体数据
   
   </figure><br class="Apple-interchange-newline"><!--EndFragment-->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org