cloudmersive-convert-api-client 2.0.2 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -0
- data/README.md +579 -0
- data/Rakefile +8 -0
- data/cloudmersive-convert-api-client.gemspec +45 -0
- data/docs/AddPdfAnnotationRequest.md +9 -0
- data/docs/AlternateFileFormatCandidate.md +10 -0
- data/docs/AppendXlsxRowRequest.md +11 -0
- data/docs/AppendXlsxRowResponse.md +9 -0
- data/docs/AutodetectDocumentValidationResult.md +12 -0
- data/docs/AutodetectGetInfoResult.md +14 -0
- data/docs/AutodetectToJpgResult.md +9 -0
- data/docs/AutodetectToPngResult.md +9 -0
- data/docs/AutodetectToThumbnailsResult.md +9 -0
- data/docs/Base64DecodeRequest.md +8 -0
- data/docs/Base64DecodeResponse.md +9 -0
- data/docs/Base64DetectRequest.md +8 -0
- data/docs/Base64DetectResponse.md +9 -0
- data/docs/Base64EncodeRequest.md +8 -0
- data/docs/Base64EncodeResponse.md +9 -0
- data/docs/ChangeLineEndingResponse.md +9 -0
- data/docs/ClearXlsxCellRequest.md +12 -0
- data/docs/ClearXlsxCellResponse.md +9 -0
- data/docs/ClearXlsxRowRequest.md +11 -0
- data/docs/ClearXlsxRowResponse.md +9 -0
- data/docs/CompareDocumentApi.md +66 -0
- data/docs/ConvertDataApi.md +902 -0
- data/docs/ConvertDocumentApi.md +4344 -0
- data/docs/ConvertImageApi.md +243 -0
- data/docs/ConvertTemplateApi.md +122 -0
- data/docs/ConvertWebApi.md +448 -0
- data/docs/ConvertedJpgPage.md +9 -0
- data/docs/ConvertedPngPage.md +9 -0
- data/docs/CreateBlankDocxRequest.md +8 -0
- data/docs/CreateBlankDocxResponse.md +9 -0
- data/docs/CreateBlankSpreadsheetRequest.md +8 -0
- data/docs/CreateBlankSpreadsheetResponse.md +9 -0
- data/docs/CreateSpreadsheetFromDataRequest.md +9 -0
- data/docs/CreateSpreadsheetFromDataResponse.md +9 -0
- data/docs/CreateZipArchiveRequest.md +9 -0
- data/docs/CsvCollection.md +10 -0
- data/docs/CsvFileResult.md +9 -0
- data/docs/DeleteDocxTableRowRangeRequest.md +12 -0
- data/docs/DeleteDocxTableRowRangeResponse.md +9 -0
- data/docs/DeleteDocxTableRowRequest.md +11 -0
- data/docs/DeleteDocxTableRowResponse.md +9 -0
- data/docs/DetectLineEndingsResponse.md +11 -0
- data/docs/DisableSharedWorkbookRequest.md +9 -0
- data/docs/DisableSharedWorkbookResponse.md +9 -0
- data/docs/DocumentValidationError.md +11 -0
- data/docs/DocumentValidationResult.md +12 -0
- data/docs/DocxBody.md +10 -0
- data/docs/DocxCellStyle.md +11 -0
- data/docs/DocxComment.md +16 -0
- data/docs/DocxFooter.md +10 -0
- data/docs/DocxHeader.md +10 -0
- data/docs/DocxImage.md +20 -0
- data/docs/DocxInsertCommentOnParagraphRequest.md +11 -0
- data/docs/DocxInsertImageRequest.md +16 -0
- data/docs/DocxInsertImageResponse.md +9 -0
- data/docs/DocxPage.md +9 -0
- data/docs/DocxParagraph.md +11 -0
- data/docs/DocxRemoveObjectRequest.md +10 -0
- data/docs/DocxRemoveObjectResponse.md +9 -0
- data/docs/DocxRun.md +15 -0
- data/docs/DocxSection.md +9 -0
- data/docs/DocxSetFooterAddPageNumberRequest.md +10 -0
- data/docs/DocxSetFooterRequest.md +10 -0
- data/docs/DocxSetFooterResponse.md +9 -0
- data/docs/DocxSetHeaderRequest.md +10 -0
- data/docs/DocxSetHeaderResponse.md +9 -0
- data/docs/DocxStyle.md +14 -0
- data/docs/DocxTable.md +46 -0
- data/docs/DocxTableCell.md +15 -0
- data/docs/DocxTableRow.md +10 -0
- data/docs/DocxTemplateApplicationRequest.md +8 -0
- data/docs/DocxTemplateOperation.md +10 -0
- data/docs/DocxText.md +10 -0
- data/docs/DocxToJpgResult.md +9 -0
- data/docs/DocxToPngResult.md +9 -0
- data/docs/DocxTopLevelComment.md +14 -0
- data/docs/EditDocumentApi.md +3033 -0
- data/docs/EditHtmlApi.md +261 -0
- data/docs/EditPdfApi.md +1083 -0
- data/docs/EditTextApi.md +726 -0
- data/docs/EmlAttachment.md +9 -0
- data/docs/EmlToHtmlResult.md +16 -0
- data/docs/EmlToJpgResult.md +9 -0
- data/docs/EmlToPngResult.md +9 -0
- data/docs/EnableSharedWorkbookRequest.md +9 -0
- data/docs/EnableSharedWorkbookResponse.md +9 -0
- data/docs/ExifValue.md +10 -0
- data/docs/FindDocxParagraphRequest.md +11 -0
- data/docs/FindDocxParagraphResponse.md +10 -0
- data/docs/FindRegexMatch.md +12 -0
- data/docs/FindStringMatch.md +10 -0
- data/docs/FindStringRegexRequest.md +10 -0
- data/docs/FindStringRegexResponse.md +10 -0
- data/docs/FindStringSimpleRequest.md +9 -0
- data/docs/FindStringSimpleResponse.md +10 -0
- data/docs/FinishEditingRequest.md +8 -0
- data/docs/GetDocxBodyRequest.md +9 -0
- data/docs/GetDocxBodyResponse.md +9 -0
- data/docs/GetDocxCommentsHierarchicalResponse.md +10 -0
- data/docs/GetDocxCommentsResponse.md +10 -0
- data/docs/GetDocxGetCommentsHierarchicalRequest.md +9 -0
- data/docs/GetDocxGetCommentsRequest.md +9 -0
- data/docs/GetDocxHeadersAndFootersRequest.md +9 -0
- data/docs/GetDocxHeadersAndFootersResponse.md +10 -0
- data/docs/GetDocxImagesRequest.md +9 -0
- data/docs/GetDocxImagesResponse.md +9 -0
- data/docs/GetDocxPagesRequest.md +10 -0
- data/docs/GetDocxPagesResponse.md +10 -0
- data/docs/GetDocxSectionsRequest.md +9 -0
- data/docs/GetDocxSectionsResponse.md +9 -0
- data/docs/GetDocxStylesRequest.md +9 -0
- data/docs/GetDocxStylesResponse.md +9 -0
- data/docs/GetDocxTableByIndexRequest.md +10 -0
- data/docs/GetDocxTableByIndexResponse.md +9 -0
- data/docs/GetDocxTableRowRequest.md +11 -0
- data/docs/GetDocxTableRowResponse.md +9 -0
- data/docs/GetDocxTablesRequest.md +9 -0
- data/docs/GetDocxTablesResponse.md +9 -0
- data/docs/GetFileTypeIconResult.md +10 -0
- data/docs/GetImageInfoResult.md +24 -0
- data/docs/GetPdfAnnotationsResult.md +9 -0
- data/docs/GetXlsxCellByIdentifierRequest.md +11 -0
- data/docs/GetXlsxCellByIdentifierResponse.md +9 -0
- data/docs/GetXlsxCellRequest.md +12 -0
- data/docs/GetXlsxCellResponse.md +9 -0
- data/docs/GetXlsxColumnsRequest.md +10 -0
- data/docs/GetXlsxColumnsResponse.md +9 -0
- data/docs/GetXlsxImagesRequest.md +10 -0
- data/docs/GetXlsxImagesResponse.md +9 -0
- data/docs/GetXlsxRowsAndCellsRequest.md +10 -0
- data/docs/GetXlsxRowsAndCellsResponse.md +9 -0
- data/docs/GetXlsxSpecificRowRequest.md +11 -0
- data/docs/GetXlsxSpecificRowResponse.md +9 -0
- data/docs/GetXlsxStylesRequest.md +9 -0
- data/docs/GetXlsxStylesResponse.md +9 -0
- data/docs/GetXlsxWorksheetsRequest.md +9 -0
- data/docs/GetXlsxWorksheetsResponse.md +9 -0
- data/docs/HtmlMdResult.md +9 -0
- data/docs/HtmlTemplateApplicationRequest.md +10 -0
- data/docs/HtmlTemplateApplicationResponse.md +9 -0
- data/docs/HtmlTemplateOperation.md +10 -0
- data/docs/HtmlToOfficeRequest.md +8 -0
- data/docs/HtmlToPdfRequest.md +11 -0
- data/docs/HtmlToPngRequest.md +11 -0
- data/docs/HtmlToTextRequest.md +8 -0
- data/docs/HtmlToTextResponse.md +9 -0
- data/docs/InsertDocxCommentOnParagraphResponse.md +9 -0
- data/docs/InsertDocxInsertParagraphRequest.md +12 -0
- data/docs/InsertDocxInsertParagraphResponse.md +9 -0
- data/docs/InsertDocxTableRowRequest.md +12 -0
- data/docs/InsertDocxTableRowResponse.md +9 -0
- data/docs/InsertDocxTablesRequest.md +12 -0
- data/docs/InsertDocxTablesResponse.md +9 -0
- data/docs/InsertXlsxWorksheetRequest.md +10 -0
- data/docs/InsertXlsxWorksheetResponse.md +9 -0
- data/docs/KeynoteToJpgResult.md +9 -0
- data/docs/KeynoteToPngResult.md +9 -0
- data/docs/MergeDocumentApi.md +812 -0
- data/docs/MsgAttachment.md +9 -0
- data/docs/MsgToHtmlResult.md +16 -0
- data/docs/MsgToJpgResult.md +9 -0
- data/docs/MsgToPngResult.md +9 -0
- data/docs/MultiReplaceStringRequest.md +10 -0
- data/docs/MultipageImageFormatConversionResult.md +10 -0
- data/docs/OdpToJpgResult.md +9 -0
- data/docs/OdpToPngResult.md +9 -0
- data/docs/OdsToJpgResult.md +9 -0
- data/docs/OdsToPngResult.md +9 -0
- data/docs/OdtToJpgResult.md +9 -0
- data/docs/OdtToPngResult.md +9 -0
- data/docs/PageConversionResult.md +9 -0
- data/docs/PdfAnnotation.md +19 -0
- data/docs/PdfDocument.md +10 -0
- data/docs/PdfFormField.md +11 -0
- data/docs/PdfFormFields.md +9 -0
- data/docs/PdfMetadata.md +16 -0
- data/docs/PdfPageText.md +9 -0
- data/docs/PdfTextByPageResult.md +9 -0
- data/docs/PdfToJpgResult.md +9 -0
- data/docs/PdfToPngResult.md +9 -0
- data/docs/PptxToPngResult.md +9 -0
- data/docs/PresentationResult.md +10 -0
- data/docs/RemoveDocxHeadersAndFootersRequest.md +11 -0
- data/docs/RemoveDocxHeadersAndFootersResponse.md +9 -0
- data/docs/RemoveDocxPagesRequest.md +11 -0
- data/docs/RemoveHtmlFromTextRequest.md +8 -0
- data/docs/RemoveHtmlFromTextResponse.md +9 -0
- data/docs/RemovePptxSlidesRequest.md +11 -0
- data/docs/RemoveWhitespaceFromTextRequest.md +8 -0
- data/docs/RemoveWhitespaceFromTextResponse.md +9 -0
- data/docs/RemoveXlsxWorksheetRequest.md +10 -0
- data/docs/RenameXlsxWorksheetRequest.md +11 -0
- data/docs/RenameXlsxWorksheetResponse.md +9 -0
- data/docs/ReplaceDocxParagraphRequest.md +12 -0
- data/docs/ReplaceDocxParagraphResponse.md +9 -0
- data/docs/ReplaceStringRegexRequest.md +10 -0
- data/docs/ReplaceStringRegexResponse.md +9 -0
- data/docs/ReplaceStringRequest.md +12 -0
- data/docs/ReplaceStringSimpleRequest.md +10 -0
- data/docs/ReplaceStringSimpleResponse.md +9 -0
- data/docs/RtfToJpgResult.md +9 -0
- data/docs/RtfToPngResult.md +9 -0
- data/docs/ScreenshotRequest.md +11 -0
- data/docs/SetFormFieldValue.md +11 -0
- data/docs/SetPdfFormFieldsRequest.md +9 -0
- data/docs/SetPdfMetadataRequest.md +9 -0
- data/docs/SetXlsxCellByIdentifierRequest.md +12 -0
- data/docs/SetXlsxCellByIdentifierResponse.md +9 -0
- data/docs/SetXlsxCellRequest.md +13 -0
- data/docs/SetXlsxCellResponse.md +9 -0
- data/docs/SingleReplaceString.md +10 -0
- data/docs/SplitDocumentApi.md +361 -0
- data/docs/SplitDocumentResult.md +10 -0
- data/docs/SplitDocxDocumentResult.md +9 -0
- data/docs/SplitPdfResult.md +9 -0
- data/docs/SplitPptxPresentationResult.md +9 -0
- data/docs/SplitTextDocumentByLinesResult.md +10 -0
- data/docs/SplitTextDocumentByStringResult.md +10 -0
- data/docs/SplitXlsxWorksheetResult.md +9 -0
- data/docs/TextConversionResult.md +9 -0
- data/docs/TextDocumentElement.md +9 -0
- data/docs/TextDocumentLine.md +9 -0
- data/docs/TextEncodingDetectResponse.md +9 -0
- data/docs/Thumbnail.md +9 -0
- data/docs/TransformDocumentApi.md +140 -0
- data/docs/UpdateDocxTableCellRequest.md +13 -0
- data/docs/UpdateDocxTableCellResponse.md +9 -0
- data/docs/UpdateDocxTableRowRequest.md +12 -0
- data/docs/UpdateDocxTableRowResponse.md +9 -0
- data/docs/UrlToPdfRequest.md +11 -0
- data/docs/UrlToTextRequest.md +8 -0
- data/docs/UrlToTextResponse.md +9 -0
- data/docs/ValidateDocumentApi.md +833 -0
- data/docs/ViewerResponse.md +9 -0
- data/docs/ViewerToolsApi.md +63 -0
- data/docs/WorksheetResult.md +11 -0
- data/docs/XlsxImage.md +12 -0
- data/docs/XlsxSpreadsheetCell.md +12 -0
- data/docs/XlsxSpreadsheetColumn.md +9 -0
- data/docs/XlsxSpreadsheetRow.md +9 -0
- data/docs/XlsxToPngResult.md +9 -0
- data/docs/XlsxWorksheet.md +9 -0
- data/docs/XmlAddAttributeWithXPathResult.md +10 -0
- data/docs/XmlAddChildWithXPathResult.md +10 -0
- data/docs/XmlFilterWithXPathResult.md +10 -0
- data/docs/XmlQueryWithXQueryMultiResult.md +10 -0
- data/docs/XmlQueryWithXQueryResult.md +10 -0
- data/docs/XmlRemoveAllChildrenWithXPathResult.md +10 -0
- data/docs/XmlRemoveWithXPathResult.md +11 -0
- data/docs/XmlReplaceWithXPathResult.md +10 -0
- data/docs/XmlSetValueWithXPathResult.md +10 -0
- data/docs/ZipArchiveApi.md +306 -0
- data/docs/ZipDirectory.md +10 -0
- data/docs/ZipEncryptionAdvancedRequest.md +10 -0
- data/docs/ZipExtractResponse.md +10 -0
- data/docs/ZipFile.md +9 -0
- data/git_push.sh +55 -0
- data/lib/cloudmersive-convert-api-client.rb +295 -0
- data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +85 -0
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +966 -0
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +4360 -0
- data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +273 -0
- data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +135 -0
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +456 -0
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +2994 -0
- data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +270 -0
- data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +1163 -0
- data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +735 -0
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +911 -0
- data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +375 -0
- data/lib/cloudmersive-convert-api-client/api/transform_document_api.rb +161 -0
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +848 -0
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +78 -0
- data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +330 -0
- data/lib/cloudmersive-convert-api-client/api_client.rb +391 -0
- data/lib/cloudmersive-convert-api-client/api_error.rb +38 -0
- data/lib/cloudmersive-convert-api-client/configuration.rb +209 -0
- data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +213 -0
- data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/append_xlsx_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/append_xlsx_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +227 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +248 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_thumbnails_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +201 -0
- data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/converted_jpg_page.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +200 -0
- data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +228 -0
- data/lib/cloudmersive-convert-api-client/models/docx_body.rb +209 -0
- data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +266 -0
- data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/docx_header.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/docx_image.rb +305 -0
- data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +296 -0
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_page.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +218 -0
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_run.rb +258 -0
- data/lib/cloudmersive-convert-api-client/models/docx_section.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_style.rb +246 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table.rb +568 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +258 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +188 -0
- data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +239 -0
- data/lib/cloudmersive-convert-api-client/models/docx_text.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/docx_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +248 -0
- data/lib/cloudmersive-convert-api-client/models/eml_attachment.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/eml_to_html_result.rb +268 -0
- data/lib/cloudmersive-convert-api-client/models/eml_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/eml_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/exif_value.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +228 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +347 -0
- data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_specific_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_specific_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +239 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/keynote_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/keynote_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/msg_attachment.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/msg_to_html_result.rb +268 -0
- data/lib/cloudmersive-convert-api-client/models/msg_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/msg_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/multi_replace_string_request.rb +223 -0
- data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/odp_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/odp_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/ods_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/ods_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/odt_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/odt_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +296 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +266 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pptx_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/rename_xlsx_worksheet_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/rename_xlsx_worksheet_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/rtf_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/rtf_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +213 -0
- data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +251 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/single_replace_string.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +197 -0
- data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +197 -0
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +207 -0
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +207 -0
- data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +197 -0
- data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/thumbnail.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +251 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +194 -0
- data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +218 -0
- data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/zip_file.rb +211 -0
- data/lib/cloudmersive-convert-api-client/version.rb +15 -0
- data/spec/api/compare_document_api_spec.rb +48 -0
- data/spec/api/convert_data_api_spec.rb +240 -0
- data/spec/api/convert_document_api_spec.rb +998 -0
- data/spec/api/convert_image_api_spec.rb +88 -0
- data/spec/api/convert_template_api_spec.rb +60 -0
- data/spec/api/convert_web_api_spec.rb +131 -0
- data/spec/api/edit_document_api_spec.rb +695 -0
- data/spec/api/edit_html_api_spec.rb +96 -0
- data/spec/api/edit_pdf_api_spec.rb +282 -0
- data/spec/api/edit_text_api_spec.rb +192 -0
- data/spec/api/merge_document_api_spec.rb +239 -0
- data/spec/api/split_document_api_spec.rb +113 -0
- data/spec/api/transform_document_api_spec.rb +67 -0
- data/spec/api/validate_document_api_spec.rb +215 -0
- data/spec/api/viewer_tools_api_spec.rb +47 -0
- data/spec/api/zip_archive_api_spec.rb +105 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/add_pdf_annotation_request_spec.rb +47 -0
- data/spec/models/alternate_file_format_candidate_spec.rb +53 -0
- data/spec/models/append_xlsx_row_request_spec.rb +59 -0
- data/spec/models/append_xlsx_row_response_spec.rb +47 -0
- data/spec/models/autodetect_document_validation_result_spec.rb +65 -0
- data/spec/models/autodetect_get_info_result_spec.rb +77 -0
- data/spec/models/autodetect_to_jpg_result_spec.rb +47 -0
- data/spec/models/autodetect_to_png_result_spec.rb +47 -0
- data/spec/models/autodetect_to_thumbnails_result_spec.rb +47 -0
- data/spec/models/base64_decode_request_spec.rb +41 -0
- data/spec/models/base64_decode_response_spec.rb +47 -0
- data/spec/models/base64_detect_request_spec.rb +41 -0
- data/spec/models/base64_detect_response_spec.rb +47 -0
- data/spec/models/base64_encode_request_spec.rb +41 -0
- data/spec/models/base64_encode_response_spec.rb +47 -0
- data/spec/models/change_line_ending_response_spec.rb +47 -0
- data/spec/models/clear_xlsx_cell_request_spec.rb +65 -0
- data/spec/models/clear_xlsx_cell_response_spec.rb +47 -0
- data/spec/models/clear_xlsx_row_request_spec.rb +59 -0
- data/spec/models/clear_xlsx_row_response_spec.rb +47 -0
- data/spec/models/converted_jpg_page_spec.rb +47 -0
- data/spec/models/converted_png_page_spec.rb +47 -0
- data/spec/models/create_blank_docx_request_spec.rb +41 -0
- data/spec/models/create_blank_docx_response_spec.rb +47 -0
- data/spec/models/create_blank_spreadsheet_request_spec.rb +41 -0
- data/spec/models/create_blank_spreadsheet_response_spec.rb +47 -0
- data/spec/models/create_spreadsheet_from_data_request_spec.rb +47 -0
- data/spec/models/create_spreadsheet_from_data_response_spec.rb +47 -0
- data/spec/models/create_zip_archive_request_spec.rb +47 -0
- data/spec/models/csv_collection_spec.rb +53 -0
- data/spec/models/csv_file_result_spec.rb +47 -0
- data/spec/models/delete_docx_table_row_range_request_spec.rb +65 -0
- data/spec/models/delete_docx_table_row_range_response_spec.rb +47 -0
- data/spec/models/delete_docx_table_row_request_spec.rb +59 -0
- data/spec/models/delete_docx_table_row_response_spec.rb +47 -0
- data/spec/models/detect_line_endings_response_spec.rb +59 -0
- data/spec/models/disable_shared_workbook_request_spec.rb +47 -0
- data/spec/models/disable_shared_workbook_response_spec.rb +47 -0
- data/spec/models/document_validation_error_spec.rb +59 -0
- data/spec/models/document_validation_result_spec.rb +65 -0
- data/spec/models/docx_body_spec.rb +53 -0
- data/spec/models/docx_cell_style_spec.rb +59 -0
- data/spec/models/docx_comment_spec.rb +89 -0
- data/spec/models/docx_footer_spec.rb +53 -0
- data/spec/models/docx_header_spec.rb +53 -0
- data/spec/models/docx_image_spec.rb +113 -0
- data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +59 -0
- data/spec/models/docx_insert_image_request_spec.rb +89 -0
- data/spec/models/docx_insert_image_response_spec.rb +47 -0
- data/spec/models/docx_page_spec.rb +47 -0
- data/spec/models/docx_paragraph_spec.rb +59 -0
- data/spec/models/docx_remove_object_request_spec.rb +53 -0
- data/spec/models/docx_remove_object_response_spec.rb +47 -0
- data/spec/models/docx_run_spec.rb +83 -0
- data/spec/models/docx_section_spec.rb +47 -0
- data/spec/models/docx_set_footer_add_page_number_request_spec.rb +53 -0
- data/spec/models/docx_set_footer_request_spec.rb +53 -0
- data/spec/models/docx_set_footer_response_spec.rb +47 -0
- data/spec/models/docx_set_header_request_spec.rb +53 -0
- data/spec/models/docx_set_header_response_spec.rb +47 -0
- data/spec/models/docx_style_spec.rb +77 -0
- data/spec/models/docx_table_cell_spec.rb +83 -0
- data/spec/models/docx_table_row_spec.rb +53 -0
- data/spec/models/docx_table_spec.rb +269 -0
- data/spec/models/docx_template_application_request_spec.rb +41 -0
- data/spec/models/docx_template_operation_spec.rb +57 -0
- data/spec/models/docx_text_spec.rb +53 -0
- data/spec/models/docx_to_jpg_result_spec.rb +47 -0
- data/spec/models/docx_to_png_result_spec.rb +47 -0
- data/spec/models/docx_top_level_comment_spec.rb +77 -0
- data/spec/models/eml_attachment_spec.rb +47 -0
- data/spec/models/eml_to_html_result_spec.rb +89 -0
- data/spec/models/eml_to_jpg_result_spec.rb +47 -0
- data/spec/models/eml_to_png_result_spec.rb +47 -0
- data/spec/models/enable_shared_workbook_request_spec.rb +47 -0
- data/spec/models/enable_shared_workbook_response_spec.rb +47 -0
- data/spec/models/exif_value_spec.rb +53 -0
- data/spec/models/find_docx_paragraph_request_spec.rb +59 -0
- data/spec/models/find_docx_paragraph_response_spec.rb +53 -0
- data/spec/models/find_regex_match_spec.rb +65 -0
- data/spec/models/find_string_match_spec.rb +53 -0
- data/spec/models/find_string_regex_request_spec.rb +53 -0
- data/spec/models/find_string_regex_response_spec.rb +53 -0
- data/spec/models/find_string_simple_request_spec.rb +47 -0
- data/spec/models/find_string_simple_response_spec.rb +53 -0
- data/spec/models/finish_editing_request_spec.rb +41 -0
- data/spec/models/get_docx_body_request_spec.rb +47 -0
- data/spec/models/get_docx_body_response_spec.rb +47 -0
- data/spec/models/get_docx_comments_hierarchical_response_spec.rb +53 -0
- data/spec/models/get_docx_comments_response_spec.rb +53 -0
- data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +47 -0
- data/spec/models/get_docx_get_comments_request_spec.rb +47 -0
- data/spec/models/get_docx_headers_and_footers_request_spec.rb +47 -0
- data/spec/models/get_docx_headers_and_footers_response_spec.rb +53 -0
- data/spec/models/get_docx_images_request_spec.rb +47 -0
- data/spec/models/get_docx_images_response_spec.rb +47 -0
- data/spec/models/get_docx_pages_request_spec.rb +53 -0
- data/spec/models/get_docx_pages_response_spec.rb +53 -0
- data/spec/models/get_docx_sections_request_spec.rb +47 -0
- data/spec/models/get_docx_sections_response_spec.rb +47 -0
- data/spec/models/get_docx_styles_request_spec.rb +47 -0
- data/spec/models/get_docx_styles_response_spec.rb +47 -0
- data/spec/models/get_docx_table_by_index_request_spec.rb +53 -0
- data/spec/models/get_docx_table_by_index_response_spec.rb +47 -0
- data/spec/models/get_docx_table_row_request_spec.rb +59 -0
- data/spec/models/get_docx_table_row_response_spec.rb +47 -0
- data/spec/models/get_docx_tables_request_spec.rb +47 -0
- data/spec/models/get_docx_tables_response_spec.rb +47 -0
- data/spec/models/get_file_type_icon_result_spec.rb +53 -0
- data/spec/models/get_image_info_result_spec.rb +137 -0
- data/spec/models/get_pdf_annotations_result_spec.rb +47 -0
- data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +59 -0
- data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +47 -0
- data/spec/models/get_xlsx_cell_request_spec.rb +65 -0
- data/spec/models/get_xlsx_cell_response_spec.rb +47 -0
- data/spec/models/get_xlsx_columns_request_spec.rb +53 -0
- data/spec/models/get_xlsx_columns_response_spec.rb +47 -0
- data/spec/models/get_xlsx_images_request_spec.rb +53 -0
- data/spec/models/get_xlsx_images_response_spec.rb +47 -0
- data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +53 -0
- data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +47 -0
- data/spec/models/get_xlsx_specific_row_request_spec.rb +59 -0
- data/spec/models/get_xlsx_specific_row_response_spec.rb +47 -0
- data/spec/models/get_xlsx_styles_request_spec.rb +47 -0
- data/spec/models/get_xlsx_styles_response_spec.rb +47 -0
- data/spec/models/get_xlsx_worksheets_request_spec.rb +47 -0
- data/spec/models/get_xlsx_worksheets_response_spec.rb +47 -0
- data/spec/models/html_md_result_spec.rb +47 -0
- data/spec/models/html_template_application_request_spec.rb +53 -0
- data/spec/models/html_template_application_response_spec.rb +47 -0
- data/spec/models/html_template_operation_spec.rb +57 -0
- data/spec/models/html_to_office_request_spec.rb +41 -0
- data/spec/models/html_to_pdf_request_spec.rb +59 -0
- data/spec/models/html_to_png_request_spec.rb +59 -0
- data/spec/models/html_to_text_request_spec.rb +41 -0
- data/spec/models/html_to_text_response_spec.rb +47 -0
- data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +47 -0
- data/spec/models/insert_docx_insert_paragraph_request_spec.rb +65 -0
- data/spec/models/insert_docx_insert_paragraph_response_spec.rb +47 -0
- data/spec/models/insert_docx_table_row_request_spec.rb +65 -0
- data/spec/models/insert_docx_table_row_response_spec.rb +47 -0
- data/spec/models/insert_docx_tables_request_spec.rb +65 -0
- data/spec/models/insert_docx_tables_response_spec.rb +47 -0
- data/spec/models/insert_xlsx_worksheet_request_spec.rb +53 -0
- data/spec/models/insert_xlsx_worksheet_response_spec.rb +47 -0
- data/spec/models/keynote_to_jpg_result_spec.rb +47 -0
- data/spec/models/keynote_to_png_result_spec.rb +47 -0
- data/spec/models/msg_attachment_spec.rb +47 -0
- data/spec/models/msg_to_html_result_spec.rb +89 -0
- data/spec/models/msg_to_jpg_result_spec.rb +47 -0
- data/spec/models/msg_to_png_result_spec.rb +47 -0
- data/spec/models/multi_replace_string_request_spec.rb +53 -0
- data/spec/models/multipage_image_format_conversion_result_spec.rb +53 -0
- data/spec/models/odp_to_jpg_result_spec.rb +47 -0
- data/spec/models/odp_to_png_result_spec.rb +47 -0
- data/spec/models/ods_to_jpg_result_spec.rb +47 -0
- data/spec/models/ods_to_png_result_spec.rb +47 -0
- data/spec/models/odt_to_jpg_result_spec.rb +47 -0
- data/spec/models/odt_to_png_result_spec.rb +47 -0
- data/spec/models/page_conversion_result_spec.rb +47 -0
- data/spec/models/pdf_annotation_spec.rb +107 -0
- data/spec/models/pdf_document_spec.rb +53 -0
- data/spec/models/pdf_form_field_spec.rb +59 -0
- data/spec/models/pdf_form_fields_spec.rb +47 -0
- data/spec/models/pdf_metadata_spec.rb +89 -0
- data/spec/models/pdf_page_text_spec.rb +47 -0
- data/spec/models/pdf_text_by_page_result_spec.rb +47 -0
- data/spec/models/pdf_to_jpg_result_spec.rb +47 -0
- data/spec/models/pdf_to_png_result_spec.rb +47 -0
- data/spec/models/pptx_to_png_result_spec.rb +47 -0
- data/spec/models/presentation_result_spec.rb +53 -0
- data/spec/models/remove_docx_headers_and_footers_request_spec.rb +59 -0
- data/spec/models/remove_docx_headers_and_footers_response_spec.rb +47 -0
- data/spec/models/remove_docx_pages_request_spec.rb +59 -0
- data/spec/models/remove_html_from_text_request_spec.rb +41 -0
- data/spec/models/remove_html_from_text_response_spec.rb +47 -0
- data/spec/models/remove_pptx_slides_request_spec.rb +59 -0
- data/spec/models/remove_whitespace_from_text_request_spec.rb +41 -0
- data/spec/models/remove_whitespace_from_text_response_spec.rb +47 -0
- data/spec/models/remove_xlsx_worksheet_request_spec.rb +53 -0
- data/spec/models/rename_xlsx_worksheet_request_spec.rb +59 -0
- data/spec/models/rename_xlsx_worksheet_response_spec.rb +47 -0
- data/spec/models/replace_docx_paragraph_request_spec.rb +65 -0
- data/spec/models/replace_docx_paragraph_response_spec.rb +47 -0
- data/spec/models/replace_string_regex_request_spec.rb +53 -0
- data/spec/models/replace_string_regex_response_spec.rb +47 -0
- data/spec/models/replace_string_request_spec.rb +65 -0
- data/spec/models/replace_string_simple_request_spec.rb +53 -0
- data/spec/models/replace_string_simple_response_spec.rb +47 -0
- data/spec/models/rtf_to_jpg_result_spec.rb +47 -0
- data/spec/models/rtf_to_png_result_spec.rb +47 -0
- data/spec/models/screenshot_request_spec.rb +59 -0
- data/spec/models/set_form_field_value_spec.rb +59 -0
- data/spec/models/set_pdf_form_fields_request_spec.rb +47 -0
- data/spec/models/set_pdf_metadata_request_spec.rb +47 -0
- data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +65 -0
- data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +47 -0
- data/spec/models/set_xlsx_cell_request_spec.rb +71 -0
- data/spec/models/set_xlsx_cell_response_spec.rb +47 -0
- data/spec/models/single_replace_string_spec.rb +53 -0
- data/spec/models/split_document_result_spec.rb +53 -0
- data/spec/models/split_docx_document_result_spec.rb +47 -0
- data/spec/models/split_pdf_result_spec.rb +47 -0
- data/spec/models/split_pptx_presentation_result_spec.rb +47 -0
- data/spec/models/split_text_document_by_lines_result_spec.rb +53 -0
- data/spec/models/split_text_document_by_string_result_spec.rb +53 -0
- data/spec/models/split_xlsx_worksheet_result_spec.rb +47 -0
- data/spec/models/text_conversion_result_spec.rb +47 -0
- data/spec/models/text_document_element_spec.rb +47 -0
- data/spec/models/text_document_line_spec.rb +47 -0
- data/spec/models/text_encoding_detect_response_spec.rb +47 -0
- data/spec/models/thumbnail_spec.rb +47 -0
- data/spec/models/update_docx_table_cell_request_spec.rb +71 -0
- data/spec/models/update_docx_table_cell_response_spec.rb +47 -0
- data/spec/models/update_docx_table_row_request_spec.rb +65 -0
- data/spec/models/update_docx_table_row_response_spec.rb +47 -0
- data/spec/models/url_to_pdf_request_spec.rb +59 -0
- data/spec/models/url_to_text_request_spec.rb +41 -0
- data/spec/models/url_to_text_response_spec.rb +47 -0
- data/spec/models/viewer_response_spec.rb +47 -0
- data/spec/models/worksheet_result_spec.rb +59 -0
- data/spec/models/xlsx_image_spec.rb +65 -0
- data/spec/models/xlsx_spreadsheet_cell_spec.rb +65 -0
- data/spec/models/xlsx_spreadsheet_column_spec.rb +47 -0
- data/spec/models/xlsx_spreadsheet_row_spec.rb +47 -0
- data/spec/models/xlsx_to_png_result_spec.rb +47 -0
- data/spec/models/xlsx_worksheet_spec.rb +47 -0
- data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_add_child_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_filter_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_query_with_x_query_multi_result_spec.rb +53 -0
- data/spec/models/xml_query_with_x_query_result_spec.rb +53 -0
- data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_remove_with_x_path_result_spec.rb +59 -0
- data/spec/models/xml_replace_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_set_value_with_x_path_result_spec.rb +53 -0
- data/spec/models/zip_directory_spec.rb +53 -0
- data/spec/models/zip_encryption_advanced_request_spec.rb +53 -0
- data/spec/models/zip_extract_response_spec.rb +53 -0
- data/spec/models/zip_file_spec.rb +47 -0
- data/spec/spec_helper.rb +111 -0
- metadata +785 -4
data/Rakefile
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
=begin
|
4
|
+
#convertapi
|
5
|
+
|
6
|
+
#Convert API lets you effortlessly convert file formats and types.
|
7
|
+
|
8
|
+
OpenAPI spec version: v1
|
9
|
+
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
+
Swagger Codegen version: 2.4.14
|
12
|
+
|
13
|
+
=end
|
14
|
+
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
16
|
+
require "cloudmersive-convert-api-client/version"
|
17
|
+
|
18
|
+
Gem::Specification.new do |s|
|
19
|
+
s.name = "cloudmersive-convert-api-client"
|
20
|
+
s.version = CloudmersiveConvertApiClient::VERSION
|
21
|
+
s.platform = Gem::Platform::RUBY
|
22
|
+
s.authors = ["Cloudmersive"]
|
23
|
+
s.email = [""]
|
24
|
+
s.homepage = "https://www.cloudmersive.com/convert-api"
|
25
|
+
s.summary = "Convert API lets you effortlessly convert file formats and types."
|
26
|
+
s.description = "Convert files and content between file formats. Convert data between file formats. Instantly."
|
27
|
+
s.license = 'Apache-2.0'
|
28
|
+
s.required_ruby_version = ">= 1.9"
|
29
|
+
|
30
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
|
+
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
|
+
|
33
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
|
+
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
35
|
+
s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
|
36
|
+
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
37
|
+
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
38
|
+
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
39
|
+
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
|
40
|
+
|
41
|
+
s.files = Dir['./**/*']
|
42
|
+
s.test_files = `find spec/*`.split("\n")
|
43
|
+
s.executables = []
|
44
|
+
s.require_paths = ["lib"]
|
45
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::AddPdfAnnotationRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**input_file_bytes** | **String** | Input file contents bytes for the file to modify | [optional]
|
7
|
+
**annotations_to_add** | [**Array<PdfAnnotation>**](PdfAnnotation.md) | Annotations to add to the PDF file | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::AlternateFileFormatCandidate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**probability** | **Float** | Probability that this extension is the right one; possible values are between 0.0 (lowest confidence) and 1.0 (highest confidence) | [optional]
|
7
|
+
**detected_file_extension** | **String** | Detected file extension of the file format, with a leading period | [optional]
|
8
|
+
**detected_mime_type** | **String** | MIME type of this file extension | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::AppendXlsxRowRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**input_file_bytes** | **String** | Optional: Bytes of the input file to operate on | [optional]
|
7
|
+
**input_file_url** | **String** | Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public). | [optional]
|
8
|
+
**worksheet_to_update** | [**XlsxWorksheet**](XlsxWorksheet.md) | Optional; Worksheet (tab) within the spreadsheet to get the specific row from; leave blank to default to the first worksheet | [optional]
|
9
|
+
**row** | [**XlsxSpreadsheetRow**](XlsxSpreadsheetRow.md) | Required; Row to be appended to the worksheet. | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::AppendXlsxRowResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**edited_document_url** | **String** | URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::AutodetectDocumentValidationResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**file_format_extension** | **String** | | [optional]
|
7
|
+
**document_is_valid** | **BOOLEAN** | True if the document is valid and has no errors, false otherwise | [optional]
|
8
|
+
**error_count** | **Integer** | Number of validation errors found in the document | [optional]
|
9
|
+
**warning_count** | **Integer** | Number of validation warnings found in the document | [optional]
|
10
|
+
**errors_and_warnings** | [**Array<DocumentValidationError>**](DocumentValidationError.md) | Details of errors and warnings found | [optional]
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::AutodetectGetInfoResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if the operation was successful, false otherwise | [optional]
|
7
|
+
**detected_file_extension** | **String** | Detected file extension of the file format, with a leading period | [optional]
|
8
|
+
**detected_mime_type** | **String** | MIME type of this file extension | [optional]
|
9
|
+
**page_count** | **Integer** | Number of pages in a page-based document; for presentations, this is the number of slides and for a spreadsheet this is the number of worksheets. Contains 0 when the page count cannot be determined, or if the concept of page count does not apply (e.g. for an image) | [optional]
|
10
|
+
**author** | **String** | User name of the creator/author of the document, if available, null if not available | [optional]
|
11
|
+
**date_modified** | **DateTime** | The timestamp that the document was last modified, if available, null if not available | [optional]
|
12
|
+
**alternate_file_type_candidates** | [**Array<AlternateFileFormatCandidate>**](AlternateFileFormatCandidate.md) | Alternate file type options and their probability | [optional]
|
13
|
+
|
14
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::AutodetectToJpgResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if the operation was successful, false otherwise | [optional]
|
7
|
+
**jpg_result_pages** | [**Array<ConvertedJpgPage>**](ConvertedJpgPage.md) | Array of converted pages | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::AutodetectToPngResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if the operation was successful, false otherwise | [optional]
|
7
|
+
**png_result_pages** | [**Array<ConvertedPngPage>**](ConvertedPngPage.md) | Array of converted pages | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::AutodetectToThumbnailsResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | Index of this thumbnail | [optional]
|
7
|
+
**thumbnail_pages** | [**Array<Thumbnail>**](Thumbnail.md) | A PNG thumbnail of the document page | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::Base64DecodeRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**base64_content_to_decode** | **String** | Input content to decode from Base 64 into binary | [optional]
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::Base64DecodeResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**content_result** | **String** | Result of performing a base 64 decode operation, binary file content | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::Base64DetectRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**base64_content_to_detect** | **String** | Input content text to detect if it is base 64 encoded | [optional]
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::Base64DetectResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**is_base64_encoded** | **BOOLEAN** | True if the input string is base 64 encoded, false otherwise | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::Base64EncodeResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**base64_text_content_result** | **String** | Result of performing a base 64 encoding operation, a text string representing the encoded original file content | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::ChangeLineEndingResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**text_content_result** | **String** | Text content result | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::ClearXlsxCellRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**input_file_bytes** | **String** | Optional: Bytes of the input file to operate on | [optional]
|
7
|
+
**input_file_url** | **String** | Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public). | [optional]
|
8
|
+
**worksheet_to_update** | [**XlsxWorksheet**](XlsxWorksheet.md) | Optional; Worksheet (tab) within the spreadsheet to update; leave blank to default to the first worksheet | [optional]
|
9
|
+
**row_index** | **Integer** | 0-based index of the row, 0, 1, 2, ... to clear | [optional]
|
10
|
+
**cell_index** | **Integer** | 0-based index of the cell, 0, 1, 2, ... in the row to clear | [optional]
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::ClearXlsxCellResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**edited_document_url** | **String** | URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::ClearXlsxRowRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**input_file_bytes** | **String** | Optional: Bytes of the input file to operate on | [optional]
|
7
|
+
**input_file_url** | **String** | Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public). | [optional]
|
8
|
+
**worksheet_to_edit** | [**XlsxWorksheet**](XlsxWorksheet.md) | Optional; Worksheet (tab) within the spreadsheet to get the specific row from; leave blank to default to the first worksheet | [optional]
|
9
|
+
**row_index** | **Integer** | Required; Index for the desired row to be cleared | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::ClearXlsxRowResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**edited_document_url** | **String** | URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::CompareDocumentApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.cloudmersive.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**compare_document_docx**](CompareDocumentApi.md#compare_document_docx) | **POST** /convert/compare/docx | Compare Two Word DOCX
|
8
|
+
|
9
|
+
|
10
|
+
# **compare_document_docx**
|
11
|
+
> String compare_document_docx(input_file1, input_file2)
|
12
|
+
|
13
|
+
Compare Two Word DOCX
|
14
|
+
|
15
|
+
Compare two Office Word Documents (docx) files and highlight the differences
|
16
|
+
|
17
|
+
### Example
|
18
|
+
```ruby
|
19
|
+
# load the gem
|
20
|
+
require 'cloudmersive-convert-api-client'
|
21
|
+
# setup authorization
|
22
|
+
CloudmersiveConvertApiClient.configure do |config|
|
23
|
+
# Configure API key authorization: Apikey
|
24
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
25
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
27
|
+
end
|
28
|
+
|
29
|
+
api_instance = CloudmersiveConvertApiClient::CompareDocumentApi.new
|
30
|
+
|
31
|
+
input_file1 = File.new('/path/to/file.txt') # File | First input file to perform the operation on.
|
32
|
+
|
33
|
+
input_file2 = File.new('/path/to/file.txt') # File | Second input file to perform the operation on (more than 2 can be supplied).
|
34
|
+
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Compare Two Word DOCX
|
38
|
+
result = api_instance.compare_document_docx(input_file1, input_file2)
|
39
|
+
p result
|
40
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
41
|
+
puts "Exception when calling CompareDocumentApi->compare_document_docx: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
Name | Type | Description | Notes
|
48
|
+
------------- | ------------- | ------------- | -------------
|
49
|
+
**input_file1** | **File**| First input file to perform the operation on. |
|
50
|
+
**input_file2** | **File**| Second input file to perform the operation on (more than 2 can be supplied). |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
**String**
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[Apikey](../README.md#Apikey)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: multipart/form-data
|
63
|
+
- **Accept**: application/octet-stream
|
64
|
+
|
65
|
+
|
66
|
+
|
@@ -0,0 +1,902 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::ConvertDataApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.cloudmersive.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**convert_data_csv_to_json**](ConvertDataApi.md#convert_data_csv_to_json) | **POST** /convert/csv/to/json | Convert CSV to JSON conversion
|
8
|
+
[**convert_data_json_to_xml**](ConvertDataApi.md#convert_data_json_to_xml) | **POST** /convert/json/to/xml | Convert JSON to XML conversion
|
9
|
+
[**convert_data_xls_to_json**](ConvertDataApi.md#convert_data_xls_to_json) | **POST** /convert/xls/to/json | Convert Excel (97-2003) XLS to JSON conversion
|
10
|
+
[**convert_data_xlsx_to_json**](ConvertDataApi.md#convert_data_xlsx_to_json) | **POST** /convert/xlsx/to/json | Convert Excel XLSX to JSON conversion
|
11
|
+
[**convert_data_xml_edit_add_attribute_with_x_path**](ConvertDataApi.md#convert_data_xml_edit_add_attribute_with_x_path) | **POST** /convert/xml/edit/xpath/add-attribute | Adds an attribute to all XML nodes matching XPath expression
|
12
|
+
[**convert_data_xml_edit_add_child_with_x_path**](ConvertDataApi.md#convert_data_xml_edit_add_child_with_x_path) | **POST** /convert/xml/edit/xpath/add-child | Adds an XML node as a child to XML nodes matching XPath expression
|
13
|
+
[**convert_data_xml_edit_remove_all_child_nodes_with_x_path**](ConvertDataApi.md#convert_data_xml_edit_remove_all_child_nodes_with_x_path) | **POST** /convert/xml/edit/xpath/remove-all-children | Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes
|
14
|
+
[**convert_data_xml_edit_replace_with_x_path**](ConvertDataApi.md#convert_data_xml_edit_replace_with_x_path) | **POST** /convert/xml/edit/xpath/replace | Replaces XML nodes matching XPath expression with new node
|
15
|
+
[**convert_data_xml_edit_set_value_with_x_path**](ConvertDataApi.md#convert_data_xml_edit_set_value_with_x_path) | **POST** /convert/xml/edit/xpath/set-value | Sets the value contents of XML nodes matching XPath expression
|
16
|
+
[**convert_data_xml_filter_with_x_path**](ConvertDataApi.md#convert_data_xml_filter_with_x_path) | **POST** /convert/xml/select/xpath | Filter, select XML nodes using XPath expression, get results
|
17
|
+
[**convert_data_xml_query_with_x_query**](ConvertDataApi.md#convert_data_xml_query_with_x_query) | **POST** /convert/xml/query/xquery | Query an XML file using XQuery query, get results
|
18
|
+
[**convert_data_xml_query_with_x_query_multi**](ConvertDataApi.md#convert_data_xml_query_with_x_query_multi) | **POST** /convert/xml/query/xquery/multi | Query multiple XML files using XQuery query, get results
|
19
|
+
[**convert_data_xml_remove_with_x_path**](ConvertDataApi.md#convert_data_xml_remove_with_x_path) | **POST** /convert/xml/edit/xpath/remove | Remove, delete XML nodes and items matching XPath expression
|
20
|
+
[**convert_data_xml_to_json**](ConvertDataApi.md#convert_data_xml_to_json) | **POST** /convert/xml/to/json | Convert XML to JSON conversion
|
21
|
+
[**convert_data_xml_transform_with_xslt_to_xml**](ConvertDataApi.md#convert_data_xml_transform_with_xslt_to_xml) | **POST** /convert/xml/transform/xslt/to/xml | Transform XML document file with XSLT into a new XML document
|
22
|
+
|
23
|
+
|
24
|
+
# **convert_data_csv_to_json**
|
25
|
+
> Object convert_data_csv_to_json(input_file, opts)
|
26
|
+
|
27
|
+
Convert CSV to JSON conversion
|
28
|
+
|
29
|
+
Convert a CSV file to a JSON object array
|
30
|
+
|
31
|
+
### Example
|
32
|
+
```ruby
|
33
|
+
# load the gem
|
34
|
+
require 'cloudmersive-convert-api-client'
|
35
|
+
# setup authorization
|
36
|
+
CloudmersiveConvertApiClient.configure do |config|
|
37
|
+
# Configure API key authorization: Apikey
|
38
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
39
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
40
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
41
|
+
end
|
42
|
+
|
43
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
44
|
+
|
45
|
+
input_file = File.new('/path/to/file.txt') # File | Input file to perform the operation on.
|
46
|
+
|
47
|
+
opts = {
|
48
|
+
column_names_from_first_row: true # BOOLEAN | Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure.
|
49
|
+
}
|
50
|
+
|
51
|
+
begin
|
52
|
+
#Convert CSV to JSON conversion
|
53
|
+
result = api_instance.convert_data_csv_to_json(input_file, opts)
|
54
|
+
p result
|
55
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
56
|
+
puts "Exception when calling ConvertDataApi->convert_data_csv_to_json: #{e}"
|
57
|
+
end
|
58
|
+
```
|
59
|
+
|
60
|
+
### Parameters
|
61
|
+
|
62
|
+
Name | Type | Description | Notes
|
63
|
+
------------- | ------------- | ------------- | -------------
|
64
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
65
|
+
**column_names_from_first_row** | **BOOLEAN**| Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure. | [optional]
|
66
|
+
|
67
|
+
### Return type
|
68
|
+
|
69
|
+
**Object**
|
70
|
+
|
71
|
+
### Authorization
|
72
|
+
|
73
|
+
[Apikey](../README.md#Apikey)
|
74
|
+
|
75
|
+
### HTTP request headers
|
76
|
+
|
77
|
+
- **Content-Type**: multipart/form-data
|
78
|
+
- **Accept**: application/json
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
# **convert_data_json_to_xml**
|
83
|
+
> String convert_data_json_to_xml(json_object)
|
84
|
+
|
85
|
+
Convert JSON to XML conversion
|
86
|
+
|
87
|
+
Convert a JSON object into XML
|
88
|
+
|
89
|
+
### Example
|
90
|
+
```ruby
|
91
|
+
# load the gem
|
92
|
+
require 'cloudmersive-convert-api-client'
|
93
|
+
# setup authorization
|
94
|
+
CloudmersiveConvertApiClient.configure do |config|
|
95
|
+
# Configure API key authorization: Apikey
|
96
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
97
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
98
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
99
|
+
end
|
100
|
+
|
101
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
102
|
+
|
103
|
+
json_object = nil # Object | Input JSON to convert to XML
|
104
|
+
|
105
|
+
|
106
|
+
begin
|
107
|
+
#Convert JSON to XML conversion
|
108
|
+
result = api_instance.convert_data_json_to_xml(json_object)
|
109
|
+
p result
|
110
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
111
|
+
puts "Exception when calling ConvertDataApi->convert_data_json_to_xml: #{e}"
|
112
|
+
end
|
113
|
+
```
|
114
|
+
|
115
|
+
### Parameters
|
116
|
+
|
117
|
+
Name | Type | Description | Notes
|
118
|
+
------------- | ------------- | ------------- | -------------
|
119
|
+
**json_object** | **Object**| Input JSON to convert to XML |
|
120
|
+
|
121
|
+
### Return type
|
122
|
+
|
123
|
+
**String**
|
124
|
+
|
125
|
+
### Authorization
|
126
|
+
|
127
|
+
[Apikey](../README.md#Apikey)
|
128
|
+
|
129
|
+
### HTTP request headers
|
130
|
+
|
131
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
132
|
+
- **Accept**: application/xml
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
# **convert_data_xls_to_json**
|
137
|
+
> Object convert_data_xls_to_json(input_file)
|
138
|
+
|
139
|
+
Convert Excel (97-2003) XLS to JSON conversion
|
140
|
+
|
141
|
+
Convert an Excel (97-2003) XLS file to a JSON object array
|
142
|
+
|
143
|
+
### Example
|
144
|
+
```ruby
|
145
|
+
# load the gem
|
146
|
+
require 'cloudmersive-convert-api-client'
|
147
|
+
# setup authorization
|
148
|
+
CloudmersiveConvertApiClient.configure do |config|
|
149
|
+
# Configure API key authorization: Apikey
|
150
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
151
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
152
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
153
|
+
end
|
154
|
+
|
155
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
156
|
+
|
157
|
+
input_file = File.new('/path/to/file.txt') # File | Input file to perform the operation on.
|
158
|
+
|
159
|
+
|
160
|
+
begin
|
161
|
+
#Convert Excel (97-2003) XLS to JSON conversion
|
162
|
+
result = api_instance.convert_data_xls_to_json(input_file)
|
163
|
+
p result
|
164
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
165
|
+
puts "Exception when calling ConvertDataApi->convert_data_xls_to_json: #{e}"
|
166
|
+
end
|
167
|
+
```
|
168
|
+
|
169
|
+
### Parameters
|
170
|
+
|
171
|
+
Name | Type | Description | Notes
|
172
|
+
------------- | ------------- | ------------- | -------------
|
173
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
174
|
+
|
175
|
+
### Return type
|
176
|
+
|
177
|
+
**Object**
|
178
|
+
|
179
|
+
### Authorization
|
180
|
+
|
181
|
+
[Apikey](../README.md#Apikey)
|
182
|
+
|
183
|
+
### HTTP request headers
|
184
|
+
|
185
|
+
- **Content-Type**: multipart/form-data
|
186
|
+
- **Accept**: application/json
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
# **convert_data_xlsx_to_json**
|
191
|
+
> Object convert_data_xlsx_to_json(input_file)
|
192
|
+
|
193
|
+
Convert Excel XLSX to JSON conversion
|
194
|
+
|
195
|
+
Convert an Excel XLSX file to a JSON object array
|
196
|
+
|
197
|
+
### Example
|
198
|
+
```ruby
|
199
|
+
# load the gem
|
200
|
+
require 'cloudmersive-convert-api-client'
|
201
|
+
# setup authorization
|
202
|
+
CloudmersiveConvertApiClient.configure do |config|
|
203
|
+
# Configure API key authorization: Apikey
|
204
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
205
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
206
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
207
|
+
end
|
208
|
+
|
209
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
210
|
+
|
211
|
+
input_file = File.new('/path/to/file.txt') # File | Input file to perform the operation on.
|
212
|
+
|
213
|
+
|
214
|
+
begin
|
215
|
+
#Convert Excel XLSX to JSON conversion
|
216
|
+
result = api_instance.convert_data_xlsx_to_json(input_file)
|
217
|
+
p result
|
218
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
219
|
+
puts "Exception when calling ConvertDataApi->convert_data_xlsx_to_json: #{e}"
|
220
|
+
end
|
221
|
+
```
|
222
|
+
|
223
|
+
### Parameters
|
224
|
+
|
225
|
+
Name | Type | Description | Notes
|
226
|
+
------------- | ------------- | ------------- | -------------
|
227
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
228
|
+
|
229
|
+
### Return type
|
230
|
+
|
231
|
+
**Object**
|
232
|
+
|
233
|
+
### Authorization
|
234
|
+
|
235
|
+
[Apikey](../README.md#Apikey)
|
236
|
+
|
237
|
+
### HTTP request headers
|
238
|
+
|
239
|
+
- **Content-Type**: multipart/form-data
|
240
|
+
- **Accept**: application/json
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
# **convert_data_xml_edit_add_attribute_with_x_path**
|
245
|
+
> XmlAddAttributeWithXPathResult convert_data_xml_edit_add_attribute_with_x_path(input_file, x_path_expression, xml_attribute_name, xml_attribute_value)
|
246
|
+
|
247
|
+
Adds an attribute to all XML nodes matching XPath expression
|
248
|
+
|
249
|
+
Return the reuslts of editing an XML document by adding an attribute to all of the nodes that match an input XPath expression.
|
250
|
+
|
251
|
+
### Example
|
252
|
+
```ruby
|
253
|
+
# load the gem
|
254
|
+
require 'cloudmersive-convert-api-client'
|
255
|
+
# setup authorization
|
256
|
+
CloudmersiveConvertApiClient.configure do |config|
|
257
|
+
# Configure API key authorization: Apikey
|
258
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
259
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
260
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
261
|
+
end
|
262
|
+
|
263
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
264
|
+
|
265
|
+
input_file = File.new('/path/to/file.txt') # File | Input XML file to perform the operation on.
|
266
|
+
|
267
|
+
x_path_expression = 'x_path_expression_example' # String | Valid XML XPath query expression
|
268
|
+
|
269
|
+
xml_attribute_name = 'xml_attribute_name_example' # String | Name of the XML attribute to add
|
270
|
+
|
271
|
+
xml_attribute_value = 'xml_attribute_value_example' # String | Value of the XML attribute to add
|
272
|
+
|
273
|
+
|
274
|
+
begin
|
275
|
+
#Adds an attribute to all XML nodes matching XPath expression
|
276
|
+
result = api_instance.convert_data_xml_edit_add_attribute_with_x_path(input_file, x_path_expression, xml_attribute_name, xml_attribute_value)
|
277
|
+
p result
|
278
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
279
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_edit_add_attribute_with_x_path: #{e}"
|
280
|
+
end
|
281
|
+
```
|
282
|
+
|
283
|
+
### Parameters
|
284
|
+
|
285
|
+
Name | Type | Description | Notes
|
286
|
+
------------- | ------------- | ------------- | -------------
|
287
|
+
**input_file** | **File**| Input XML file to perform the operation on. |
|
288
|
+
**x_path_expression** | **String**| Valid XML XPath query expression |
|
289
|
+
**xml_attribute_name** | **String**| Name of the XML attribute to add |
|
290
|
+
**xml_attribute_value** | **String**| Value of the XML attribute to add |
|
291
|
+
|
292
|
+
### Return type
|
293
|
+
|
294
|
+
[**XmlAddAttributeWithXPathResult**](XmlAddAttributeWithXPathResult.md)
|
295
|
+
|
296
|
+
### Authorization
|
297
|
+
|
298
|
+
[Apikey](../README.md#Apikey)
|
299
|
+
|
300
|
+
### HTTP request headers
|
301
|
+
|
302
|
+
- **Content-Type**: Not defined
|
303
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
# **convert_data_xml_edit_add_child_with_x_path**
|
308
|
+
> XmlAddChildWithXPathResult convert_data_xml_edit_add_child_with_x_path(input_file, x_path_expression, xml_node_to_add)
|
309
|
+
|
310
|
+
Adds an XML node as a child to XML nodes matching XPath expression
|
311
|
+
|
312
|
+
Return the reuslts of editing an XML document by adding an XML node as a child to all of the nodes that match an input XPath expression.
|
313
|
+
|
314
|
+
### Example
|
315
|
+
```ruby
|
316
|
+
# load the gem
|
317
|
+
require 'cloudmersive-convert-api-client'
|
318
|
+
# setup authorization
|
319
|
+
CloudmersiveConvertApiClient.configure do |config|
|
320
|
+
# Configure API key authorization: Apikey
|
321
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
322
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
323
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
324
|
+
end
|
325
|
+
|
326
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
327
|
+
|
328
|
+
input_file = File.new('/path/to/file.txt') # File | Input XML file to perform the operation on.
|
329
|
+
|
330
|
+
x_path_expression = 'x_path_expression_example' # String | Valid XML XPath query expression
|
331
|
+
|
332
|
+
xml_node_to_add = 'xml_node_to_add_example' # String | XML Node to add as a child
|
333
|
+
|
334
|
+
|
335
|
+
begin
|
336
|
+
#Adds an XML node as a child to XML nodes matching XPath expression
|
337
|
+
result = api_instance.convert_data_xml_edit_add_child_with_x_path(input_file, x_path_expression, xml_node_to_add)
|
338
|
+
p result
|
339
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
340
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_edit_add_child_with_x_path: #{e}"
|
341
|
+
end
|
342
|
+
```
|
343
|
+
|
344
|
+
### Parameters
|
345
|
+
|
346
|
+
Name | Type | Description | Notes
|
347
|
+
------------- | ------------- | ------------- | -------------
|
348
|
+
**input_file** | **File**| Input XML file to perform the operation on. |
|
349
|
+
**x_path_expression** | **String**| Valid XML XPath query expression |
|
350
|
+
**xml_node_to_add** | **String**| XML Node to add as a child |
|
351
|
+
|
352
|
+
### Return type
|
353
|
+
|
354
|
+
[**XmlAddChildWithXPathResult**](XmlAddChildWithXPathResult.md)
|
355
|
+
|
356
|
+
### Authorization
|
357
|
+
|
358
|
+
[Apikey](../README.md#Apikey)
|
359
|
+
|
360
|
+
### HTTP request headers
|
361
|
+
|
362
|
+
- **Content-Type**: Not defined
|
363
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
# **convert_data_xml_edit_remove_all_child_nodes_with_x_path**
|
368
|
+
> XmlRemoveAllChildrenWithXPathResult convert_data_xml_edit_remove_all_child_nodes_with_x_path(input_file, x_path_expression)
|
369
|
+
|
370
|
+
Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes
|
371
|
+
|
372
|
+
Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.
|
373
|
+
|
374
|
+
### Example
|
375
|
+
```ruby
|
376
|
+
# load the gem
|
377
|
+
require 'cloudmersive-convert-api-client'
|
378
|
+
# setup authorization
|
379
|
+
CloudmersiveConvertApiClient.configure do |config|
|
380
|
+
# Configure API key authorization: Apikey
|
381
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
382
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
383
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
384
|
+
end
|
385
|
+
|
386
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
387
|
+
|
388
|
+
input_file = File.new('/path/to/file.txt') # File | Input XML file to perform the operation on.
|
389
|
+
|
390
|
+
x_path_expression = 'x_path_expression_example' # String | Valid XML XPath query expression
|
391
|
+
|
392
|
+
|
393
|
+
begin
|
394
|
+
#Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes
|
395
|
+
result = api_instance.convert_data_xml_edit_remove_all_child_nodes_with_x_path(input_file, x_path_expression)
|
396
|
+
p result
|
397
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
398
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_edit_remove_all_child_nodes_with_x_path: #{e}"
|
399
|
+
end
|
400
|
+
```
|
401
|
+
|
402
|
+
### Parameters
|
403
|
+
|
404
|
+
Name | Type | Description | Notes
|
405
|
+
------------- | ------------- | ------------- | -------------
|
406
|
+
**input_file** | **File**| Input XML file to perform the operation on. |
|
407
|
+
**x_path_expression** | **String**| Valid XML XPath query expression |
|
408
|
+
|
409
|
+
### Return type
|
410
|
+
|
411
|
+
[**XmlRemoveAllChildrenWithXPathResult**](XmlRemoveAllChildrenWithXPathResult.md)
|
412
|
+
|
413
|
+
### Authorization
|
414
|
+
|
415
|
+
[Apikey](../README.md#Apikey)
|
416
|
+
|
417
|
+
### HTTP request headers
|
418
|
+
|
419
|
+
- **Content-Type**: Not defined
|
420
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
# **convert_data_xml_edit_replace_with_x_path**
|
425
|
+
> XmlReplaceWithXPathResult convert_data_xml_edit_replace_with_x_path(input_file, x_path_expression, xml_node_replacement)
|
426
|
+
|
427
|
+
Replaces XML nodes matching XPath expression with new node
|
428
|
+
|
429
|
+
Return the reuslts of editing an XML document by replacing all of the nodes that match an input XPath expression with a new XML node expression.
|
430
|
+
|
431
|
+
### Example
|
432
|
+
```ruby
|
433
|
+
# load the gem
|
434
|
+
require 'cloudmersive-convert-api-client'
|
435
|
+
# setup authorization
|
436
|
+
CloudmersiveConvertApiClient.configure do |config|
|
437
|
+
# Configure API key authorization: Apikey
|
438
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
439
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
440
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
441
|
+
end
|
442
|
+
|
443
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
444
|
+
|
445
|
+
input_file = File.new('/path/to/file.txt') # File | Input XML file to perform the operation on.
|
446
|
+
|
447
|
+
x_path_expression = 'x_path_expression_example' # String | Valid XML XPath query expression
|
448
|
+
|
449
|
+
xml_node_replacement = 'xml_node_replacement_example' # String | XML Node replacement content
|
450
|
+
|
451
|
+
|
452
|
+
begin
|
453
|
+
#Replaces XML nodes matching XPath expression with new node
|
454
|
+
result = api_instance.convert_data_xml_edit_replace_with_x_path(input_file, x_path_expression, xml_node_replacement)
|
455
|
+
p result
|
456
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
457
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_edit_replace_with_x_path: #{e}"
|
458
|
+
end
|
459
|
+
```
|
460
|
+
|
461
|
+
### Parameters
|
462
|
+
|
463
|
+
Name | Type | Description | Notes
|
464
|
+
------------- | ------------- | ------------- | -------------
|
465
|
+
**input_file** | **File**| Input XML file to perform the operation on. |
|
466
|
+
**x_path_expression** | **String**| Valid XML XPath query expression |
|
467
|
+
**xml_node_replacement** | **String**| XML Node replacement content |
|
468
|
+
|
469
|
+
### Return type
|
470
|
+
|
471
|
+
[**XmlReplaceWithXPathResult**](XmlReplaceWithXPathResult.md)
|
472
|
+
|
473
|
+
### Authorization
|
474
|
+
|
475
|
+
[Apikey](../README.md#Apikey)
|
476
|
+
|
477
|
+
### HTTP request headers
|
478
|
+
|
479
|
+
- **Content-Type**: Not defined
|
480
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
# **convert_data_xml_edit_set_value_with_x_path**
|
485
|
+
> XmlSetValueWithXPathResult convert_data_xml_edit_set_value_with_x_path(input_file, x_path_expression, xml_value)
|
486
|
+
|
487
|
+
Sets the value contents of XML nodes matching XPath expression
|
488
|
+
|
489
|
+
Return the reuslts of editing an XML document by setting the contents of all of the nodes that match an input XPath expression. Supports elements and attributes.
|
490
|
+
|
491
|
+
### Example
|
492
|
+
```ruby
|
493
|
+
# load the gem
|
494
|
+
require 'cloudmersive-convert-api-client'
|
495
|
+
# setup authorization
|
496
|
+
CloudmersiveConvertApiClient.configure do |config|
|
497
|
+
# Configure API key authorization: Apikey
|
498
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
499
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
500
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
501
|
+
end
|
502
|
+
|
503
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
504
|
+
|
505
|
+
input_file = File.new('/path/to/file.txt') # File | Input XML file to perform the operation on.
|
506
|
+
|
507
|
+
x_path_expression = 'x_path_expression_example' # String | Valid XML XPath query expression
|
508
|
+
|
509
|
+
xml_value = 'xml_value_example' # String | XML Value to set into the matching XML nodes
|
510
|
+
|
511
|
+
|
512
|
+
begin
|
513
|
+
#Sets the value contents of XML nodes matching XPath expression
|
514
|
+
result = api_instance.convert_data_xml_edit_set_value_with_x_path(input_file, x_path_expression, xml_value)
|
515
|
+
p result
|
516
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
517
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_edit_set_value_with_x_path: #{e}"
|
518
|
+
end
|
519
|
+
```
|
520
|
+
|
521
|
+
### Parameters
|
522
|
+
|
523
|
+
Name | Type | Description | Notes
|
524
|
+
------------- | ------------- | ------------- | -------------
|
525
|
+
**input_file** | **File**| Input XML file to perform the operation on. |
|
526
|
+
**x_path_expression** | **String**| Valid XML XPath query expression |
|
527
|
+
**xml_value** | **String**| XML Value to set into the matching XML nodes |
|
528
|
+
|
529
|
+
### Return type
|
530
|
+
|
531
|
+
[**XmlSetValueWithXPathResult**](XmlSetValueWithXPathResult.md)
|
532
|
+
|
533
|
+
### Authorization
|
534
|
+
|
535
|
+
[Apikey](../README.md#Apikey)
|
536
|
+
|
537
|
+
### HTTP request headers
|
538
|
+
|
539
|
+
- **Content-Type**: Not defined
|
540
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
# **convert_data_xml_filter_with_x_path**
|
545
|
+
> XmlFilterWithXPathResult convert_data_xml_filter_with_x_path(x_path_expression, input_file)
|
546
|
+
|
547
|
+
Filter, select XML nodes using XPath expression, get results
|
548
|
+
|
549
|
+
Return the reuslts of filtering, selecting an XML document with an XPath expression
|
550
|
+
|
551
|
+
### Example
|
552
|
+
```ruby
|
553
|
+
# load the gem
|
554
|
+
require 'cloudmersive-convert-api-client'
|
555
|
+
# setup authorization
|
556
|
+
CloudmersiveConvertApiClient.configure do |config|
|
557
|
+
# Configure API key authorization: Apikey
|
558
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
559
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
560
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
561
|
+
end
|
562
|
+
|
563
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
564
|
+
|
565
|
+
x_path_expression = 'x_path_expression_example' # String | Valid XML XPath query expression
|
566
|
+
|
567
|
+
input_file = File.new('/path/to/file.txt') # File | Input file to perform the operation on.
|
568
|
+
|
569
|
+
|
570
|
+
begin
|
571
|
+
#Filter, select XML nodes using XPath expression, get results
|
572
|
+
result = api_instance.convert_data_xml_filter_with_x_path(x_path_expression, input_file)
|
573
|
+
p result
|
574
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
575
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_filter_with_x_path: #{e}"
|
576
|
+
end
|
577
|
+
```
|
578
|
+
|
579
|
+
### Parameters
|
580
|
+
|
581
|
+
Name | Type | Description | Notes
|
582
|
+
------------- | ------------- | ------------- | -------------
|
583
|
+
**x_path_expression** | **String**| Valid XML XPath query expression |
|
584
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
585
|
+
|
586
|
+
### Return type
|
587
|
+
|
588
|
+
[**XmlFilterWithXPathResult**](XmlFilterWithXPathResult.md)
|
589
|
+
|
590
|
+
### Authorization
|
591
|
+
|
592
|
+
[Apikey](../README.md#Apikey)
|
593
|
+
|
594
|
+
### HTTP request headers
|
595
|
+
|
596
|
+
- **Content-Type**: multipart/form-data
|
597
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
598
|
+
|
599
|
+
|
600
|
+
|
601
|
+
# **convert_data_xml_query_with_x_query**
|
602
|
+
> XmlQueryWithXQueryResult convert_data_xml_query_with_x_query(input_file, x_query)
|
603
|
+
|
604
|
+
Query an XML file using XQuery query, get results
|
605
|
+
|
606
|
+
Return the reuslts of querying a single XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for a single XML document as input. Provided XML document is automatically loaded as the default context; to access elements in the document, simply refer to them without a document reference, such as bookstore/book
|
607
|
+
|
608
|
+
### Example
|
609
|
+
```ruby
|
610
|
+
# load the gem
|
611
|
+
require 'cloudmersive-convert-api-client'
|
612
|
+
# setup authorization
|
613
|
+
CloudmersiveConvertApiClient.configure do |config|
|
614
|
+
# Configure API key authorization: Apikey
|
615
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
616
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
617
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
618
|
+
end
|
619
|
+
|
620
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
621
|
+
|
622
|
+
input_file = File.new('/path/to/file.txt') # File | Input XML file to perform the operation on.
|
623
|
+
|
624
|
+
x_query = 'x_query_example' # String | Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
|
625
|
+
|
626
|
+
|
627
|
+
begin
|
628
|
+
#Query an XML file using XQuery query, get results
|
629
|
+
result = api_instance.convert_data_xml_query_with_x_query(input_file, x_query)
|
630
|
+
p result
|
631
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
632
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_query_with_x_query: #{e}"
|
633
|
+
end
|
634
|
+
```
|
635
|
+
|
636
|
+
### Parameters
|
637
|
+
|
638
|
+
Name | Type | Description | Notes
|
639
|
+
------------- | ------------- | ------------- | -------------
|
640
|
+
**input_file** | **File**| Input XML file to perform the operation on. |
|
641
|
+
**x_query** | **String**| Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported |
|
642
|
+
|
643
|
+
### Return type
|
644
|
+
|
645
|
+
[**XmlQueryWithXQueryResult**](XmlQueryWithXQueryResult.md)
|
646
|
+
|
647
|
+
### Authorization
|
648
|
+
|
649
|
+
[Apikey](../README.md#Apikey)
|
650
|
+
|
651
|
+
### HTTP request headers
|
652
|
+
|
653
|
+
- **Content-Type**: Not defined
|
654
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
655
|
+
|
656
|
+
|
657
|
+
|
658
|
+
# **convert_data_xml_query_with_x_query_multi**
|
659
|
+
> XmlQueryWithXQueryMultiResult convert_data_xml_query_with_x_query_multi(input_file1, x_query, opts)
|
660
|
+
|
661
|
+
Query multiple XML files using XQuery query, get results
|
662
|
+
|
663
|
+
Return the reuslts of querying an XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for multiple XML documents as input. You can refer to the contents of a given document by name, for example doc(\"books.xml\") or doc(\"restaurants.xml\") if you included two input files named books.xml and restaurants.xml. If input files contain no file name, they will default to file names input1.xml, input2.xml and so on.
|
664
|
+
|
665
|
+
### Example
|
666
|
+
```ruby
|
667
|
+
# load the gem
|
668
|
+
require 'cloudmersive-convert-api-client'
|
669
|
+
# setup authorization
|
670
|
+
CloudmersiveConvertApiClient.configure do |config|
|
671
|
+
# Configure API key authorization: Apikey
|
672
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
673
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
674
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
675
|
+
end
|
676
|
+
|
677
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
678
|
+
|
679
|
+
input_file1 = File.new('/path/to/file.txt') # File | First input XML file to perform the operation on.
|
680
|
+
|
681
|
+
x_query = 'x_query_example' # String | Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
|
682
|
+
|
683
|
+
opts = {
|
684
|
+
input_file2: File.new('/path/to/file.txt'), # File | Second input XML file to perform the operation on.
|
685
|
+
input_file3: File.new('/path/to/file.txt'), # File | Third input XML file to perform the operation on.
|
686
|
+
input_file4: File.new('/path/to/file.txt'), # File | Fourth input XML file to perform the operation on.
|
687
|
+
input_file5: File.new('/path/to/file.txt'), # File | Fifth input XML file to perform the operation on.
|
688
|
+
input_file6: File.new('/path/to/file.txt'), # File | Sixth input XML file to perform the operation on.
|
689
|
+
input_file7: File.new('/path/to/file.txt'), # File | Seventh input XML file to perform the operation on.
|
690
|
+
input_file8: File.new('/path/to/file.txt'), # File | Eighth input XML file to perform the operation on.
|
691
|
+
input_file9: File.new('/path/to/file.txt'), # File | Ninth input XML file to perform the operation on.
|
692
|
+
input_file10: File.new('/path/to/file.txt') # File | Tenth input XML file to perform the operation on.
|
693
|
+
}
|
694
|
+
|
695
|
+
begin
|
696
|
+
#Query multiple XML files using XQuery query, get results
|
697
|
+
result = api_instance.convert_data_xml_query_with_x_query_multi(input_file1, x_query, opts)
|
698
|
+
p result
|
699
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
700
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_query_with_x_query_multi: #{e}"
|
701
|
+
end
|
702
|
+
```
|
703
|
+
|
704
|
+
### Parameters
|
705
|
+
|
706
|
+
Name | Type | Description | Notes
|
707
|
+
------------- | ------------- | ------------- | -------------
|
708
|
+
**input_file1** | **File**| First input XML file to perform the operation on. |
|
709
|
+
**x_query** | **String**| Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported |
|
710
|
+
**input_file2** | **File**| Second input XML file to perform the operation on. | [optional]
|
711
|
+
**input_file3** | **File**| Third input XML file to perform the operation on. | [optional]
|
712
|
+
**input_file4** | **File**| Fourth input XML file to perform the operation on. | [optional]
|
713
|
+
**input_file5** | **File**| Fifth input XML file to perform the operation on. | [optional]
|
714
|
+
**input_file6** | **File**| Sixth input XML file to perform the operation on. | [optional]
|
715
|
+
**input_file7** | **File**| Seventh input XML file to perform the operation on. | [optional]
|
716
|
+
**input_file8** | **File**| Eighth input XML file to perform the operation on. | [optional]
|
717
|
+
**input_file9** | **File**| Ninth input XML file to perform the operation on. | [optional]
|
718
|
+
**input_file10** | **File**| Tenth input XML file to perform the operation on. | [optional]
|
719
|
+
|
720
|
+
### Return type
|
721
|
+
|
722
|
+
[**XmlQueryWithXQueryMultiResult**](XmlQueryWithXQueryMultiResult.md)
|
723
|
+
|
724
|
+
### Authorization
|
725
|
+
|
726
|
+
[Apikey](../README.md#Apikey)
|
727
|
+
|
728
|
+
### HTTP request headers
|
729
|
+
|
730
|
+
- **Content-Type**: Not defined
|
731
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
732
|
+
|
733
|
+
|
734
|
+
|
735
|
+
# **convert_data_xml_remove_with_x_path**
|
736
|
+
> XmlRemoveWithXPathResult convert_data_xml_remove_with_x_path(x_path_expression, input_file)
|
737
|
+
|
738
|
+
Remove, delete XML nodes and items matching XPath expression
|
739
|
+
|
740
|
+
Return the reuslts of editing an XML document by removing all of the nodes that match an input XPath expression
|
741
|
+
|
742
|
+
### Example
|
743
|
+
```ruby
|
744
|
+
# load the gem
|
745
|
+
require 'cloudmersive-convert-api-client'
|
746
|
+
# setup authorization
|
747
|
+
CloudmersiveConvertApiClient.configure do |config|
|
748
|
+
# Configure API key authorization: Apikey
|
749
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
750
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
751
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
752
|
+
end
|
753
|
+
|
754
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
755
|
+
|
756
|
+
x_path_expression = 'x_path_expression_example' # String | Valid XML XPath query expression
|
757
|
+
|
758
|
+
input_file = File.new('/path/to/file.txt') # File | Input file to perform the operation on.
|
759
|
+
|
760
|
+
|
761
|
+
begin
|
762
|
+
#Remove, delete XML nodes and items matching XPath expression
|
763
|
+
result = api_instance.convert_data_xml_remove_with_x_path(x_path_expression, input_file)
|
764
|
+
p result
|
765
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
766
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_remove_with_x_path: #{e}"
|
767
|
+
end
|
768
|
+
```
|
769
|
+
|
770
|
+
### Parameters
|
771
|
+
|
772
|
+
Name | Type | Description | Notes
|
773
|
+
------------- | ------------- | ------------- | -------------
|
774
|
+
**x_path_expression** | **String**| Valid XML XPath query expression |
|
775
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
776
|
+
|
777
|
+
### Return type
|
778
|
+
|
779
|
+
[**XmlRemoveWithXPathResult**](XmlRemoveWithXPathResult.md)
|
780
|
+
|
781
|
+
### Authorization
|
782
|
+
|
783
|
+
[Apikey](../README.md#Apikey)
|
784
|
+
|
785
|
+
### HTTP request headers
|
786
|
+
|
787
|
+
- **Content-Type**: multipart/form-data
|
788
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
789
|
+
|
790
|
+
|
791
|
+
|
792
|
+
# **convert_data_xml_to_json**
|
793
|
+
> Object convert_data_xml_to_json(input_file)
|
794
|
+
|
795
|
+
Convert XML to JSON conversion
|
796
|
+
|
797
|
+
Convert an XML string or file into JSON
|
798
|
+
|
799
|
+
### Example
|
800
|
+
```ruby
|
801
|
+
# load the gem
|
802
|
+
require 'cloudmersive-convert-api-client'
|
803
|
+
# setup authorization
|
804
|
+
CloudmersiveConvertApiClient.configure do |config|
|
805
|
+
# Configure API key authorization: Apikey
|
806
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
807
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
808
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
809
|
+
end
|
810
|
+
|
811
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
812
|
+
|
813
|
+
input_file = File.new('/path/to/file.txt') # File | Input file to perform the operation on.
|
814
|
+
|
815
|
+
|
816
|
+
begin
|
817
|
+
#Convert XML to JSON conversion
|
818
|
+
result = api_instance.convert_data_xml_to_json(input_file)
|
819
|
+
p result
|
820
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
821
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_to_json: #{e}"
|
822
|
+
end
|
823
|
+
```
|
824
|
+
|
825
|
+
### Parameters
|
826
|
+
|
827
|
+
Name | Type | Description | Notes
|
828
|
+
------------- | ------------- | ------------- | -------------
|
829
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
830
|
+
|
831
|
+
### Return type
|
832
|
+
|
833
|
+
**Object**
|
834
|
+
|
835
|
+
### Authorization
|
836
|
+
|
837
|
+
[Apikey](../README.md#Apikey)
|
838
|
+
|
839
|
+
### HTTP request headers
|
840
|
+
|
841
|
+
- **Content-Type**: multipart/form-data
|
842
|
+
- **Accept**: application/json
|
843
|
+
|
844
|
+
|
845
|
+
|
846
|
+
# **convert_data_xml_transform_with_xslt_to_xml**
|
847
|
+
> String convert_data_xml_transform_with_xslt_to_xml(input_file, transform_file)
|
848
|
+
|
849
|
+
Transform XML document file with XSLT into a new XML document
|
850
|
+
|
851
|
+
Convert an XML string or file into JSON
|
852
|
+
|
853
|
+
### Example
|
854
|
+
```ruby
|
855
|
+
# load the gem
|
856
|
+
require 'cloudmersive-convert-api-client'
|
857
|
+
# setup authorization
|
858
|
+
CloudmersiveConvertApiClient.configure do |config|
|
859
|
+
# Configure API key authorization: Apikey
|
860
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
861
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
862
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
863
|
+
end
|
864
|
+
|
865
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDataApi.new
|
866
|
+
|
867
|
+
input_file = File.new('/path/to/file.txt') # File | Input XML file to perform the operation on.
|
868
|
+
|
869
|
+
transform_file = File.new('/path/to/file.txt') # File | Input XSLT file to use to transform the input XML file.
|
870
|
+
|
871
|
+
|
872
|
+
begin
|
873
|
+
#Transform XML document file with XSLT into a new XML document
|
874
|
+
result = api_instance.convert_data_xml_transform_with_xslt_to_xml(input_file, transform_file)
|
875
|
+
p result
|
876
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
877
|
+
puts "Exception when calling ConvertDataApi->convert_data_xml_transform_with_xslt_to_xml: #{e}"
|
878
|
+
end
|
879
|
+
```
|
880
|
+
|
881
|
+
### Parameters
|
882
|
+
|
883
|
+
Name | Type | Description | Notes
|
884
|
+
------------- | ------------- | ------------- | -------------
|
885
|
+
**input_file** | **File**| Input XML file to perform the operation on. |
|
886
|
+
**transform_file** | **File**| Input XSLT file to use to transform the input XML file. |
|
887
|
+
|
888
|
+
### Return type
|
889
|
+
|
890
|
+
**String**
|
891
|
+
|
892
|
+
### Authorization
|
893
|
+
|
894
|
+
[Apikey](../README.md#Apikey)
|
895
|
+
|
896
|
+
### HTTP request headers
|
897
|
+
|
898
|
+
- **Content-Type**: Not defined
|
899
|
+
- **Accept**: application/xml
|
900
|
+
|
901
|
+
|
902
|
+
|