アプリケーションのサービスを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:GetServiceList |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Region |
string |
任意 |
リージョン ID。 |
cn-zhangjiakou |
| ServiceType |
string |
任意 |
フレームワークのタイプ。 |
dubbo |
| AppId |
string |
必須 |
アプリケーション ID。 |
xxx@xxx |
| ServiceName |
string |
任意 |
サービス名。 |
com.alibaba.xxx |
| Ip |
string |
任意 |
IP アドレス。 |
127.0.0.1 |
| AcceptLanguage |
string |
任意 |
応答メッセージの言語。 |
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
データ構造。 |
||
| HttpStatusCode |
integer |
返される HTTP ステータスコード。 |
200 |
| Message |
string |
返されるメッセージ。 |
success |
| RequestId |
string |
リクエスト ID。 |
xxx-xxx-xxx |
| Data |
array<object> |
返されるデータエントリ。 |
|
|
array<object> |
リクエストの結果。 |
||
| EdasAppName |
string |
アプリケーション名。 |
test |
| DubboApplicationName |
string |
Dubbo アプリケーション名。 |
dubbo-application |
| Version |
string |
バージョン情報。 |
1.0.0 |
| SpringApplicationName |
string |
Spring アプリケーション名。 |
spring-application |
| RegistryType |
string |
サービスレジストリのタイプ。 |
nacos |
| ServiceType |
string |
サービスのタイプ。 |
dubbo |
| ServiceName |
string |
サービス名。 |
com.alibaba.xxx |
| Methods |
array<object> |
メソッド。 |
|
|
object |
メソッド。 |
||
| Paths |
array |
パス。 |
|
|
string |
サービスのパス。 |
/path |
|
| ParameterTypes |
array |
パラメーターのデータの型。 |
|
|
string |
パラメーターのデータの型。 |
int |
|
| RequestMethods |
array |
メソッド。 |
|
|
string |
メソッド。 |
sayHello |
|
| Name |
string |
メソッド名。 |
sayHello |
| MethodController |
string |
メソッドのコントローラー。 |
com.alibaba.SayHelloController |
| ReturnType |
string |
戻り値の型。 |
int |
| Metadata |
object |
メタデータ。 |
{} |
| Group |
string |
グループ。 |
dubbo |
| Code |
integer |
返される状態コード。 |
200 |
| Success |
boolean |
リクエストが成功したかどうかを示します。 |
true |
例
成功レスポンス
JSONJSON
{
"HttpStatusCode": 200,
"Message": "success",
"RequestId": "xxx-xxx-xxx",
"Data": [
{
"EdasAppName": "test",
"DubboApplicationName": "dubbo-application",
"Version": "1.0.0",
"SpringApplicationName": "spring-application",
"RegistryType": "nacos",
"ServiceType": "dubbo",
"ServiceName": "com.alibaba.xxx",
"Methods": [
{
"Paths": [
"/path"
],
"ParameterTypes": [
"int"
],
"RequestMethods": [
"sayHello"
],
"Name": "sayHello",
"MethodController": "com.alibaba.SayHelloController",
"ReturnType": "int"
}
],
"Metadata": {},
"Group": "dubbo"
}
],
"Code": 200,
"Success": true
}
エラーコード
|
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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。