diff --git a/certified-connectors/PDF4me Connect/apiDefinition.swagger.json b/certified-connectors/PDF4me Connect/apiDefinition.swagger.json index 86b05d4b9c..0a55993ae6 100644 --- a/certified-connectors/PDF4me Connect/apiDefinition.swagger.json +++ b/certified-connectors/PDF4me Connect/apiDefinition.swagger.json @@ -20,6 +20,7 @@ "/v2/FlowV2/ConvertOcrPdf": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Recognize text and create searchable PDF using OCR. https://dev.pdf4me.com/power-automate/documentation/actions/pdf-ocr/", "operationId": "PdfOcr_V1", "parameters": [ @@ -117,6 +118,7 @@ "/v2/FlowV2/ConvertPdfToExcel": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert PDFs with tabular data into Excel spreadsheets. https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-excel/", "operationId": "PdfToExcel_V1", "parameters": [ @@ -221,6 +223,7 @@ "/v2/FlowV2/ConvertPdfToWord": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert PDF documents to high quality editable Word files. https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-word/", "operationId": "PdfToWord_V1", "parameters": [ @@ -310,6 +313,7 @@ "/v2/FlowV2/ConvertPdfToPowerPoint": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert PDF into Powerpoint Presentation slides. https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-powerpoint/", "operationId": "PdfToPowerPoint_V1", "parameters": [ @@ -399,6 +403,7 @@ "/v2/FlowV2/ConvertToPdf": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert any type of office documents or images into PDFs. https://dev.pdf4me.com/power-automate/documentation/actions/convert-to-pdf/", "operationId": "ConvertToPdf_V1", "parameters": [ @@ -589,6 +594,7 @@ "/v2/FlowV2/CreateImagesV2": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert PDF pages into Images. https://dev.pdf4me.com/power-automate/documentation/actions/create-thumbnail/", "operationId": "CreateThumbnail_V3", "summary": "Create Images from PDF", @@ -2874,6 +2880,7 @@ }, "/v2/FlowV2/ConvertHtmlToPdf": { "post": { + "tags": ["convert"], "responses": { "200": { "description": "File Converted successfully!", @@ -3013,6 +3020,7 @@ }, "/v2/FlowV2/ConvertMdToPdf": { "post": { + "tags": ["convert"], "responses": { "200": { "description": "File Converted successfully!", @@ -3080,6 +3088,7 @@ }, "/v2/FlowV2/ConvertUrlToPdf": { "post": { + "tags": ["convert"], "responses": { "200": { "description": "File Converted successfully!", @@ -4348,9 +4357,10 @@ }, "/v2/FlowV2/GenerateDocumentFromPdf": { "post": { - "summary": "Fill a PDF Form", - "description": "Fill a PDF form using JSON Data. https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/", + "summary": "Fill a PDF Form (Multiple)", + "description": "Fill a PDF form using JSON Data and return multiple files. https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/", "operationId": "GenerateDocumentFromPdf_V1", + "deprecated": true, "x-ms-api-annotation": { "family": "GenerateDocumentFromPdf", "status": "Production", @@ -4423,6 +4433,74 @@ } } }, + "/v2/FlowV2/GenerateDocumentFromPdfV2": { + "post": { + "summary": "Fill a PDF Form", + "description": "Fill a PDF form using JSON Data and return a single PDF. https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/", + "operationId": "GenerateDocumentFromPdf_V2", + "x-ms-visibility": "important", + "x-ms-api-annotation": { + "family": "GenerateDocumentFromPdf", + "status": "Production", + "revision": 2 + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": false, + "schema": { + "type": "object", + "properties": { + "templateDocContent": { + "type": "string", + "description": "PDF Template file content.", + "title": "Template File Data", + "format": "byte", + "x-ms-visibility": "important" + }, + "templateDocName": { + "type": "string", + "description": "Template file name.", + "title": "Template File Name", + "x-ms-visibility": "important" + }, + "dataArray": { + "type": "string", + "description": "Data Collection as list of object.", + "title": "Form Data", + "x-ms-visibility": "important" + } + }, + "required": ["templateDocName", "templateDocContent", "dataArray"] + } + } + ], + "consumes": ["application/json"], + "responses": { + "200": { + "description": "Completed successfully!", + "schema": { + "type": "string", + "description": "Output file content from the PDF4me API response.", + "title": "File Content", + "format": "binary", + "x-ms-visibility": "important" + }, + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + } + } + } + } + }, "/v2/FlowV2/AddPageNumber": { "post": { "consumes": ["application/json"], @@ -5103,6 +5181,7 @@ "/v2/FlowV2/ConvertWordToPdfForm": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert a Word file to PDF with form controls intact. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/convert-word-to-pdf-form/", "summary": "Convert Word to PDF Form", "operationId": "ConvertWordToPdfForm_v1", @@ -6260,6 +6339,7 @@ "/v2/FlowV2/ConvertJsonToExcel": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert Json To Excel. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/convert-json-to-excel/", "summary": "Convert Json To Excel", "operationId": "ConvertJsonToExcel_v1", @@ -6385,6 +6465,7 @@ "/v2/FlowV2/ConvertVisio": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert Visio to any format. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/convert-visio/", "summary": "Convert Visio", "operationId": "ConvertVisio_v1", @@ -6442,8 +6523,32 @@ "x-ms-visibility": "important" } }, - "/v2/FlowV2/GetCallStatus": { - "get": { + "/v2/FlowV2/CropImage": { + "post": { + "tags": ["image"], + "consumes": ["application/json"], + "description": "Crop an image through border or rectangle. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/crop-image/", + "summary": "Crop Image", + "operationId": "CropImage_V1", + "parameters": [ + { + "in": "query", + "name": "schemaVal", + "x-ms-summary": "Crop Type", + "default": "Border", + "description": "Set the crop type", + "type": "string", + "x-ms-visibility": "important", + "enum": ["Border", "Rectangle"] + }, + { + "in": "body", + "name": "operation", + "schema": { + "$ref": "#/definitions/DtoCropImage" + } + } + ], "responses": { "200": { "description": "Completed successfully!", @@ -6458,14 +6563,66 @@ } }, "schema": { - "description": "Output File Content from the PDF4me Connect", + "description": "Output file content from the PDF4me Connect", "format": "binary", "title": "File Content", "type": "string", "x-ms-visibility": "important" } - }, - "202": { + } + }, + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/FlipImage": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Flip an image horizontally or vertically or both. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/flip-image/", + "summary": "Flip Image", + "operationId": "FlipImage_V1", + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "properties": { + "docContent": { + "description": "The content of the input file", + "format": "byte", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + }, + "document": { + "description": "document", + "properties": { + "Name": { + "description": "Name of the file", + "title": "File Name", + "type": "string", + "x-ms-visibility": "important" + } + }, + "required": ["Name"], + "type": "object" + }, + "orientationType": { + "title": "Orientation Type", + "description": "Set flip orientation", + "type": "string", + "x-ms-visibility": "important", + "enum": ["Horizontal", "Vertical", "HorizontalAndVertical"] + } + }, + "required": ["docContent", "document", "orientationType"], + "type": "object" + } + } + ], + "responses": { + "200": { "description": "Completed successfully!", "headers": { "FileName": { @@ -6478,7 +6635,7 @@ } }, "schema": { - "description": "Output File Content from the PDF4me Connect", + "description": "Output file content from the PDF4me Connect", "format": "binary", "title": "File Content", "type": "string", @@ -6486,22 +6643,68 @@ } } }, - "summary": "GetCallStatus_v1", - "description": "GetCallStatus_v1", - "operationId": "GetCallStatus_v1", - "x-ms-visibility": "internal", + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/ConvertImageFormat": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Changes file format of an image file. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/convert-image-format/", + "summary": "Convert Image Format", + "operationId": "ConvertImageFormat_V1", "parameters": [ { - "name": "d", - "in": "query", - "required": true, - "type": "string" + "in": "body", + "name": "body", + "required": false, + "schema": { + "properties": { + "docContent": { + "description": "The content of the input file", + "format": "byte", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + }, + "document": { + "description": "document", + "properties": { + "Name": { + "description": "Name of the file", + "title": "File Name", + "type": "string", + "x-ms-visibility": "important" + } + }, + "required": ["Name"], + "type": "object" + }, + "currentImageFormat": { + "title": "Current Image Format", + "description": "Current image format of the file", + "type": "string", + "x-ms-visibility": "important", + "enum": ["BMP", "JPG", "GIF", "PNG", "TIF"] + }, + "newImageFormat": { + "title": "New Image Format", + "description": "New image format of the file", + "type": "string", + "x-ms-visibility": "important", + "enum": ["BMP", "JPG", "GIF", "PNG", "TIF"] + } + }, + "required": [ + "docContent", + "document", + "currentImageFormat", + "newImageFormat" + ], + "type": "object" + } } - ] - } - }, - "/v2/FlowV2/GetActionStatus": { - "get": { + ], "responses": { "200": { "description": "Completed successfully!", @@ -6516,14 +6719,45 @@ } }, "schema": { - "description": "Output File Content from the PDF4me Connect", + "description": "Output file content from the PDF4me Connect", "format": "binary", "title": "File Content", "type": "string", "x-ms-visibility": "important" } + } + }, + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/ResizeImage": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Resize an image based on percentage or specific size. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/resize-image/", + "summary": "Resize Image", + "operationId": "ResizeImage_V1", + "parameters": [ + { + "in": "query", + "name": "schemaVal", + "x-ms-summary": "Image Resize Type", + "default": "Percentange", + "description": "Set the image resize type", + "type": "string", + "x-ms-visibility": "important", + "enum": ["Percentange", "Specific"] }, - "202": { + { + "in": "body", + "name": "operation", + "schema": { + "$ref": "#/definitions/DtoResizeImage" + } + } + ], + "responses": { + "200": { "description": "Completed successfully!", "headers": { "FileName": { @@ -6536,7 +6770,7 @@ } }, "schema": { - "description": "Output File Content from the PDF4me Connect", + "description": "Output file content from the PDF4me Connect", "format": "binary", "title": "File Content", "type": "string", @@ -6544,44 +6778,405 @@ } } }, - "summary": "getActionStatus_v1", - "description": "getActionStatus_v1", - "operationId": "getActionStatus_v1", - "x-ms-visibility": "internal", - "parameters": [ - { - "name": "id", - "in": "query", - "required": true, - "type": "string" - } - ] + "x-ms-visibility": "important" } }, - "/v2/FlowV2/GetSchema": { - "get": { - "description": "Event details fields from the selection made.", - "summary": "Get Schema", - "operationId": "GetSchema_v1", + "/v2/FlowV2/RemoveEXIFTagsFromImage": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Removes EXIF tags from images. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/remove-exif-tags-from-image/", + "summary": "Remove EXIF Tags From Image", + "operationId": "RemoveExifTagsFromImage_V1", "parameters": [ { - "name": "schemaType", - "type": "string", - "in": "query", - "description": "schemaType", - "required": true, - "default": "flowschemasplitpdf", - "x-ms-url-encoding": "single", - "x-ms-summary": "schemaType" - }, - { - "name": "schemaVal", - "type": "string", - "in": "query", - "description": "schemaVal", - "required": true, - "default": "splitpdf", - "x-ms-url-encoding": "single", + "in": "body", + "name": "body", + "required": false, + "schema": { + "properties": { + "docContent": { + "description": "The content of the input file", + "format": "byte", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + }, + "document": { + "description": "document", + "properties": { + "Name": { + "description": "Name of the file", + "title": "File Name", + "type": "string", + "x-ms-visibility": "important" + } + }, + "required": ["Name"], + "type": "object" + }, + "imageType": { + "title": "Image Type", + "description": "File format of input image", + "type": "string", + "x-ms-visibility": "important", + "enum": ["JPG", "PNG"] + } + }, + "required": ["docContent", "document", "imageType"], + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output file content from the PDF4me Connect", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + } + }, + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/CompressImage": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Compresses an image based on image type and compression level. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/compress-image/", + "summary": "Compress Image", + "operationId": "CompressImage_V1", + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "properties": { + "docContent": { + "description": "The content of the input file", + "format": "byte", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + }, + "document": { + "description": "document", + "properties": { + "Name": { + "description": "Name of the file", + "title": "File Name", + "type": "string", + "x-ms-visibility": "important" + } + }, + "required": ["Name"], + "type": "object" + }, + "imageType": { + "title": "Image Type", + "description": "File format of input image", + "type": "string", + "x-ms-visibility": "important", + "enum": ["JPG", "PNG"] + }, + "compressionLevel": { + "title": "Image Type", + "description": "Compression level for the image", + "type": "string", + "x-ms-visibility": "important", + "enum": ["Max", "Medium", "Low"] + } + }, + "required": ["docContent", "document", "imageType"], + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output file content from the PDF4me Connect", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + } + }, + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/GetCallStatus": { + "get": { + "responses": { + "200": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output File Content from the PDF4me Connect", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + }, + "202": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output File Content from the PDF4me Connect", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + } + }, + "summary": "GetCallStatus_v1", + "description": "GetCallStatus_v1", + "operationId": "GetCallStatus_v1", + "x-ms-visibility": "internal", + "parameters": [ + { + "name": "d", + "in": "query", + "required": true, + "type": "string" + } + ] + } + }, + "/v2/FlowV2/GetActionStatus": { + "get": { + "responses": { + "200": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output File Content from the PDF4me Connect", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + }, + "202": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output File Content from the PDF4me Connect", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + } + }, + "summary": "getActionStatus_v1", + "description": "getActionStatus_v1", + "operationId": "getActionStatus_v1", + "x-ms-visibility": "internal", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "type": "string" + } + ] + } + }, + "/v2/FlowV2/GetSchema": { + "get": { + "description": "Event details fields from the selection made.", + "summary": "Get Schema", + "operationId": "GetSchema_v1", + "parameters": [ + { + "name": "schemaType", + "type": "string", + "in": "query", + "description": "schemaType", + "required": true, + "default": "flowschemasplitpdf", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaType" + }, + { + "name": "schemaVal", + "type": "string", + "in": "query", + "description": "schemaVal", + "required": true, + "default": "splitpdf", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaVal" + } + ], + "responses": { + "200": { + "description": "Success" + } + }, + "x-ms-visibility": "internal" + } + }, + "/v2/FlowDynamicSchema/GetSchemaConvertVisio": { + "get": { + "description": "Event details fields from the selection made.", + "summary": "Get Schema For Convert Visio", + "operationId": "GetSchemaConvertVisio_V1", + "parameters": [ + { + "name": "schemaType", + "type": "string", + "in": "query", + "description": "schemaType", + "required": true, + "default": "flowschemaconvertvisio", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaType" + }, + { + "name": "schemaVal", + "type": "string", + "in": "query", + "description": "schemaVal", + "required": true, + "default": "pdf", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaVal" + } + ], + "responses": { + "200": { + "description": "Success" + } + }, + "x-ms-visibility": "internal" + } + }, + "/v2/FlowDynamicSchema/GetSchemaCropImage": { + "get": { + "description": "Event details fields from the selection made.", + "summary": "Get Schema For Crop Image", + "operationId": "GetSchemaCropImage_V1", + "parameters": [ + { + "name": "schemaType", + "type": "string", + "in": "query", + "description": "schemaType", + "required": true, + "default": "flowschemacropimage", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaType" + }, + { + "name": "schemaVal", + "type": "string", + "in": "query", + "description": "schemaVal", + "required": true, + "default": "border", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaVal" + } + ], + "responses": { + "200": { + "description": "Success" + } + }, + "x-ms-visibility": "internal" + } + }, + "/v2/FlowDynamicSchema/GetSchemaResizeImage": { + "get": { + "description": "Event details fields from the selection made.", + "summary": "Get Schema For Resize Image", + "operationId": "GetSchemaResizeImage_V1", + "parameters": [ + { + "name": "schemaType", + "type": "string", + "in": "query", + "description": "schemaType", + "required": true, + "default": "flowschemaresizeimage", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaType" + }, + { + "name": "schemaVal", + "type": "string", + "in": "query", + "description": "schemaVal", + "required": true, + "default": "percentage", + "x-ms-url-encoding": "single", "x-ms-summary": "schemaVal" } ], @@ -6641,7 +7236,7 @@ "DtoConvertVisio": { "type": "object", "x-ms-dynamic-schema": { - "operationId": "GetSchema_v1", + "operationId": "GetSchemaConvertVisio_V1", "value-path": "flowSchemaConvertVisio", "parameters": { "schemaType": "flowSchemaConvertVisio", @@ -6650,6 +7245,32 @@ } } } + }, + "DtoCropImage": { + "type": "object", + "x-ms-dynamic-schema": { + "operationId": "GetSchemaCropImage_V1", + "value-path": "flowSchemaCropImage", + "parameters": { + "schemaType": "flowSchemaCropImage", + "schemaVal": { + "parameter": "schemaVal" + } + } + } + }, + "DtoResizeImage": { + "type": "object", + "x-ms-dynamic-schema": { + "operationId": "GetSchemaResizeImage_V1", + "value-path": "flowSchemaResizeImage", + "parameters": { + "schemaType": "flowSchemaResizeImage", + "schemaVal": { + "parameter": "schemaVal" + } + } + } } }, "parameters": {}, diff --git a/certified-connectors/PDF4me/apiDefinition.swagger.json b/certified-connectors/PDF4me/apiDefinition.swagger.json index 960e5bf4b8..c1efd99d0d 100644 --- a/certified-connectors/PDF4me/apiDefinition.swagger.json +++ b/certified-connectors/PDF4me/apiDefinition.swagger.json @@ -18,6 +18,7 @@ "/v2/FlowV2/ConvertOcrPdf": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Recognize text and create searchable PDF using OCR. https://dev.pdf4me.com/power-automate/documentation/actions/pdf-ocr/", "operationId": "PdfOcr_V2", "parameters": [ @@ -115,6 +116,7 @@ "/v2/FlowV2/ConvertPdfToExcel": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert PDFs with tabular data into Excel spreadsheets. https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-excel/", "operationId": "PdfToExcel_V2", "parameters": [ @@ -219,6 +221,7 @@ "/v2/FlowV2/ConvertPdfToWord": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert PDF documents to high quality editable Word files. https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-word/", "operationId": "PdfToWord_V2", "parameters": [ @@ -308,6 +311,7 @@ "/v2/FlowV2/ConvertPdfToPowerPoint": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert PDF into Powerpoint Presentation slides. https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-powerpoint/", "operationId": "PdfToPowerPoint_V1", "parameters": [ @@ -397,6 +401,7 @@ "/v2/FlowV2/ConvertToPdf": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert any type of office documents or images into PDFs. https://dev.pdf4me.com/power-automate/documentation/actions/convert-to-pdf/", "operationId": "ConvertToPdf_V2", "parameters": [ @@ -587,6 +592,7 @@ "/v2/FlowV2/CreateImagesV2": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert PDF pages into Images. https://dev.pdf4me.com/power-automate/documentation/actions/create-thumbnail/", "operationId": "CreateThumbnail_V3", "summary": "Create Images from PDF", @@ -2785,6 +2791,7 @@ }, "/v2/FlowV2/ConvertHtmlToPdf": { "post": { + "tags": ["convert"], "responses": { "200": { "description": "File Converted successfully!", @@ -2924,6 +2931,7 @@ }, "/v2/FlowV2/ConvertMdToPdf": { "post": { + "tags": ["convert"], "responses": { "200": { "description": "File Converted successfully!", @@ -2991,6 +2999,7 @@ }, "/v2/FlowV2/ConvertUrlToPdf": { "post": { + "tags": ["convert"], "responses": { "200": { "description": "File Converted successfully!", @@ -4259,9 +4268,10 @@ }, "/v2/FlowV2/GenerateDocumentFromPdf": { "post": { - "summary": "Fill a PDF Form", - "description": "Fill a PDF form using JSON Data. https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/", + "summary": "Fill a PDF Form (Multiple)", + "description": "Fill a PDF form using JSON Data and return multiple files. https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/", "operationId": "GenerateDocumentFromPdf_V1", + "deprecated": true, "x-ms-api-annotation": { "family": "GenerateDocumentFromPdf", "status": "Production", @@ -4334,6 +4344,73 @@ } } }, + "/v2/FlowV2/GenerateDocumentFromPdfV2": { + "post": { + "summary": "Fill a PDF Form", + "description": "Fill a PDF form using JSON Data and return a single PDF. https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/", + "operationId": "GenerateDocumentFromPdf_V2", + "x-ms-api-annotation": { + "family": "GenerateDocumentFromPdf", + "status": "Production", + "revision": 2 + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": false, + "schema": { + "type": "object", + "properties": { + "templateDocContent": { + "type": "string", + "description": "PDF Template file content.", + "title": "Template File Data", + "format": "byte", + "x-ms-visibility": "important" + }, + "templateDocName": { + "type": "string", + "description": "Template file name.", + "title": "Template File Name", + "x-ms-visibility": "important" + }, + "dataArray": { + "type": "string", + "description": "Data Collection as list of object.", + "title": "Form Data", + "x-ms-visibility": "important" + } + }, + "required": ["templateDocName", "templateDocContent", "dataArray"] + } + } + ], + "consumes": ["application/json"], + "responses": { + "200": { + "description": "Completed successfully!", + "schema": { + "type": "string", + "description": "Output file content from the PDF4me API response.", + "title": "File Content", + "format": "binary", + "x-ms-visibility": "important" + }, + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + } + } + } + } + }, "/v2/FlowV2/AddPageNumber": { "post": { "consumes": ["application/json"], @@ -5013,6 +5090,7 @@ }, "/v2/FlowV2/ConvertWordToPdfForm": { "post": { + "tags": ["convert"], "consumes": ["application/json"], "description": "Convert a Word file to PDF with form controls intact. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/convert-word-to-pdf-form/", "summary": "Convert Word to PDF Form", @@ -6171,6 +6249,7 @@ "/v2/FlowV2/ConvertJsonToExcel": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert Json To Excel. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/convert-json-to-excel/", "summary": "Convert Json To Excel", "operationId": "ConvertJsonToExcel_v1", @@ -6296,6 +6375,7 @@ "/v2/FlowV2/ConvertVisio": { "post": { "consumes": ["application/json"], + "tags": ["convert"], "description": "Convert Visio to any format. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/convert-visio/", "summary": "Convert Visio", "operationId": "ConvertVisio_v1", @@ -6353,8 +6433,32 @@ "x-ms-visibility": "important" } }, - "/v2/FlowV2/GetCallStatus": { - "get": { + "/v2/FlowV2/CropImage": { + "post": { + "tags": ["image"], + "consumes": ["application/json"], + "description": "Crop an image through border or rectangle. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/crop-image/", + "summary": "Crop Image", + "operationId": "CropImage_V1", + "parameters": [ + { + "in": "query", + "name": "schemaVal", + "x-ms-summary": "Crop Type", + "default": "Border", + "description": "Set the crop type", + "type": "string", + "x-ms-visibility": "important", + "enum": ["Border", "Rectangle"] + }, + { + "in": "body", + "name": "operation", + "schema": { + "$ref": "#/definitions/DtoCropImage" + } + } + ], "responses": { "200": { "description": "Completed successfully!", @@ -6369,14 +6473,66 @@ } }, "schema": { - "description": "Output File Content from the PDF4me", + "description": "Output file content from the PDF4me API response", "format": "binary", "title": "File Content", "type": "string", "x-ms-visibility": "important" } - }, - "202": { + } + }, + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/FlipImage": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Flip an image horizontally or vertically or both. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/flip-image/", + "summary": "Flip Image", + "operationId": "FlipImage_V1", + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "properties": { + "docContent": { + "description": "The content of the input file", + "format": "byte", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + }, + "document": { + "description": "document", + "properties": { + "Name": { + "description": "Name of the file", + "title": "File Name", + "type": "string", + "x-ms-visibility": "important" + } + }, + "required": ["Name"], + "type": "object" + }, + "orientationType": { + "title": "Orientation Type", + "description": "Set flip orientation", + "type": "string", + "x-ms-visibility": "important", + "enum": ["Horizontal", "Vertical", "HorizontalAndVertical"] + } + }, + "required": ["docContent", "document", "orientationType"], + "type": "object" + } + } + ], + "responses": { + "200": { "description": "Completed successfully!", "headers": { "FileName": { @@ -6389,7 +6545,7 @@ } }, "schema": { - "description": "Output File Content from the PDF4me", + "description": "Output file content from the PDF4me API response", "format": "binary", "title": "File Content", "type": "string", @@ -6397,22 +6553,68 @@ } } }, - "summary": "GetCallStatus_v1", - "description": "GetCallStatus_v1", - "operationId": "GetCallStatus_v1", - "x-ms-visibility": "internal", + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/ConvertImageFormat": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Changes file format of an image file. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/convert-image-format/", + "summary": "Convert Image Format", + "operationId": "ConvertImageFormat_V1", "parameters": [ { - "name": "d", - "in": "query", - "required": true, - "type": "string" + "in": "body", + "name": "body", + "required": false, + "schema": { + "properties": { + "docContent": { + "description": "The content of the input file", + "format": "byte", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + }, + "document": { + "description": "document", + "properties": { + "Name": { + "description": "Name of the file", + "title": "File Name", + "type": "string", + "x-ms-visibility": "important" + } + }, + "required": ["Name"], + "type": "object" + }, + "currentImageFormat": { + "title": "Current Image Format", + "description": "Current image format of the file", + "type": "string", + "x-ms-visibility": "important", + "enum": ["BMP", "JPG", "GIF", "PNG", "TIF"] + }, + "newImageFormat": { + "title": "New Image Format", + "description": "New image format of the file", + "type": "string", + "x-ms-visibility": "important", + "enum": ["BMP", "JPG", "GIF", "PNG", "TIF"] + } + }, + "required": [ + "docContent", + "document", + "currentImageFormat", + "newImageFormat" + ], + "type": "object" + } } - ] - } - }, - "/v2/FlowV2/GetActionStatus": { - "get": { + ], "responses": { "200": { "description": "Completed successfully!", @@ -6427,14 +6629,45 @@ } }, "schema": { - "description": "Output File Content from the PDF4me", + "description": "Output file content from the PDF4me API response", "format": "binary", "title": "File Content", "type": "string", "x-ms-visibility": "important" } + } + }, + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/ResizeImage": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Resize an image based on percentage or specific size. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/resize-image/", + "summary": "Resize Image", + "operationId": "ResizeImage_V1", + "parameters": [ + { + "in": "query", + "name": "schemaVal", + "x-ms-summary": "Image Resize Type", + "default": "Percentange", + "description": "Set the image resize type", + "type": "string", + "x-ms-visibility": "important", + "enum": ["Percentange", "Specific"] }, - "202": { + { + "in": "body", + "name": "operation", + "schema": { + "$ref": "#/definitions/DtoResizeImage" + } + } + ], + "responses": { + "200": { "description": "Completed successfully!", "headers": { "FileName": { @@ -6447,7 +6680,7 @@ } }, "schema": { - "description": "Output File Content from the PDF4me", + "description": "Output file content from the PDF4me API response", "format": "binary", "title": "File Content", "type": "string", @@ -6455,45 +6688,406 @@ } } }, - "summary": "getActionStatus_v1", - "description": "getActionStatus_v1", - "operationId": "getActionStatus_v1", - "x-ms-visibility": "internal", - "parameters": [ - { - "name": "id", - "in": "query", - "required": true, - "type": "string" - } - ] + "x-ms-visibility": "important" } }, - "/v2/FlowV2/GetSchema": { - "get": { - "description": "Event details fields from the selection made.", - "summary": "Get Schema", - "operationId": "GetSchema_v1", + "/v2/FlowV2/RemoveEXIFTagsFromImage": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Removes EXIF tags from images. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/remove-exif-tags-from-image/", + "summary": "Remove EXIF Tags From Image", + "operationId": "RemoveExifTagsFromImage_V1", "parameters": [ { - "name": "schemaType", - "type": "string", - "in": "query", - "description": "schemaType", - "required": true, - "default": "flowschemasplitpdf", - "x-ms-url-encoding": "single", - "x-ms-summary": "schemaType" - }, - { - "name": "schemaVal", - "type": "string", - "in": "query", - "description": "schemaVal", - "required": true, - "default": "splitpdf", - "x-ms-url-encoding": "single", - "x-ms-summary": "schemaVal" + "in": "body", + "name": "body", + "required": false, + "schema": { + "properties": { + "docContent": { + "description": "The content of the input file", + "format": "byte", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + }, + "document": { + "description": "document", + "properties": { + "Name": { + "description": "Name of the file", + "title": "File Name", + "type": "string", + "x-ms-visibility": "important" + } + }, + "required": ["Name"], + "type": "object" + }, + "imageType": { + "title": "Image Type", + "description": "File format of input image", + "type": "string", + "x-ms-visibility": "important", + "enum": ["JPG", "PNG"] + } + }, + "required": ["docContent", "document", "imageType"], + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output file content from the PDF4me API response", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + } + }, + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/CompressImage": { + "post": { + "consumes": ["application/json"], + "tags": ["image"], + "description": "Compresses an image based on image type and compression level. Please refer here for more info - https://dev.pdf4me.com/power-automate/documentation/actions/compress-image/", + "summary": "Compress Image", + "operationId": "CompressImage_V1", + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "properties": { + "docContent": { + "description": "The content of the input file", + "format": "byte", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + }, + "document": { + "description": "document", + "properties": { + "Name": { + "description": "Name of the file", + "title": "File Name", + "type": "string", + "x-ms-visibility": "important" + } + }, + "required": ["Name"], + "type": "object" + }, + "imageType": { + "title": "Image Type", + "description": "File format of input image", + "type": "string", + "x-ms-visibility": "important", + "enum": ["JPG", "PNG"] + }, + "compressionLevel": { + "title": "Image Type", + "description": "Compression level for the image", + "type": "string", + "x-ms-visibility": "important", + "enum": ["Max", "Medium", "Low"] + } + }, + "required": ["docContent", "document", "imageType"], + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output file content from the PDF4me API response", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + } + }, + "x-ms-visibility": "important" + } + }, + "/v2/FlowV2/GetCallStatus": { + "get": { + "responses": { + "200": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output File Content from the PDF4me", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + }, + "202": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output File Content from the PDF4me", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + } + }, + "summary": "GetCallStatus_v1", + "description": "GetCallStatus_v1", + "operationId": "GetCallStatus_v1", + "x-ms-visibility": "internal", + "parameters": [ + { + "name": "d", + "in": "query", + "required": true, + "type": "string" + } + ] + } + }, + "/v2/FlowV2/GetActionStatus": { + "get": { + "responses": { + "200": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output File Content from the PDF4me", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + }, + "202": { + "description": "Completed successfully!", + "headers": { + "FileName": { + "description": "File Name", + "type": "string" + }, + "PageCount": { + "description": "Page Count", + "type": "string" + } + }, + "schema": { + "description": "Output File Content from the PDF4me", + "format": "binary", + "title": "File Content", + "type": "string", + "x-ms-visibility": "important" + } + } + }, + "summary": "getActionStatus_v1", + "description": "getActionStatus_v1", + "operationId": "getActionStatus_v1", + "x-ms-visibility": "internal", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "type": "string" + } + ] + } + }, + "/v2/FlowV2/GetSchema": { + "get": { + "description": "Event details fields from the selection made.", + "summary": "Get Schema", + "operationId": "GetSchema_v1", + "parameters": [ + { + "name": "schemaType", + "type": "string", + "in": "query", + "description": "schemaType", + "required": true, + "default": "flowschemasplitpdf", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaType" + }, + { + "name": "schemaVal", + "type": "string", + "in": "query", + "description": "schemaVal", + "required": true, + "default": "splitpdf", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaVal" + } + ], + "responses": { + "200": { + "description": "Success" + } + }, + "x-ms-visibility": "internal" + } + }, + "/v2/FlowDynamicSchema/GetSchemaConvertVisio": { + "get": { + "description": "Event details fields from the selection made.", + "summary": "Get Schema For Convert Visio", + "operationId": "GetSchemaConvertVisio_V1", + "parameters": [ + { + "name": "schemaType", + "type": "string", + "in": "query", + "description": "schemaType", + "required": true, + "default": "flowschemaconvertvisio", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaType" + }, + { + "name": "schemaVal", + "type": "string", + "in": "query", + "description": "schemaVal", + "required": true, + "default": "pdf", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaVal" + } + ], + "responses": { + "200": { + "description": "Success" + } + }, + "x-ms-visibility": "internal" + } + }, + "/v2/FlowDynamicSchema/GetSchemaCropImage": { + "get": { + "description": "Event details fields from the selection made.", + "summary": "Get Schema For Crop Image", + "operationId": "GetSchemaCropImage_V1", + "parameters": [ + { + "name": "schemaType", + "type": "string", + "in": "query", + "description": "schemaType", + "required": true, + "default": "flowschemacropimage", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaType" + }, + { + "name": "schemaVal", + "type": "string", + "in": "query", + "description": "schemaVal", + "required": true, + "default": "border", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaVal" + } + ], + "responses": { + "200": { + "description": "Success" + } + }, + "x-ms-visibility": "internal" + } + }, + "/v2/FlowDynamicSchema/GetSchemaResizeImage": { + "get": { + "description": "Event details fields from the selection made.", + "summary": "Get Schema For Resize Image", + "operationId": "GetSchemaResizeImage_V1", + "parameters": [ + { + "name": "schemaType", + "type": "string", + "in": "query", + "description": "schemaType", + "required": true, + "default": "flowschemaresizeimage", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaType" + }, + { + "name": "schemaVal", + "type": "string", + "in": "query", + "description": "schemaVal", + "required": true, + "default": "percentage", + "x-ms-url-encoding": "single", + "x-ms-summary": "schemaVal" } ], "responses": { @@ -6552,7 +7146,7 @@ "DtoConvertVisio": { "type": "object", "x-ms-dynamic-schema": { - "operationId": "GetSchema_v1", + "operationId": "GetSchemaConvertVisio_V1", "value-path": "flowSchemaConvertVisio", "parameters": { "schemaType": "flowSchemaConvertVisio", @@ -6561,6 +7155,32 @@ } } } + }, + "DtoCropImage": { + "type": "object", + "x-ms-dynamic-schema": { + "operationId": "GetSchemaCropImage_V1", + "value-path": "flowSchemaCropImage", + "parameters": { + "schemaType": "flowSchemaCropImage", + "schemaVal": { + "parameter": "schemaVal" + } + } + } + }, + "DtoResizeImage": { + "type": "object", + "x-ms-dynamic-schema": { + "operationId": "GetSchemaResizeImage_V1", + "value-path": "flowSchemaResizeImage", + "parameters": { + "schemaType": "flowSchemaResizeImage", + "schemaVal": { + "parameter": "schemaVal" + } + } + } } }, "produces": [],