获取配置分组列表
GET
/config/v1/configfilegroups
最后修改时间:2024-08-21 04:18:42
责任人:未设置
请求参数
Query 参数
namespace
string
命名空间
name
string
分组名称
business
string
业务信息
department
string
部门信息
offset
integer
必需
limit
integer
必需
order_type
string
可选
order_field
string
可选
Header 参数
X-Polaris-Token
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://119.91.66.223:8090/config/v1/configfilegroups?namespace=&name=&business=&department=&offset=&limit=&order_type=&order_field=' \
--header 'X-Polaris-Token;'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
info
string
提示信息
total
integer
总数
configFileGroups
array[object (配置分组-Read) {15}]
配置分组列表
id
integer
主键
name
string
配置分组名称
namespace
string
命名空间
comment
string
描述
business
string
业务信息
department
string
部门信息
metadata
object
配置分组标签
类型是一个 map<string, string>
createTime
string
创建时间
modifyTime
string
更新时间
fileCount
integer
该分组下的文件总数
user_ids
array[string]
追加可编辑该命名空间的用户ID列表
group_ids
array[string]
追加可编辑该命名空间的用户组ID列表
remove_user_ids
array[string]
移除可编辑该命名空间的用户ID列表
remove_group_ids
array[string]
移除可编辑该命名空间的用户组ID列表
editable
boolean
该分组是否可编辑
示例
{
"code": 0,
"info": "string",
"total": 0,
"configFileGroups": [
{
"id": 0,
"name": "string",
"namespace": "string",
"comment": "string",
"business": "string",
"department": "string",
"metadata": {},
"createTime": "string",
"modifyTime": "string",
"fileCount": 0,
"user_ids": [
"string"
],
"group_ids": [
"string"
],
"remove_user_ids": [
"string"
],
"remove_group_ids": [
"string"
],
"editable": true
}
]
}
修改于 2024-08-21 04:18:42