ゲートウェイのルートの再書き込みポリシーを更新します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:UpdateGatewayRouteHTTPRewrite |
update |
*Gateway
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Id |
integer |
必須 |
ルートの ID。 |
238 |
| GatewayId |
integer |
任意 |
ゲートウェイの ID。 |
430 |
| HttpRewriteJSON |
string |
任意 |
再書き込みポリシーに関する情報。JSON フォーマットがサポートされています。 |
{"pathType":"PRE","path":"/","status":"off"} |
| GatewayUniqueId |
string |
必須 |
ゲートウェイの一意の ID。 |
gw-90392d768a3847a7b804c505254da96d |
| AcceptLanguage |
string |
任意 |
応答の言語。有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
データ構造。 |
||
| RequestId |
string |
リクエストの ID。 |
AE60DA1E-B234-5105-897B-68372453A5A2 |
| HttpStatusCode |
integer |
返された HTTP ステータスコード。 |
200 |
| Message |
string |
返されたメッセージ。 |
The request is successfully processed. |
| Code |
integer |
戻り値。 |
200 |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
| Data |
integer |
返されたデータ。 |
411 |
例
成功レスポンス
JSONJSON
{
"RequestId": "AE60DA1E-B234-5105-897B-68372453A5A2",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": 411
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | |
| 400 | InvalidParameter | Parameter error:%s | |
| 500 | InternalError | Console error. Try again later:%s | |
| 403 | NoPermission | You are not authorized to perform this operation:%s | |
| 404 | NotFound | Not found:%s |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。