Memperbarui kebijakan menulis ulang entri rute untuk gerbang.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateGatewayRouteHTTPRewrite |
update |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
ID entri rute. |
238 |
| GatewayId |
integer |
No |
ID gerbang. |
430 |
| HttpRewriteJSON |
string |
No |
Informasi tentang kebijakan menulis ulang. Format JSON didukung. |
{"pathType":"PRE","path":"/","status":"off"} |
| GatewayUniqueId |
string |
Yes |
ID unik gerbang. |
gw-90392d768a3847a7b804c505254da96d |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| RequestId |
string |
The ID of the request. |
AE60DA1E-B234-5105-897B-68372453A5A2 |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The message returned. |
The request is successfully processed. |
| Code |
integer |
The return value. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
integer |
The returned data. |
411 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "AE60DA1E-B234-5105-897B-68372453A5A2",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": 411
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.