無料証明書を申請します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:ApplyCertificate |
create |
*Site
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
必須 |
サイト ID。 |
1234567890123 |
| Domains |
string |
必須 |
カンマ区切りのドメイン名のリスト。 |
www.example.com,blog.example.com |
| Type |
string |
任意 |
証明書タイプ。有効な値: 列挙値:
|
lets_encrypt |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答オブジェクト。 |
||
| SiteName |
string |
サイト名。 |
example.com |
| TotalCount |
integer |
リクエストされた証明書の総数。リクエストで指定されたドメイン名の数と一致します。 |
2 |
| Result |
array<object> |
各無料証明書の申請詳細のリスト。 |
|
|
object |
無料証明書申請の詳細。 |
||
| Domain |
string |
証明書のドメイン名。 |
*.example.com |
| Status |
string |
証明書の申請ステータス。 |
Applying |
| Id |
string |
証明書 ID。 |
30000478 |
| RequestId |
string |
リクエスト ID。 |
156A6B-677B1A-4297B7-9187B7-2B44792 |
例
成功レスポンス
JSONJSON
{
"SiteName": "example.com ",
"TotalCount": 2,
"Result": [
{
"Domain": "*.example.com ",
"Status": "Applying",
"Id": "30000478"
}
],
"RequestId": "156A6B-677B1A-4297B7-9187B7-2B44792"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | SiteNotFound | The specified site is not found. | |
| 400 | SiteNotActivated | The site is not activated, the process is not allowed. | |
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | |
| 400 | InvalidParameter.Domains | You have already submitted a certificate application for the domain name. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | QuotaCheckFailed | Failed to check free certificate Quota, please try again later. | |
| 400 | InvalidParameter.Type | The specified Type parameter is invalid, please check and try again. | |
| 400 | QuotaExceed.RecordCount | The maximum number of records has been reached. Delete some and try again or upgrade your plan. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | |
| 403 | QuotaExceeded | The quota is exceeded. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。