Settings - Update
Ayarları uygulamanın bir sürümünde Güncelleştirmeler.
PUT {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/settings
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
app
|
path | True |
string uuid |
Uygulama kimliği. |
Endpoint
|
path | True |
string |
Desteklenen Bilişsel Hizmetler uç noktaları (protokol ve konak adı, örneğin: https://westus.api.cognitive.microsoft.com). |
version
|
path | True |
string |
Sürüm kimliği. |
İstek Başlığı
Name | Gerekli | Tür | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
İstek Gövdesi
Name | Tür | Description |
---|---|---|
listOfAppVersionSettingObject |
Güncelleştirilmiş uygulama sürümü ayarlarının listesi. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
İşlem başarılı. |
|
Other Status Codes |
Hata Yanıtı. |
Güvenlik
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Örnekler
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"
}
Tanımlar
Name | Description |
---|---|
App |
Uygulama sürümü ayarının nesne modeli. |
Error |
API'de bir işlem çağrılırken hata yanıtı. |
Operation |
İşlem durumunun yanıtı. |
Operation |
Durum Kodu. |
AppVersionSettingObject
Uygulama sürümü ayarının nesne modeli.
Name | Tür | Description |
---|---|---|
name |
string |
Uygulama sürümü ayarı adı. |
value |
string |
Uygulama sürümü ayarı değeri. |
ErrorResponse
API'de bir işlem çağrılırken hata yanıtı.
Name | Tür | Description |
---|---|---|
errorType |
string |
OperationStatus
İşlem durumunun yanıtı.
Name | Tür | Description |
---|---|---|
code |
Durum Kodu. |
|
message |
string |
Durum ayrıntıları. |
OperationStatusType
Durum Kodu.
Name | Tür | Description |
---|---|---|
FAILED |
string |
|
Failed |
string |
|
Success |
string |