查询配置上一版本信息
GET
/nacos/v1/cs/history/previous
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://127.0.0.1:8848/nacos/v1/cs/history/previous?id=309135486247505920&dataId={{dataId}}&group={{group}}'
Response Response 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"
}
Request
Query Params
id
string
required
Example:
309135486247505920
tenant
string
optional
dataId
string
required
Example:
{{dataId}}
group
string
required
Example:
{{group}}