ウェブサイトのウェイティングルームを作成します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
必須 |
サイト ID。 ListSites 操作を呼び出して取得できます。 |
1234567890123 |
| Enable |
string |
必須 |
ウェイティングルームを有効にするかどうかを指定します。有効な値:
列挙値:
|
on |
| Name |
string |
必須 |
ウェイティングルームの名前。 |
waitingroom_example |
| QueueAllEnable |
string |
任意 |
すべての訪問者をキューに入れるかどうかを指定します。有効な値:
列挙値:
|
on |
| HostNameAndPath |
array<object> |
必須 |
ホスト名とパスの設定。 |
|
|
object |
必須 |
ホスト名とパスの詳細。 |
||
| Subdomain |
string |
必須 |
サブドメイン。 |
test. |
| Domain |
string |
必須 |
ドメイン名。 |
example.com |
| Path |
string |
必須 |
パス。 |
/test |
| CookieName |
string |
必須 |
カスタム Cookie 名。 |
__aliwaitingroom_example |
| TotalActiveUsers |
string |
必須 |
アクティブなユーザーの合計数。 |
300 |
| NewUsersPerMinute |
string |
必須 |
1 分あたりの新規ユーザー数。 |
200 |
| SessionDuration |
string |
必須 |
セッション期間(分単位)。 |
5 |
| DisableSessionRenewalEnable |
string |
任意 |
会話の更新を無効にするかどうかを指定します。有効な値:
列挙値:
|
on |
| QueuingMethod |
string |
必須 |
キューイングメソッド。有効な値:
列挙値:
|
fifo |
| QueuingStatusCode |
string |
必須 |
ウェイティングルームの状態コード。有効な値:
|
200 |
| JsonResponseEnable |
string |
任意 |
JSON 応答を有効にするかどうかを指定します。有効にすると、Accept ヘッダーに「アプリケーション/json」を含むリクエストは JSON データを返します。有効な値:
列挙値:
|
on |
| Description |
string |
任意 |
ウェイティングルームの説明。 |
test |
| WaitingRoomType |
string |
必須 |
ウェイティングルームのタイプ。有効な値:
列挙値:
|
default |
| CustomPageHtml |
string |
任意 |
カスタムウェイティングルームページのコンテンツ。このパラメーターは、ウェイティングルームのタイプが custom に設定されている場合に必須です。コンテンツは Base64 エンコードされている必要があります。 |
SGVsbG8gd29ybGQ= |
| Language |
string |
任意 |
ウェイティングルームページの言語。このパラメーターは、ウェイティングルームのタイプがデフォルトにセットされている場合に必須です。有効な値:
列挙値:
|
enus |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
85H66C7B-671A-4297-9187-2C4477247A74 |
| WaitingRoomId |
string |
ウェイティングルーム ID。 |
8527e8405ac25bfb7fb7ca0d12b0ed83 |
例
成功レスポンス
JSONJSON
{
"RequestId": "85H66C7B-671A-4297-9187-2C4477247A74",
"WaitingRoomId": "8527e8405ac25bfb7fb7ca0d12b0ed83"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | InvalidParameter.ArgName | Invalid ArgName. Check your website configuration parameters and make sure that they match the supported features and parameter names listed in the official documentation. | The ArgName parameter is invalid. Check your website configuration parameters and make sure that they match the supported features and parameter names listed in the official documentation. |
| 400 | InvalidParameter.ArgValue | Invalid parameter value. Check whether the value format and length meet the requirements. | The parameter value is invalid. Check whether the value format and length meet the requirements. |
| 400 | MissingParameter | The specified ArgName is required for this function. | A required parameter is missing when configuring a specific function. |
| 400 | CompileRuleError | Rule compilation failed, please check the rule information passed in to ensure that the rule is written according to the syntax described in the document. | Rule compilation failed. Check the rule configuration and make sure that the rule follows the syntax described in the document. |
| 400 | SiteConfigLengthExceedLimit | The overall configuration size of the site exceeds the limit, and the total size of all functional configurations of the site cannot exceed 512K. | The overall configuration size of the site exceeds the limit. The total size of all functional configurations of the site cannot exceed 512 KB. |
| 400 | ConfigConflicts | Configuration conflicts, usually when multiple configurations are configured under the same function of the same site, such as duplicate rule names between multiple configurations. | Parameter uniqueness verification failed. Check for duplicate parameter values. |
| 400 | FunctionConflict | The feature configuration conflicts. Sites with version management enabled cannot configure this feature. | The feature configuration conflicts with other features. Delete the conflicting feature configuration before configuring this feature. |
| 400 | RuleRegexQuotaCheckFailed | When configuring rules, rules with regular expressions are not allowed in this plan. Please check the relevant documentation of the plan or upgrade the plan. | The current plan does not support configuring rules with regular expressions. Check the plan description and upgrade your plan. |
| 400 | NestedRuleQuotaCheckFailed | The nesting level of rules allowed by the plan failed to be verified. Please modify the nesting level of rules or upgrade the plan. | The nesting level of rules exceeds the limit allowed by the plan. Modify the nesting level of rules or upgrade your plan. |
| 400 | ArgQuotaCheckFailed | The passed-in parameter value failed to verify the validity of the plan. Please check the plan document to obtain the range of parameters that can be configured for the site plan. | The current plan does not support configuring restricted parameters. Check the input parameters. |
| 400 | FunctionQuotaCheckFailed | The quota verification for this function fails. It may be that the configuration of this function exceeds the limit of the site plan. Please check the plan introduction document corresponding to this site. | The current plan does not support configuring restricted features. Check the feature description of the plan. |
| 400 | ConfExceedLimit | The number of function configurations exceeds the limit. Please check the interface document to see the number of configurations that can be supported by a single function. | The number of function configurations exceeds the system limit. Check the API documentation for the number of configurations supported by a single function. |
| 400 | ServiceInvokeFailed | The call to the internal service failed. The engineer is resolving the problem. Please wait a moment before trying, or contact customer service for details. | Failed to call the service. Try again later or contact technical support. |
| 400 | Instance.NotOnline | Your plan is unavailable due to an overdue payment. Complete the payment first. | Your plan instance is unavailable due to an overdue payment. Complete the payment first to continue using the service. |
| 400 | InstanceNotExist | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. |
| 400 | LockFailed | The system is handling requests you previously submitted. Try again later. | The system is handling requests you previously submitted. Try again later. |
| 404 | SiteNotFound | The website does not exist or does not belong to you. | The website does not exist or does not belong to you. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。