Apps - Get
アプリケーション情報を取得します。
GET {Endpoint}/luis/authoring/v3.0-preview/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
Type:
apiKey
In:
header
例
Successful Get Application Info request
Sample Request
GET {Endpoint}/luis/authoring/v3.0-preview/apps/363187f1-c573-46b3-bc4c-ae01d686e68e
Sample Response
{
"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 |
アプリケーションの ID (GUID)。 |
name |
string |
アプリケーションの名前です。 |
usageScenario |
string |
新しいアプリケーションのシナリオを定義します。 省略可能。 たとえば、IoT です。 |
versionsCount |
integer |
アプリケーション内のモデル バージョンの量。 |
ErrorResponse
API で操作を呼び出すときのエラー応答。
名前 | 型 | 説明 |
---|---|---|
errorType |
string |