Menanyakan detail historis perubahan konfigurasi Nacos.
Deskripsi operasi
Operasi ini tidak disediakan di SDK Nacos. Untuk informasi tentang SDK Nacos, lihat dokumentasi resmi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:GetNacosHistoryConfig |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
mse_prepaid_public_cn-st220g9ka02 |
| DataId |
string |
Yes |
ID data. |
msg-center.main.yaml |
| Group |
string |
Yes |
Nama grup. |
DEFAULT_GROUP |
| NamespaceId |
string |
No |
ID namespace. |
6cf708a5-****-89f2-3ba62c5ee9ba |
| Nid |
string |
Yes |
ID versi konfigurasi. |
40**** |
| AcceptLanguage |
string |
No |
Bahasa respons. Nilai yang valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur data. |
||
| Message |
string |
Pesan yang dikembalikan. |
The request was successfully processed. |
| RequestId |
string |
ID permintaan. |
69AD2AA7-DB47-449B-941B-B14409DF**** |
| Configuration |
object |
Informasi konfigurasi. |
|
| AppName |
string |
Nama aplikasi. |
test |
| Md5 |
string |
Nilai MD5 konfigurasi. |
23sdf32f**** |
| DataId |
string |
ID konfigurasi. |
test.yaml |
| Content |
string |
Konten konfigurasi. |
test |
| Group |
string |
Nama grup konfigurasi. |
public |
| OpType |
string |
Jenis konfigurasi. |
text |
| EncryptedDataKey |
string |
Kunci enkripsi. |
23fds**** |
| ErrorCode |
string |
Kode kesalahan yang dikembalikan jika permintaan gagal. |
NoPermission |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"Message": "The request was successfully processed.\n",
"RequestId": "69AD2AA7-DB47-449B-941B-B14409DF****",
"Configuration": {
"AppName": "test",
"Md5": "23sdf32f****",
"DataId": "test.yaml",
"Content": "test",
"Group": "public",
"OpType": "text",
"EncryptedDataKey": "23fds****"
},
"ErrorCode": "NoPermission",
"Success": true
}
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.