Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
b8d47df
Bringing FRv2.0-preview version forward.
Mar 25, 2020
132afb1
Adding Model Compose feature
Mar 25, 2020
8ca4443
Adding Model Copy feature
Mar 25, 2020
648c876
Adding PreBuilt: Business card feature
Mar 25, 2020
6475991
Fix swagger version.
Mar 25, 2020
29d4b26
Add CheckBox feature (option-A)
Mar 25, 2020
780cf1b
Add CheckBox feature (option-B)
Mar 25, 2020
7fed7c8
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Mar 31, 2020
7312556
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Apr 14, 2020
6ebcd64
Initial commit; Bringing things forward from v2.0
Apr 14, 2020
64002bb
Minor fixes in compose contract
angaivor Apr 15, 2020
92e379d
Add suggested model name changes for supervised
angaivor Apr 15, 2020
e8f1f3b
Merge pull request #10 from angaivor/model_compose_fixes
ramparab Apr 16, 2020
4cd004f
Merge branch 'master' of https://github.com/azure/azure-rest-api-specs
May 6, 2020
0071d39
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
May 6, 2020
603f7db
Incorporating final changes from v2.0-preview
May 6, 2020
fb8318e
Incorporating ModelName feature
May 6, 2020
9e47593
Update for model compose
May 6, 2020
b3cd909
Incorporating selectionMark feature.
May 6, 2020
76b6e35
Merge branch 'master' into frv21updates
ramparab May 7, 2020
27d5919
FRv2.1 Feature updates (#13)
ramparab May 7, 2020
a7bd815
Merge branch 'master' of https://github.com/ramparab/azure-rest-api-s…
Jun 8, 2020
4ea1e0a
FR FE changes (#15)
ramparab Jun 9, 2020
ec95ef9
FR FE Changes.
Jun 9, 2020
6da785c
Merge branch 'master' of https://github.com/ramparab/azure-rest-api-s…
Jun 9, 2020
5104483
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Jun 9, 2020
e10d17a
Merge branch 'frv21updates' of https://github.com/ramparab/azure-rest…
Jun 9, 2020
37cbfd6
Incorporating review feedback
Jun 15, 2020
722dc3e
Incorporating review feedback.
Jun 15, 2020
8097bb3
Incorporating review feedback
Jun 16, 2020
74a117f
Incorporating review feedback.
Jun 16, 2020
8a92db6
Incorporating review comments, clenaup.
Jun 16, 2020
49f7134
Incorporating review feedback.
Jun 17, 2020
14c4f07
Add model type, list of model names to composed model
Jun 18, 2020
a725fc2
Updating model type.
Jun 18, 2020
8d87a7c
Incorporating review feedback.
Jun 18, 2020
f1bf6f0
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Jul 8, 2020
6f1ed9b
Incorporating review feedback.
Jul 8, 2020
b0ec0c7
Incorporating review feedbck
Jul 8, 2020
7428fd0
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Jul 9, 2020
aef366b
Reverting change
Jul 9, 2020
854b539
Updating for v2.1-preview.1 release
Jul 10, 2020
f24401e
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Jul 10, 2020
927ca21
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Jul 16, 2020
877c1e0
Fix swagger verification errors.
Jul 16, 2020
f0d64ae
Fixing swagger validation checks.
Jul 16, 2020
bbbd9e8
Fixing swagger check failures.
Jul 16, 2020
6ab4818
Updating preview.2 to capture preview.1 changes.
Jul 16, 2020
9546dfb
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Jul 16, 2020
7680afc
Running prettier tool.
Jul 16, 2020
57818e7
Removing whitespace
Jul 16, 2020
857f3fa
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Jul 20, 2020
0d7917d
Use modelId GUIDs in examples.
Jul 20, 2020
773f295
Fix typo.
Jul 20, 2020
d7a31e8
Fixing typo.
Jul 20, 2020
367db57
Update composedTrainResult and related examples.
Jul 20, 2020
bbd1075
Update composedTrainResult and related examples.
Jul 20, 2020
1ed06a7
Fixing array definition.
Jul 20, 2020
9a77401
Fixing array definition.
Jul 20, 2020
2268c04
Updating examples
Jul 20, 2020
5f69d68
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Jul 29, 2020
2d6e072
Mark LRO operations.
Jul 29, 2020
10754c9
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Aug 6, 2020
9caa313
syncing latest changes
Aug 6, 2020
a00376a
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Aug 6, 2020
40008a6
Adding FR v2.0 API stable version.
Aug 6, 2020
97df41e
Update local branch
Aug 29, 2020
dfd1d0e
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Aug 29, 2020
349023b
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Sep 6, 2020
ac88fc1
Update readme for v2.1 preview release.
Sep 7, 2020
4acf2d6
[temp] remove v2.1 preview update.
Sep 7, 2020
890542e
Merge branch 'master' of https://github.com/azure/azure-rest-api-spec…
Sep 9, 2020
872f0b0
Removing v2.1-preview.2 update.
Sep 9, 2020
bc761f1
Update FormRecognizer.json
ramparab Sep 10, 2020
000c89b
Update readme.go.md
ramparab Sep 10, 2020
c7f2c67
Update readme.md
ramparab Sep 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"modelId": "{modelId}",
"body": {}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{endpoint}/formrecognizer/v2.1-preview.1/custom/models/{modelId}/analyzeResults/{resultId}"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"modelId": "{modelId}",
"resultId": "{result Id}",
"body": {}
},
"responses": {
"200": {
"body": {
"status": "running",
"createdDateTime": "2019-05-01T10:53:21Z",
"lastUpdatedDateTime": "2019-05-01T10:53:23Z",
"analyzeResult": {
"version": "v2.1",
"readResults": [],
"pageResults": [],
"documentResults": [],
"errors": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"body": {
"source": "http://www.example.com/image.jpg"
}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{endpoint}/formrecognizer/v2.1-preview.1/prebuilt/businessCard/analyzeResults/{resultId}"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"resultId": "{result Id}",
"body": {}
},
"responses": {
"200": {
"body": {
"status": "running",
"createdDateTime": "2019-05-01T10:53:21Z",
"lastUpdatedDateTime": "2019-05-01T10:53:23Z",
"analyzeResult": {
"version": "v2.1",
"readResults": [],
"pageResults": [],
"documentResults": [],
"errors": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"body": {},
"composeRequest": {
"modelIds": [
"4afb20d6-3ed0-4cde-ba40-dbd6207268dd",
"6f841356-aa32-42c9-a739-2182c47b79c9"
]
}
},
"responses": {
"201": {
"headers": {
"Location": "{endpoint}/formrecognizer/v2.1-preview.1/custom/models/{modelId}"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"modelId": "{modelId}",
"body": {},
"copyRequest": {
"targetResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{resourceName}",
"targetResourceRegion": "westus2",
"copyAuthorization": {
"modelId": "{modelId}",
"accessToken": "{accessToken}",
"expirationDateTimeTicks": 637190189980000000
}
}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{endpoint}/formrecognizer/v2.1-preview.1/custom/models/{modelId}/copyResults/{resultId}"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"body": {}
},
"responses": {
"201": {
"headers": {
"Location": "{endpoint}/formrecognizer/v2.1-preview.1/custom/models/{modelId}"
},
"body": {
"modelId": "{modelId}",
"accessToken": "{accessToken}",
"expirationDateTimeTicks": 637190189980000000
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"modelId": "{modelId}",
"resultId": "{resultId}",
"body": {}
},
"responses": {
"200": {
"body": {
"status": "succeeded",
"createdDateTime": "2020-01-01T00:00:00Z",
"lastUpdatedDateTime": "2020-01-01T00:01:00Z",
"copyResult": {
"modelId": "{modelId}",
"errors": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"modelId": "{modelId}",
"resultId": "{resultId}",
"body": {}
},
"responses": {
"200": {
"body": {
"status": "failed",
"createdDateTime": "2020-01-01T00:00:00Z",
"lastUpdatedDateTime": "2020-01-01T00:01:00Z",
"copyResult": {
"modelId": "{modelId}",
"errors": [
{
"code": "ResourceResolverError",
"message": "{ErrorMessage}"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"modelId": "{modelId}",
"body": {}
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"modelId": "{modelId}",
"body": {}
},
"responses": {
"200": {
"body": {
"modelInfo": {
"modelId": "f973e3c1-1148-43bb-bea8-49d0603ab3a8",
"modelName": "my composed model",
"status": "ready",
"createdDateTime": "2019-05-01T10:53:21Z",
"lastUpdatedDateTime": "2019-05-01T10:53:23Z",
"attributes": {
"isComposed": true
}
},
"keys": {
"clusters": {
"0": [
"Invoice",
"123112313"
],
"1": [
"Please remit payment to:",
"Microsoft"
]
}
},
"trainResult": {
"trainingDocuments": [],
"fields": [],
"averageModelAccuracy": 0,
"errors": []
},
"composedTrainResults": [
{
"modelId": "4afb20d6-3ed0-4cde-ba40-dbd6207268dd",
"trainingDocuments": [],
"fields": [],
"averageModelAccuracy": 0,
"errors": []
},
{
"modelId": "6f841356-aa32-42c9-a739-2182c47b79c9",
"trainingDocuments": [],
"fields": [],
"averageModelAccuracy": 0,
"errors": []
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"op": "full",
"body": {}
},
"responses": {
"200": {
"body": {
"summary": {
"count": 2,
"limit": 5000,
"lastUpdatedDateTime": "2019-05-01T10:53:21Z"
},
"modelList": [
{
"modelId": "f973e3c1-1148-43bb-bea8-49d0603ab3a8",
"modelName": "test model 1",
"status": "ready",
"createdDateTime": "2019-05-01T10:53:21Z",
"lastUpdatedDateTime": "2019-05-01T10:53:23Z",
"attributes": {
"isComposed": false
}
},
{
"modelId": "f973e3c1-0001-43bb-bea8-49d0603ab3a8",
"modelName": "test model 2",
"status": "ready",
"createdDateTime": "2019-05-01T10:53:21Z",
"lastUpdatedDateTime": "2019-05-01T10:53:23Z",
"attributes": {
"isComposed": true
}
}
],
"nextLink": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"op": "summary",
"body": {}
},
"responses": {
"200": {
"body": {
"summary": {
"count": 5,
"limit": 5000,
"lastUpdatedDateTime": "2019-05-01T10:53:21Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"language": "en",
"body": {}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{endpoint}/formrecognizer/v2.1-preview.1/layout/analyzeResults/{resultId}"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"endpoint": "{endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"resultId": "{result Id}",
"body": {}
},
"responses": {
"200": {
"body": {
"status": "succeeded",
"createdDateTime": "2019-05-01T10:53:21Z",
"lastUpdatedDateTime": "2019-05-01T10:53:23Z",
"analyzeResult": {
"version": "v2.1",
"readResults": [],
"pageResults": []
}
}
}
}
}
Loading