Settings - Update
アプリケーションのバージョンで設定を更新します。
PUT {Endpoint}/luis/authoring/v3.0-preview/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
Type:
apiKey
In:
header
例
Successful Update Application Version settings request
Sample Request
PUT {Endpoint}/luis/authoring/v3.0-preview/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/0.1/settings
[
{
"name": "UseAllTrainingData",
"value": "false"
}
]
Sample Response
{
"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 |
string |
|
Failed |
string |
|
Success |
string |