Mengkueri informasi tentang rilis canary untuk messaging suatu aplikasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:GetAppMessageQueueRoute |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Region |
string |
Yes |
Wilayah tempat Instans berada. Contoh:
|
cn-hangzhou |
| AppId |
string |
Yes |
ID aplikasi. |
hkhon1po62@c3df23522baa898 |
| Namespace |
string |
No |
Nama namespace Microservices Engine (MSE). |
default |
| AppName |
string |
No |
Nama aplikasi. |
example-app |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| RequestId |
string |
The ID of the request. |
4B00BCB0-105F-5A2A-B75B-641C8E9B18FC |
| Message |
string |
The message returned.
|
success |
| Data |
object |
The data returned. |
|
| AppId |
string |
The ID of the application. |
hkhon1po62@54e1f42f37cd65a |
| Region |
string |
The region ID. |
cn-hangzhou |
| Enable |
boolean |
Indicates whether the canary release for messaging feature is enabled.
|
true |
| Tags |
array |
The tags used to ignore message consumption for nodes in untagged environments. |
|
|
string |
The tag used to ignore message consumption for nodes in untagged environments. |
gray |
|
| FilterSide |
string |
The side for message filtering when the canary release for messaging feature is enabled. |
Server |
| Code |
integer |
The response code returned. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values: true and false. The value true indicates that the request was successful. The value false indicates that the request failed. |
true |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "4B00BCB0-105F-5A2A-B75B-641C8E9B18FC",
"Message": "success",
"Data": {
"AppId": "hkhon1po62@54e1f42f37cd65a",
"Region": "cn-hangzhou",
"Enable": true,
"Tags": [
"gray"
],
"FilterSide": "Server"
},
"Code": 200,
"Success": true
}
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.