全部產品
Search
文件中心

Edge Security Acceleration:GetKeylessServer - 擷取Keyless server配置

更新時間:Mar 31, 2026

擷取一個Keyless server配置。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

SiteId

integer

網站 ID,可通過調用 ListSites 介面擷取。

5407498413****

Id

string

Keyless server ID。

baba39055622c008b90285a8838e****

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

SiteId

integer

網站 ID。

123456****

SiteName

string

網站名稱。

example.com

Id

string

Keyless server ID。

baba39055622c008b90285a8838e****

Name

string

Keyless server 名稱。

example

Host

string

Keyless server 主機名稱。

example.com

Port

integer

Keyless server 連接埠。取值範圍:1~65535

443

Verify

boolean

是否校正 Keyless server 服務端認證,預設 false。

枚舉值:

  • true :

    true

  • false :

    false

true

CaCertificate

string

用於校正 Keyless server 服務端認證的 CA 憑證,當 Verify 為 true 時有效。

-----BEGIN CERTIFICATE-----****

ClientCertificate

string

用戶端認證,需要和用戶端私密金鑰成對出現。

-----BEGIN CERTIFICATE-----****

ClientPrivateKey

string

用戶端私密金鑰,需要和用戶端認證成對出現。

-----BEGIN RSA PRIVATE KEY-----****

CreateTime

string

建立時間。

2024-03-11T01:23:21Z

UpdateTime

string

修改時間。

2025-03-13T02:13:28Z

RequestId

string

請求 ID。

3558df77-8a7a-4060-a900-2d794940****

樣本

正常返回樣本

JSON格式

{
  "SiteId": 0,
  "SiteName": "example.com",
  "Id": "baba39055622c008b90285a8838e****",
  "Name": "example",
  "Host": "example.com",
  "Port": 443,
  "Verify": true,
  "CaCertificate": "-----BEGIN CERTIFICATE-----****",
  "ClientCertificate": "-----BEGIN CERTIFICATE-----****",
  "ClientPrivateKey": "-----BEGIN RSA PRIVATE KEY-----****",
  "CreateTime": "2024-03-11T01:23:21Z\n",
  "UpdateTime": "2025-03-13T02:13:28Z",
  "RequestId": "3558df77-8a7a-4060-a900-2d794940****"
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 MissingSiteId Required parameter SiteId missing. Specify SiteId and try again. 缺少必填參數SiteId,請指定SiteId參數後重試。
400 InternalException Failed to call the service. Try again later or contact technical support. 調用服務失敗,請稍後重試或聯絡客服諮詢詳情。
400 Id.MissingParameter The parameter Id is required. 缺少必填參數Id。
403 Unauthorized.InvalidTime The specified authentication time is invalid. 您輸入的鑒權時間參數無效,請檢查參數值後重試。
403 Unauthorized.InvalidToken Token authentication failed. 您輸入的token無效,請檢查並輸入正確的token後進行重試。
404 Certificate.NotFound The specified certificate does not exist. 指定的認證不存在。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情