指定されたクライアント CA 証明書にバインドされているホスト名のリストを取得します。証明書を指定しない場合、この操作は ESA CA 証明書のホスト名リストを返します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:GetClientCertificateHostnames |
get |
*Site
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
必須 |
サイト ID。 |
1234567890123 |
| Id |
string |
任意 |
証明書 ID。 |
baba39055622c008b90285a8838ed09a |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答オブジェクト。 |
||
| SiteId |
integer |
サイト ID。 |
1234567890123 |
| SiteName |
string |
サイト名。 |
example.com |
| Id |
string |
クライアント CA 証明書 ID。 |
baba39055622c008b90285a8838ed09a |
| Hostnames |
array |
バインドされたホスト名のリスト。 |
|
|
string |
ホスト名。 |
www.example.com |
|
| RequestId |
string |
リクエスト ID。 |
EEEBE525-F576-1196-8DAF-2D70CA3F4D2F |
例
成功レスポンス
JSONJSON
{
"SiteId": 1234567890123,
"SiteName": "example.com\n",
"Id": "baba39055622c008b90285a8838ed09a",
"Hostnames": [
"www.example.com "
],
"RequestId": "EEEBE525-F576-1196-8DAF-2D70CA3F4D2F\n"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | InvalidParameter.SiteId | Failed to query the website based on the SiteID you specified. Check parameter SiteId and try again. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。