Skip to content

Commit 77830f2

Browse files
committed
fix batch json
1 parent e6b44d7 commit 77830f2

File tree

1 file changed

+8
-8
lines changed
  • specification/cognitiveservices/data-plane/TranslatorText/preview/v1.0-preview.1

1 file changed

+8
-8
lines changed

specification/cognitiveservices/data-plane/TranslatorText/preview/v1.0-preview.1/TranslatorBatch.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "v1.0-preview.1"
66
},
77
"paths": {
8-
"/v1.0-preview.1/batches": {
8+
"/batches": {
99
"post": {
1010
"tags": [
1111
"Translation"
@@ -208,7 +208,7 @@
208208
}
209209
}
210210
},
211-
"/v1.0-preview.1/batches/{id}/documents/{documentId}": {
211+
"/batches/{id}/documents/{documentId}": {
212212
"get": {
213213
"tags": [
214214
"Translation"
@@ -314,7 +314,7 @@
314314
}
315315
}
316316
},
317-
"/v1.0-preview.1/batches/{id}": {
317+
"/batches/{id}": {
318318
"get": {
319319
"tags": [
320320
"Translation"
@@ -496,7 +496,7 @@
496496
}
497497
}
498498
},
499-
"/v1.0-preview.1/batches/{id}/documents": {
499+
"/batches/{id}/documents": {
500500
"get": {
501501
"tags": [
502502
"Translation"
@@ -624,7 +624,7 @@
624624
}
625625
}
626626
},
627-
"/v1.0-preview.1/documents/formats": {
627+
"/documents/formats": {
628628
"get": {
629629
"tags": [
630630
"Translation"
@@ -680,7 +680,7 @@
680680
}
681681
}
682682
},
683-
"/v1.0-preview.1/glossaries/formats": {
683+
"/glossaries/formats": {
684684
"get": {
685685
"tags": [
686686
"Translation"
@@ -736,7 +736,7 @@
736736
}
737737
}
738738
},
739-
"/v1.0-preview.1/storagesources": {
739+
"/storagesources": {
740740
"get": {
741741
"tags": [
742742
"Translation"
@@ -1265,7 +1265,7 @@
12651265
}
12661266
],
12671267
"x-ms-parameterized-host": {
1268-
"hostTemplate": "{endpoint}/translator/text/document/v1.0-preview.1",
1268+
"hostTemplate": "{endpoint}/translator/text/batch/v1.0-preview.1",
12691269
"useSchemePrefix": false,
12701270
"parameters": [
12711271
{

0 commit comments

Comments
 (0)