|
32 | 32 | "paths": { |
33 | 33 | "/custom/models": { |
34 | 34 | "post": { |
35 | | - "summary": "Train Custom Model", |
36 | 35 | "description": "Create and train a custom model. The request must include a source parameter that is either an externally accessible Azure storage blob container Uri (preferably a Shared Access Signature Uri) or valid path to a data folder in a locally mounted drive. When local paths are specified, they must follow the Linux/Unix path format and be an absolute path rooted to the input mount configuration setting value e.g., if '{Mounts:Input}' configuration setting value is '/input' then a valid source path would be '/input/contosodataset'. All data to be trained is expected to be under the source folder or sub folders under it. Models are trained using documents that are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' or 'image/bmp'. Other type of content is ignored.", |
37 | | - "operationId": "TrainCustomModelAsync", |
| 36 | + "operationId": "CustomModels_Train", |
38 | 37 | "consumes": [ |
39 | 38 | "application/json" |
40 | 39 | ], |
|
82 | 81 | }, |
83 | 82 | "/custom/models/{modelId}": { |
84 | 83 | "get": { |
85 | | - "summary": "Get Custom Model", |
86 | 84 | "description": "Get detailed information about a custom model.", |
87 | | - "operationId": "GetCustomModel", |
| 85 | + "operationId": "CustomModels_Get", |
88 | 86 | "consumes": [], |
89 | 87 | "produces": [ |
90 | 88 | "application/json" |
|
129 | 127 | } |
130 | 128 | }, |
131 | 129 | "delete": { |
132 | | - "summary": "Delete Custom Model", |
133 | 130 | "description": "Mark model for deletion. Model artifacts will be permanently removed within a predetermined period.", |
134 | | - "operationId": "DeleteCustomModel", |
| 131 | + "operationId": "CustomModels_Delete", |
135 | 132 | "consumes": [], |
136 | 133 | "produces": [ |
137 | 134 | "application/json" |
|
166 | 163 | }, |
167 | 164 | "/custom/models/{modelId}/analyze": { |
168 | 165 | "post": { |
169 | | - "summary": "Analyze Form", |
170 | 166 | "description": "Extract key-value pairs, tables, and semantic values from a given document. The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri or local path) of the document to be analyzed.", |
171 | | - "operationId": "AnalyzeWithCustomModel", |
| 167 | + "operationId": "CustomModels_AnalyzeDocument", |
172 | 168 | "consumes": [ |
173 | 169 | "application/pdf", |
174 | 170 | "application/json", |
|
232 | 228 | }, |
233 | 229 | "/custom/models/{modelId}/analyzeResults/{resultId}": { |
234 | 230 | "get": { |
235 | | - "summary": "Get Analyze Form Result", |
236 | 231 | "description": "Obtain current status and the result of the analyze form operation.", |
237 | | - "operationId": "GetAnalyzeFormResult", |
| 232 | + "operationId": "CustomModels_GetAnalyzeResult", |
238 | 233 | "consumes": [], |
239 | 234 | "produces": [ |
240 | 235 | "application/json" |
|
280 | 275 | }, |
281 | 276 | "/custom/models/{modelId}/copy": { |
282 | 277 | "post": { |
283 | | - "summary": "Copy Custom Model", |
284 | 278 | "description": "Copy custom model stored in this resource (the source) to user specified target Form Recognizer resource.", |
285 | | - "operationId": "CopyCustomModel", |
| 279 | + "operationId": "CustomModels_Copy", |
286 | 280 | "consumes": [ |
287 | 281 | "application/json" |
288 | 282 | ], |
|
335 | 329 | }, |
336 | 330 | "/custom/models/{modelId}/copyResults/{resultId}": { |
337 | 331 | "get": { |
338 | | - "summary": "Get Custom Model Copy Result", |
339 | 332 | "description": "Obtain current status and the result of a custom model copy operation.", |
340 | | - "operationId": "GetCustomModelCopyResult", |
| 333 | + "operationId": "CustomModels_GetCopyResult", |
341 | 334 | "consumes": [], |
342 | 335 | "produces": [ |
343 | 336 | "application/json" |
|
386 | 379 | }, |
387 | 380 | "/custom/models/copyAuthorization": { |
388 | 381 | "post": { |
389 | | - "summary": "Generate Copy Authorization", |
390 | 382 | "description": "Generate authorization to copy a model into the target Form Recognizer resource.", |
391 | | - "operationId": "GenerateModelCopyAuthorization", |
| 383 | + "operationId": "CustomModels_AuthorizeModelCopy", |
392 | 384 | "consumes": [], |
393 | 385 | "produces": [ |
394 | 386 | "application/json" |
|
423 | 415 | }, |
424 | 416 | "/custom/models/compose": { |
425 | 417 | "post": { |
426 | | - "tags": [ |
427 | | - "Form" |
428 | | - ], |
429 | | - "summary": "Compose trained with labels models into one composed model.", |
430 | 418 | "description": "Compose request would include list of models ids.\r\nIt would validate what all models either trained with labels model or composed model.\r\nIt would validate limit of models put together.", |
431 | | - "operationId": "ComposeCustomModelsAsync", |
| 419 | + "operationId": "CustomModels_Compose", |
432 | 420 | "consumes": [], |
433 | 421 | "produces": [ |
434 | 422 | "application/json", |
|
472 | 460 | }, |
473 | 461 | "/prebuilt/businessCard/analyze": { |
474 | 462 | "post": { |
475 | | - "summary": "Analyze Business Card", |
476 | 463 | "description": "Extract field text and semantic values from a given business card document. The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri) of the document to be analyzed.", |
477 | | - "operationId": "AnalyzeBusinessCardAsync", |
| 464 | + "operationId": "Analyzer_AnalyzeBusinessCard", |
478 | 465 | "consumes": [ |
479 | 466 | "application/pdf", |
480 | 467 | "application/json", |
|
533 | 520 | }, |
534 | 521 | "/prebuilt/businessCard/analyzeResults/{resultId}": { |
535 | 522 | "get": { |
536 | | - "summary": "Get Analyze Business Card Result", |
537 | 523 | "description": "Track the progress and obtain the result of the analyze business card operation.", |
538 | | - "operationId": "GetAnalyzeBusinessCardResult", |
| 524 | + "operationId": "Analyzer_GetAnalyzeBusinessCardResult", |
539 | 525 | "consumes": [], |
540 | 526 | "produces": [ |
541 | 527 | "application/json" |
|
573 | 559 | }, |
574 | 560 | "/prebuilt/invoice/analyze": { |
575 | 561 | "post": { |
576 | | - "summary": "Analyze Invoice Document", |
577 | 562 | "description": "Extract field text and semantic values from a given invoice document. The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri) of the document to be analyzed.", |
578 | | - "operationId": "AnalyzeInvoiceAsync", |
| 563 | + "operationId": "Analyzer_AnalyzeInvoice", |
579 | 564 | "consumes": [ |
580 | 565 | "application/pdf", |
581 | 566 | "application/json", |
|
634 | 619 | }, |
635 | 620 | "/prebuilt/invoice/analyzeResults/{resultId}": { |
636 | 621 | "get": { |
637 | | - "summary": "Get Analyze Invoice Result", |
638 | 622 | "description": "Track the progress and obtain the result of the analyze invoice operation.", |
639 | | - "operationId": "GetAnalyzeInvoiceResult", |
| 623 | + "operationId": "Analyzer_GetAnalyzeInvoiceResult", |
640 | 624 | "consumes": [], |
641 | 625 | "produces": [ |
642 | 626 | "application/json" |
|
674 | 658 | }, |
675 | 659 | "/prebuilt/idDocument/analyze": { |
676 | 660 | "post": { |
677 | | - "summary": "Analyze ID Document", |
678 | 661 | "description": "Extract field text and semantic values from a given ID document. The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri) of the document to be analyzed.", |
679 | | - "operationId": "AnalyzeIdDocumentAsync", |
| 662 | + "operationId": "Analyzer_AnalyzeIdDocument", |
680 | 663 | "consumes": [ |
681 | 664 | "application/pdf", |
682 | 665 | "application/json", |
|
732 | 715 | }, |
733 | 716 | "/prebuilt/idDocument/analyzeResults/{resultId}": { |
734 | 717 | "get": { |
735 | | - "summary": "Get Analyze ID Document Result", |
736 | 718 | "description": "Track the progress and obtain the result of the analyze ID operation.", |
737 | | - "operationId": "GetAnalyzeIdDocumentResult", |
| 719 | + "operationId": "Analyzer_GetAnalyzeIdDocumentResult", |
738 | 720 | "consumes": [], |
739 | 721 | "produces": [ |
740 | 722 | "application/json" |
|
772 | 754 | }, |
773 | 755 | "/prebuilt/receipt/analyze": { |
774 | 756 | "post": { |
775 | | - "summary": "Analyze Receipt", |
776 | 757 | "description": "Extract field text and semantic values from a given receipt document. The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri) of the document to be analyzed.", |
777 | | - "operationId": "AnalyzeReceiptAsync", |
| 758 | + "operationId": "Analyzer_AnalyzeReceipt", |
778 | 759 | "consumes": [ |
779 | 760 | "application/pdf", |
780 | 761 | "application/json", |
|
833 | 814 | }, |
834 | 815 | "/prebuilt/receipt/analyzeResults/{resultId}": { |
835 | 816 | "get": { |
836 | | - "summary": "Get Analyze Receipt Result", |
837 | 817 | "description": "Track the progress and obtain the result of the analyze receipt operation.", |
838 | | - "operationId": "GetAnalyzeReceiptResult", |
| 818 | + "operationId": "Analyzer_GetAnalyzeReceiptResult", |
839 | 819 | "consumes": [], |
840 | 820 | "produces": [ |
841 | 821 | "application/json" |
|
873 | 853 | }, |
874 | 854 | "/layout/analyze": { |
875 | 855 | "post": { |
876 | | - "summary": "Analyze Layout", |
877 | 856 | "description": "Extract text and layout information from a given document. The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri or local path) of the document to be analyzed.", |
878 | | - "operationId": "AnalyzeLayoutAsync", |
| 857 | + "operationId": "Analyzer_AnalyzeLayout", |
879 | 858 | "consumes": [ |
880 | 859 | "application/pdf", |
881 | 860 | "application/json", |
|
928 | 907 | }, |
929 | 908 | "/layout/analyzeResults/{resultId}": { |
930 | 909 | "get": { |
931 | | - "summary": "Get Analyze Layout Result", |
932 | 910 | "description": "Track the progress and obtain the result of the analyze layout operation", |
933 | | - "operationId": "GetAnalyzeLayoutResult", |
| 911 | + "operationId": "Analyzer_GetAnalyzeLayoutResult", |
934 | 912 | "consumes": [], |
935 | 913 | "produces": [ |
936 | 914 | "application/json" |
|
970 | 948 | "x-ms-paths": { |
971 | 949 | "/custom/models?op=full": { |
972 | 950 | "get": { |
973 | | - "summary": "List Custom Models", |
974 | 951 | "description": "Get information about all custom models", |
975 | | - "operationId": "ListCustomModels", |
| 952 | + "operationId": "CustomModels_List", |
976 | 953 | "consumes": [], |
977 | 954 | "produces": [ |
978 | 955 | "application/json" |
|
1016 | 993 | }, |
1017 | 994 | "/custom/models?op=summary": { |
1018 | 995 | "get": { |
1019 | | - "summary": "Get Custom Models", |
1020 | 996 | "description": "Get information about all custom models", |
1021 | | - "operationId": "GetCustomModels", |
| 997 | + "operationId": "CustomModels_GetSummary", |
1022 | 998 | "consumes": [], |
1023 | 999 | "produces": [ |
1024 | 1000 | "application/json" |
|
0 commit comments