Mengambil daftar konfigurasi server keyless untuk sebuah situs.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:ListKeylessServers |
list |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID situs. Anda dapat memanggil operasi ListSites untuk mendapatkan ID situs. |
1234567890123 |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah catatan per halaman. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
CB1A380B-09F0-41BB-280B-72F8FD6DA2FE |
| TotalCount |
integer |
Jumlah total catatan. |
90 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Ukuran halaman. |
20 |
| SiteId |
integer |
ID situs. |
54362329990032 |
| SiteName |
string |
Nama situs. |
example.com |
| Result |
array<object> |
Array hasil. |
|
|
object |
Hasil. |
||
| Id |
string |
ID server keyless. |
babab9db65ee5efcca9f3d41d4b5**** |
| Name |
string |
Nama server keyless. |
example |
| Host |
string |
Hostname server keyless. |
example.com |
| Port |
integer |
Port server keyless. Nilai valid: 1 hingga 65535. |
443 |
| Verify |
boolean |
Apakah akan memverifikasi sertifikat server keyless. Nilai default: false. |
true |
| CaCertificate |
string |
Sertifikat CA yang digunakan untuk memverifikasi sertifikat server keyless. Parameter ini hanya berlaku ketika Verify diatur ke true. |
-----BEGIN CERTIFICATE-----**** |
| ClientCertificate |
string |
Sertifikat klien. Parameter ini harus digunakan bersama dengan kunci privat klien. |
-----BEGIN CERTIFICATE-----**** |
| ClientPrivateKey |
string |
Kunci privat klien. Parameter ini harus digunakan bersama dengan sertifikat klien. |
-----BEGIN RSA PRIVATE KEY-----**** |
| CreateTime |
string |
Waktu pembuatan. Waktu mengikuti format YYYY-MM-DDTHH:MM:SS+08:00 di zona waktu UTC/GMT. |
2025-07-18T20:33:31+08:00 |
| UpdateTime |
string |
Waktu pembaruan. Waktu mengikuti format YYYY-MM-DDTHH:MM:SS+08:00 di zona waktu UTC/GMT. |
2025-07-18T20:33:31+08:00 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CB1A380B-09F0-41BB-280B-72F8FD6DA2FE",
"TotalCount": 90,
"PageNumber": 1,
"PageSize": 20,
"SiteId": 54362329990032,
"SiteName": "example.com ",
"Result": [
{
"Id": "babab9db65ee5efcca9f3d41d4b5****",
"Name": "example",
"Host": "example.com",
"Port": 443,
"Verify": true,
"CaCertificate": "-----BEGIN CERTIFICATE-----****",
"ClientCertificate": "-----BEGIN CERTIFICATE-----****",
"ClientPrivateKey": "-----BEGIN RSA PRIVATE KEY-----****",
"CreateTime": "2025-07-18T20:33:31+08:00",
"UpdateTime": "2025-07-18T20:33:31+08:00"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.SiteId | Failed to query the website based on the SiteID you specified. Check parameter SiteId and try again. | |
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.