Mengkueri riwayat konfigurasi Instans Pusat Registrasi Nacos.
Deskripsi operasi
The current OpenAPI is not the Nacos-SDK API. For information about the Nacos-SDK API, see official documentation.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ListNacosHistoryConfigs |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RequestPars |
string |
No |
Parameter permintaan yang diperluas dalam format JSON. |
{\"appGroup\":\"aliyun-phecda-service-staging\",\"appName\":\"aliyun-phecda-service\",\"appStage\":\"DAILY\",\"appUnit\":\"center\",\"bucId\":\"250858\",\"bucName\":\"阿里云\",\"provider\":\"aliyun\"} |
| PageNum |
integer |
Yes |
Nomor halaman. |
1 |
| PageSize |
integer |
Yes |
Jumlah entri per halaman. |
10 |
| InstanceId |
string |
Yes |
ID Instans. |
mse-cn-2r42e3bk20n |
| RegionId |
string |
No |
Wilayah tempat Kluster berada. MSE mendukung Wilayah tertentu. |
cn-hangzhou |
| DataId |
string |
No |
ID data. |
user-prod.yaml |
| Group |
string |
No |
Nama kelompok konfigurasi. |
fc-dev-cluster-1 |
| NamespaceId |
string |
No |
ID namespace. Nilai default: public. |
fc0f6e40-****-946b-45e3af313707 |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| HttpCode |
string |
The HTTP status code. |
200 |
| TotalCount |
integer |
The total number of entries returned. |
7 |
| RequestId |
string |
The request ID. |
53338ECA-F880-54D8-A9B3-5606355A1B89 |
| Message |
string |
The message that is returned for the request. |
请求处理成功 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| PageNumber |
integer |
The page number. |
1 |
| ErrorCode |
string |
The error code. |
mse-100-000 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| HistoryItems |
array<object> |
The configuration items. |
|
|
object |
|||
| AppName |
string |
The tags of the application. |
gateway |
| DataId |
string |
The ID of the data. |
test.yaml |
| Group |
string |
The name of the group. |
default |
| LastModifiedTime |
integer |
The timestamp when the configuration was last modified. |
1643440066000 |
| Id |
integer |
The configuration ID. |
23fdsf |
| OpType |
string |
The format of the configuration file. |
yaml |
| SrcUser |
string |
The user who modified this version |
test |
Contoh
Respons sukses
JSONformat
{
"HttpCode": "200",
"TotalCount": 7,
"RequestId": "53338ECA-F880-54D8-A9B3-5606355A1B89",
"Message": "请求处理成功",
"PageSize": 10,
"PageNumber": 1,
"ErrorCode": "mse-100-000",
"Success": true,
"HistoryItems": [
{
"AppName": "gateway",
"DataId": "test.yaml",
"Group": "default",
"LastModifiedTime": 1643440066000,
"Id": 0,
"OpType": "yaml",
"SrcUser": "test"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.