diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json index 4a9bba298957..c9cafeabb037 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json @@ -2815,11 +2815,23 @@ ], "responses": { "201": { - "description": "An object containing the application endpoint URL and its assigned endpoint key.", + "description": "An object containing the application endpoint URL, its assigned endpoint key and publishing status.", "schema": { "$ref": "#/definitions/ProductionOrStagingEndpointInfo" } }, + "207": { + "description": "An object containing the application endpoint URL, its assigned endpoint key and publishing status.", + "schema": { + "$ref": "#/definitions/ProductionOrStagingEndpointInfo" + } + }, + "503": { + "description": "A string with the error message", + "schema": { + "$ref": "#/definitions/ErrorMessage" + } + }, "default": { "description": "Error Response.", "schema": { @@ -9332,6 +9344,10 @@ "type": "string", "description": "The endpoint's region." }, + "failedRegions": { + "type": "string", + "description": "Regions where publishing failed." + }, "publishedDateTime": { "description": "Timestamp when was last published.", "type": "string" @@ -9604,6 +9620,10 @@ "type": "object" } }, + "ErrorMessage": { + "description": "Error message when invoking an operation on the API.", + "type": "string" + }, "OperationError": { "description": "Operation error details when invoking an operation on the API.", "type": "object", diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/apps/SuccessfulPublishApplicationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/apps/SuccessfulPublishApplicationRequest.json index b9d787b9955d..c5342d4cc30c 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/apps/SuccessfulPublishApplicationRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/apps/SuccessfulPublishApplicationRequest.json @@ -15,7 +15,8 @@ "isStaging": false, "endpointUrl": "https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/11be6373fca44ded80fbe2afa8597c18", "assignedEndpointKey": "11be6373fca44ded80fbe2afa8597c18", - "endpointRegion": "westus", + "endpointRegion": "westus, cus", + "failedRegions": "cus", "publishedDateTime": "2017-11-28T19:20:28Z" } }