All Products
Search
Document Center

ListNacosHistoryConfigs

Last Updated: Jul 01, 2022

Queries the historical details of Nacos configurations.

Operation Description

NoteThe current API operation is not provided in Nacos SDK. For information about Nacos SDK, see the official Nacos documentation.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RequestParsstringNo

The extended request parameters in the JSON format.

{\"appGroup\":\"aliyun-phecda-service-staging\",\"appName\":\"aliyun-phecda-service\",\"appStage\":\"DAILY\",\"appUnit\":\"center\",\"bucId\":\"250858\",\"bucName\":\"Alibaba Cloud\",\"provider\":\"aliyun\"}
PageNumintegerYes

The number of the page to return.

1
PageSizeintegerYes

The number of entries to return on each page.

10
InstanceIdstringYes

The ID of the instance.

mse-cn-2r42e3bk20n
RegionIdstringNo

The ID of the region in which the cluster resides.

cn-hangzhou
DataIdstringNo

The ID of the configuration.

user-prod.yaml
GroupstringNo

The name of the group.

fc-dev-cluster-1
NamespaceIdstringNo

The ID of the namespace.

fc0f6e40-****-946b-45e3af313707
AcceptLanguagestringNo

The language of the response. Valid values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object

The data structure.

HttpCodestring

The HTTP status code returned.

200
TotalCountinteger

The total number of entries returned.

7
RequestIdstring

The ID of the request.

53338ECA-F880-54D8-A9B3-5606355A1B89
Messagestring

The message returned.

The request is processed successfully.
PageSizeinteger

The number of entries returned per page.

10
PageNumberinteger

The page number of the returned page.

1
ErrorCodestring

The error code returned if the request fails.

mse-100-000
Successboolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.
  • false: The request fails.
true
HistoryItemsarray

The information about configurations.

object
AppNamestring

The name of the application.

gateway
DataIdstring

The ID of the configuration.

test.yaml
Groupstring

The name of the group.

default
LastModifiedTimeLong

The timestamp when the configuration was last modified.

16434400
IdLong

The ID of the configuration.

23fdsf
OpTypestring

The type of the configuration.

yaml

Error codes

For a list of error codes, visit the API error center.