查询历史版本详情
GET
/nacos/v1/cs/history查询配置项历史版本详情
Request
Query Params
nid
string
required
配置项历史版本ID
Example:
203
tenant
string
optional
租户信息,对应 Naocs 的命名空间ID字段 (2.0.3起)
dataId
string
required
租户信息,对应 Naocs 的命名空间ID字段 (2.0.3起)
Example:
{{dataId}}
group
string
required
配置分组 (2.0.3起)
Example:
{{group}}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string
required
lastId
integer
required
dataId
string
required
group
string
required
tenant
string
required
appName
string
required
md5
string
required
content
string
required
srcIp
string
required
srcUser
null
required
opType
string
required
createdTime
string
required
lastModifiedTime
string
required
Example
{
"id": "203",
"lastId": -1,
"dataId": "nacos.example",
"group": "com.alibaba.nacos",
"tenant": "",
"appName": "",
"md5": "9f67e6977b100e00cab385a75597db58",
"content": "contentTest",
"srcIp": "0:0:0:0:0:0:0:1",
"srcUser": null,
"opType": "I ",
"createdTime": "2010-05-04T16:00:00.000+0000",
"lastModifiedTime": "2020-12-05T01:48:03.380+0000"
}
Last modified: 2 年前