Apps - Get
アプリケーション情報を取得します。
GET {Endpoint}/luis/api/v2.0/apps/{appId}
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
app
|
path | True |
string (uuid) |
アプリケーション ID。 |
|
Endpoint
|
path | True |
string |
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。 |
要求ヘッダー
| 名前 | 必須 | 型 | 説明 |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
アプリケーション情報。 |
|
| Other Status Codes |
エラー応答。 |
セキュリティ
Ocp-Apim-Subscription-Key
型:
apiKey
/:
header
例
Successful Get Application Info request
要求のサンプル
GET {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e
応答のサンプル
{
"id": "363187f1-c573-46b3-bc4c-ae01d686e68e",
"name": "MyFirstDummyAp",
"description": "This is my first dummy application",
"culture": "en-us",
"usageScenario": "IoT",
"domain": "Comics",
"versionsCount": 3,
"createdDateTime": "2017-01-31T16:15:54Z",
"endpoints": {
"PRODUCTION": {
"versionId": "0.1",
"isStaging": false,
"endpointUrl": "DummyUrl",
"endpointRegion": "westus",
"assignedEndpointKey": "",
"publishedDateTime": "2017-02-19T17:09:14Z"
}
},
"endpointHitsCount": 0
}
定義
| 名前 | 説明 |
|---|---|
|
Application |
アプリケーション情報を含む応答。 |
|
Error |
API で操作を呼び出すときのエラー応答。 |
ApplicationInfoResponse
アプリケーション情報を含む応答。
| 名前 | 型 | 説明 |
|---|---|---|
| activeVersion |
string |
現在アクティブとしてマークされているバージョン ID。 |
| createdDateTime |
string |
バージョンの作成タイムスタンプ。 |
| culture |
string |
アプリケーションのカルチャ。 たとえば、"en-us" などです。 |
| description |
string |
アプリケーションの説明。 |
| domain |
string |
新しいアプリケーションのドメイン。 随意。 たとえば、Comics などです。 |
| endpointHitsCount |
integer |
このエンドポイントに対して行われた呼び出しの数。 |
| endpoints |
object |
このモデル バージョンのランタイム エンドポイント URL。 |
| id |
string (uuid) |
アプリケーションの ID (GUID)。 |
| name |
string |
アプリケーションの名前。 |
| usageScenario |
string |
新しいアプリケーションのシナリオを定義します。 随意。 たとえば、IoT です。 |
| versionsCount |
integer |
アプリケーション内のモデル バージョンの量。 |
ErrorResponse
API で操作を呼び出すときのエラー応答。
| 名前 | 型 | 説明 |
|---|---|---|
| errorType |
string |