获取配置发布历史
GET
/config/v1/configfiles/releasehistory
最后修改时间:2024-08-21 04:18:45
责任人:未设置
请求参数
Query 参数
namespace
string
命名空间
group
string
配置分组名称
name
string
配置文件名称
limit
integer
可选
offset
integer
可选
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/configfiles/releasehistory?namespace=&group=&name=&limit=&offset=' \
--header 'X-Polaris-Token;'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
info
string
提示信息
total
integer
总数
configFileReleaseHistories
array[object (配置发布历史) {14}]
配置分组列表
id
integer
主键
namespace
string
命名空间
group
string
配置分组
file_name
string
文件名称
name
string
发布名称
comment
string
描述
content
string
配置文件内容
format
string
文件内容格式
md5
string
文件内容MD5
status
string
发布状态
tags
array [object {2}]
标签
type
string
发布类型
create_time
string
创建时间
modify_time
string
更新时间
示例
{
"code": 0,
"info": "string",
"total": 0,
"configFileReleaseHistories": [
{
"id": 0,
"namespace": "string",
"group": "string",
"file_name": "string",
"name": "string",
"comment": "string",
"content": "string",
"format": "string",
"md5": "string",
"status": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"type": "string",
"create_time": "string",
"modify_time": "string"
}
]
}
修改于 2024-08-21 04:18:45