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
abhahn authored and Abigail Hartman committed Apr 4, 2022
1 parent efd313b commit f071a77
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
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-02-01-preview"
"version": "2022-03-01-preview"
},
"paths": {},
"definitions": {
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-02-01-preview",
"api-version": "2022-03-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-02-01-preview",
"api-version": "2022-03-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-02-01-preview",
"api-version": "2022-03-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-02-01-preview",
"api-version": "2022-03-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-02-01-preview",
"api-version": "2022-03-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-02-01-preview",
"api-version": "2022-03-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-02-01-preview",
"api-version": "2022-03-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-02-01-preview",
"api-version": "2022-03-01-preview",
"Endpoint": "{Endpoint}",
"body": {
"kind": "SentimentAnalysis",
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/language-service/overview\">https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/overview</a>.0",
"version": "2022-02-01-preview"
"version": "2022-03-01-preview"
},
"securityDefinitions": {
"apim_key": {
Expand Down

0 comments on commit f071a77

Please sign in to comment.