Skip to content

Commit

Permalink
Updates API version in new specs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyuantao committed Jun 7, 2022
1 parent cdcbc59 commit 25b9048
Show file tree
Hide file tree
Showing 76 changed files with 102 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Microsoft Cognitive Language Service - Analyze Conversations Authoring",
"version": "2022-05-15-preview",
"version": "2022-10-01-preview",
"description": "The language service API is a suite of natural language processing (NLP) skills built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction, language detection and question answering. Further documentation can be found in <a href=\"https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/overview\">https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/overview</a>."
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Microsoft Cognitive Language Service - Analyze Conversations",
"description": "The language service conversations API is a suite of natural language processing (NLP) skills that can be used to analyze structured conversations (textual or spoken). The synchronous API in this suite accepts a request and mediates among multiple language projects, such as LUIS Generally Available, Question Answering, Conversational Language Understanding, and then calls the best candidate service to handle the request. At last, it returns a response with the candidate service's response as a payload.\n\n In some cases, this API needs to forward requests and responses between the caller and an upstream service. The asynchronous APIs in this suite enable tasks like Conversation Summarization and Conversational PII detection.",
"version": "2022-05-15-preview"
"version": "2022-10-01-preview"
},
"securityDefinitions": {
"apim_key": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Microsoft Cognitive Language Service - Analyze Text Authoring",
"version": "2022-05-15-preview",
"version": "2022-10-01-preview",
"description": "The language service API is a suite of natural language processing (NLP) skills built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction, language detection and question answering. Further documentation can be found in <a href=\"https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/overview\">https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/overview</a>."
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Microsoft Cognitive Language Service",
"description": "The language service API is a suite of natural language processing (NLP) skills built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction, language detection and question answering. Further documentation can be found in <a href=\"https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview\">https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview</a>.",
"version": "2022-05-15-preview"
"version": "2022-10-01-preview"
},
"paths": {},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"jobId": "c0f2a446-05d9-48fc-ba8f-3ef4af8d0b18"
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{Endpoint}/language/analyze-text/jobs/{jobId}?api-version=2022-05-15-preview"
"Operation-Location": "{Endpoint}/language/analyze-text/jobs/{jobId}?api-version=2022-10-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"jobId": "c0f2a446-05d9-48fc-ba8f-3ef4af8d0b18"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"jobId": "{Job ID}",
"body": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"body": {
"kind": "EntityLinking",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"body": {
"kind": "EntityRecognition",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"body": {
"kind": "KeyPhraseExtraction",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"body": {
"kind": "LanguageDetection",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"body": {
"kind": "PiiEntityRecognition",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"body": {
"kind": "SentimentAnalysis",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"jobId": "8ccf2ffe-e758-4d04-a44a-31512918c7e8_637858368000000000"
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/train/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2022-05-15-preview"
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/train/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2022-10-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"Content-Type": "application/merge-patch+json",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "myproject",
"body": {
"projectName": "myproject",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"deploymentName": "staging"
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/deployments/staging/jobs/61ebb7ef-a207-40d2-82b9-5285440ae579_637858368000000000?api-version=2022-05-15-preview"
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/deployments/staging/jobs/61ebb7ef-a207-40d2-82b9-5285440ae579_637858368000000000?api-version=2022-10-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"trainedModelLabel": "model2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "myproject"
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/global/deletion-jobs/129d3182-625d-496c-bcf9-43686e85160b_637858368000000000?api-version=2022-05-15-preview"
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/global/deletion-jobs/129d3182-625d-496c-bcf9-43686e85160b_637858368000000000?api-version=2022-10-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"deploymentName": "production",
"body": {
Expand All @@ -12,7 +12,7 @@
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/deployments/production/jobs/66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000?api-version=2022-05-15-preview"
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/deployments/production/jobs/66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000?api-version=2022-10-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"stringIndexType": "Utf16CodeUnit"
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/export/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2022-05-15-preview"
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/export/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2022-10-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"deploymentName": "staging"
},
Expand All @@ -15,7 +15,7 @@
"lastTrainedDateTime": "2022-04-18T15:47:49.4334381Z",
"lastDeployedDateTime": "2022-04-18T15:53:04Z",
"deploymentExpirationDate": "2023-10-28",
"modelTrainingConfigVersion": "2022-05-15-preview"
"modelTrainingConfigVersion": "2022-10-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"deploymentName": "production",
"jobId": "66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"jobId": "c95efa2a-44e8-461e-8aa5-04b4677bfa84_637858368000000000"
},
"responses": {
"200": {
"headers": {},
"body": {
"resultUrl": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/export/jobs/c4946bfa-4fbf-493b-bfcf-2d232eb9de69_637858368000000000/result?api-version=2022-05-15-preview",
"resultUrl": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/export/jobs/c4946bfa-4fbf-493b-bfcf-2d232eb9de69_637858368000000000/result?api-version=2022-10-01-preview",
"jobId": "c4946bfa-4fbf-493b-bfcf-2d232eb9de69_637858368000000000",
"createdDateTime": "2022-04-18T15:23:07Z",
"lastUpdatedDateTime": "2022-04-18T15:23:08Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"jobId": "c95efa2a-44e8-461e-8aa5-04b4677bfa84_637858368000000000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"trainedModelLabel": "model1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"trainedModelLabel": "model1",
"stringIndexType": "Utf16CodeUnit",
Expand Down Expand Up @@ -277,7 +277,7 @@
}
}
],
"nextLink": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/models/model1/evaluation/result/?api-version=2022-05-15-preview&top=2147483637&skip=10&maxpagesize=10"
"nextLink": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/models/model1/evaluation/result/?api-version=2022-10-01-preview&top=2147483637&skip=10&maxpagesize=10"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"trainedModelLabel": "model1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "myproject"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"jobId": "129d3182-625d-496c-bcf9-43686e85160b_637858368000000000"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectKind": "Conversation"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"language": "en"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectKind": "Conversation"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"jobId": "c36a8775-35b9-4cb5-a8db-665e7d91aafe_637858368000000000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"jobId": "8ccf2ffe-e758-4d04-a44a-31512918c7e8_637858368000000000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-05-15-preview",
"api-version": "2022-10-01-preview",
"projectName": "EmailApp",
"body": {
"projectFileVersion": "2022-05-01",
Expand Down Expand Up @@ -59,7 +59,7 @@
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/import/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2022-05-15-preview"
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/import/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2022-10-01-preview"
}
}
}
Expand Down
Loading

0 comments on commit 25b9048

Please sign in to comment.