Skip to content

Commit

Permalink
Incorporating feedback from the API review
Browse files Browse the repository at this point in the history
  • Loading branch information
Abigail Hartman authored and Abigail Hartman committed Jan 18, 2022
1 parent 40fe511 commit b14982a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 62 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
"responses": {
"202": {
"headers": {
"Operation-Location": "{Endpoint}/language/analyze-text/jobs/{jobId}?api-version=2022-03-01-preview",
"Location": "{Endpoint}/language/analyze-text/jobs/{jobId}/data?api-version=2022-03-01-preview"
"Operation-Location": "{Endpoint}/language/analyze-text/jobs/{jobId}?api-version=2022-03-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@
"headers": {
"Operation-Location": {
"type": "string"
},
"Location": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -201,14 +198,16 @@
"$ref": "./examples/SuccessfulAnalyzeTextJobsMultipleTaskStatusRequest.json"
}
}
},
"delete": {
}
},
"/analyze-text/jobs/{jobId}:cancel": {
"post": {
"produces": [
"application/json"
],
"description": "Cancel Text Analysis job.",
"description": "Cancel a long-running Text Analysis job.",
"operationId": "AnalyzeText_CancelJob",
"summary": "Cancel Text Analysis job",
"summary": "Cancel a long-running Text Analysis job",
"parameters": [
{
"$ref": "#/parameters/JobId"
Expand Down Expand Up @@ -237,43 +236,6 @@
},
"x-ms-long-running-operation": true
}
},
"/analyze-text/jobs/{jobId}/data": {
"delete": {
"produces": [
"application/json"
],
"description": "Delete Text Analysis job and all of its data.",
"operationId": "AnalyzeText_DeleteJob",
"summary": "Delete Text Analysis job and all of its data",
"parameters": [
{
"$ref": "#/parameters/JobId"
}
],
"responses": {
"202": {
"description": "Delete Job request has been received.",
"headers": {
"Operation-Location": {
"type": "string"
}
}
},
"default": {
"description": "Unexpected error",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Successful Job Delete Request": {
"$ref": ".//examples//SuccessfulAnalyzeTextJobsDeleteRequest.json"
}
},
"x-ms-long-running-operation": true
}
}
},
"definitions": {
Expand Down

0 comments on commit b14982a

Please sign in to comment.