Skip to content

Commit 60a04fc

Browse files
kayousefyuantao-wang
authored andcommitted
[Language] Swaggers and samples for 2022-10-01-preview (Azure#20810)
* [Language] Swaggers and samples for 2022-10-01-preview * robocopy from dev * sort swagger files in readme * add api key description back * add error as required Co-authored-by: Yuantao Wang <[email protected]>
1 parent 4e88278 commit 60a04fc

File tree

114 files changed

+22154
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+22154
-1
lines changed

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzeconversations-authoring.json

Lines changed: 3116 additions & 0 deletions
Large diffs are not rendered by default.

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzeconversations.json

Lines changed: 1896 additions & 0 deletions
Large diffs are not rendered by default.

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzetext-authoring.json

Lines changed: 2986 additions & 0 deletions
Large diffs are not rendered by default.

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzetext.json

Lines changed: 3039 additions & 0 deletions
Large diffs are not rendered by default.

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/common.json

Lines changed: 1634 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"Ocp-Apim-Subscription-Key": "{API key}",
5+
"api-version": "2022-07-01-preview",
6+
"projectName": "EmailApp",
7+
"jobId": "8ccf2ffe-e758-4d04-a44a-31512918c7e8_637858368000000000"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/train/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version={api-version}"
13+
}
14+
}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"Ocp-Apim-Subscription-Key": "{API key}",
5+
"Content-Type": "application/merge-patch+json",
6+
"api-version": "2022-07-01-preview",
7+
"projectName": "myproject",
8+
"body": {
9+
"projectName": "myproject",
10+
"language": "en",
11+
"projectKind": "Conversation",
12+
"description": "This is a sample conversation project.",
13+
"multilingual": false
14+
}
15+
},
16+
"responses": {
17+
"201": {
18+
"headers": {},
19+
"body": {
20+
"createdDateTime": "2022-04-18T13:53:03Z",
21+
"lastModifiedDateTime": "2022-04-18T13:53:03Z",
22+
"projectKind": "Conversation",
23+
"projectName": "myproject",
24+
"multilingual": false,
25+
"description": "This is a sample conversation project.",
26+
"language": "en"
27+
}
28+
},
29+
"200": {
30+
"headers": {},
31+
"body": {
32+
"createdDateTime": "2022-04-18T13:53:03Z",
33+
"lastModifiedDateTime": "2022-04-18T13:53:03Z",
34+
"lastTrainedDateTime": "2022-04-18T14:14:28Z",
35+
"lastDeployedDateTime": "2022-04-18T14:49:01Z",
36+
"projectKind": "Conversation",
37+
"projectName": "myproject",
38+
"multilingual": false,
39+
"description": "This is a sample conversation project.",
40+
"language": "en"
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"Ocp-Apim-Subscription-Key": "{API key}",
5+
"api-version": "2022-07-01-preview",
6+
"projectName": "EmailApp",
7+
"deploymentName": "staging"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/deployments/staging/jobs/61ebb7ef-a207-40d2-82b9-5285440ae579_637858368000000000?api-version={api-version}"
13+
}
14+
}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"Ocp-Apim-Subscription-Key": "{API key}",
5+
"api-version": "2022-07-01-preview",
6+
"projectName": "EmailApp",
7+
"trainedModelLabel": "model2"
8+
},
9+
"responses": {
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"Ocp-Apim-Subscription-Key": "{API key}",
5+
"api-version": "2022-07-01-preview",
6+
"projectName": "myproject"
7+
},
8+
"responses": {
9+
"202": {
10+
"headers": {
11+
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/global/deletion-jobs/129d3182-625d-496c-bcf9-43686e85160b_637858368000000000?api-version={api-version}"
12+
}
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)