Settings - Update
アプリケーションのバージョンの設定を更新します。
PUT {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/settings
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
app
|
path | True |
string (uuid) |
アプリケーション ID。 |
|
Endpoint
|
path | True |
string |
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。 |
|
version
|
path | True |
string |
バージョン ID。 |
要求ヘッダー
| 名前 | 必須 | 型 | 説明 |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
要求本文
| 名前 | 型 | 説明 |
|---|---|---|
| listOfAppVersionSettingObject |
更新されたアプリケーションのバージョン設定の一覧。 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
正常な操作。 |
|
| Other Status Codes |
エラー応答。 |
セキュリティ
Ocp-Apim-Subscription-Key
型:
apiKey
/:
header
例
Successful Update Application Version settings request
要求のサンプル
PUT {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/0.1/settings
[
{
"name": "UseAllTrainingData",
"value": "false"
}
]
応答のサンプル
{
"code": "Success",
"message": "Operation Successful"
}
定義
| 名前 | 説明 |
|---|---|
|
App |
アプリケーション バージョン設定のオブジェクト モデル。 |
|
Error |
API で操作を呼び出すときのエラー応答。 |
|
Operation |
操作の状態の応答。 |
|
Operation |
状態コード。 |
AppVersionSettingObject
アプリケーション バージョン設定のオブジェクト モデル。
| 名前 | 型 | 説明 |
|---|---|---|
| name |
string |
アプリケーション バージョンの設定名。 |
| value |
string |
アプリケーション バージョンの設定値。 |
ErrorResponse
API で操作を呼び出すときのエラー応答。
| 名前 | 型 | 説明 |
|---|---|---|
| errorType |
string |
OperationStatus
操作の状態の応答。
| 名前 | 型 | 説明 |
|---|---|---|
| code |
状態コード。 |
|
| message |
string |
状態の詳細。 |
OperationStatusType
状態コード。
| 値 | 説明 |
|---|---|
| Failed | |
| FAILED | |
| Success |