cloudmersive-convert-api-client 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7db0bb57bc00519878b15baba8a5effec28137e35eaf2ed250d3acfc92300cb
4
- data.tar.gz: 18356a24c6f553344190b383a06b4bc3c9acf5979b26fcb5f2a30aa57e815320
3
+ metadata.gz: cb95922682d9068e6b3b28cabf946e852763da4a89904fd6bd8e9a2cea210ee4
4
+ data.tar.gz: edae5a220431bc469b3d35f234787882106eecc0d33fc62552773991d3636fe4
5
5
  SHA512:
6
- metadata.gz: 0caf135911d7917065fa838284342e496317e7f55dbaff03613cf06874369cb96babea057d32d2dadb96b01404c649a080846db1db4c3f86f9ae2aad9125a4be
7
- data.tar.gz: ffb84ad739d35a197f52ac982f3953e7ec88aa090734dcf3c7496c870daaf133b44303fd882e98450953652822b6d578c576d0cdcbe2b24c44fabda267813852
6
+ metadata.gz: 3847f8ccd6a550a909eb120b562e9ac2162f77142d6d2500bd6df0e016ad95c23f8ff346557e0ce9980984e4a90f2688c4ca853f80e50c4b5d32f22da22ec6cd
7
+ data.tar.gz: 947a32dccef4aac96aed7a5fd28cc77539c3907685e0338c6bcdb3f791aa0188bceccb39bd327e19f11deeeab9c78fa3c4d84f317e67f3adc6e5ca78c3a8c16a
data/README.md CHANGED
@@ -7,7 +7,7 @@ Convert API lets you effortlessly convert file formats and types.
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 2.1.4
10
+ - Package version: 2.1.5
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build cloudmersive-convert-api-client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./cloudmersive-convert-api-client-2.1.4.gem
26
+ gem install ./cloudmersive-convert-api-client-2.1.5.gem
27
27
  ```
28
- (for development, run `gem install --dev ./cloudmersive-convert-api-client-2.1.4.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./cloudmersive-convert-api-client-2.1.5.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'cloudmersive-convert-api-client', '~> 2.1.4'
34
+ gem 'cloudmersive-convert-api-client', '~> 2.1.5'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -262,6 +262,7 @@ Class | Method | HTTP request | Description
262
262
  *CloudmersiveConvertApiClient::EditHtmlApi* | [**edit_html_html_append_image_inline**](docs/EditHtmlApi.md#edit_html_html_append_image_inline) | **POST** /convert/edit/html/append/image/inline | Append a Base64 Inline Image to an HTML Document
263
263
  *CloudmersiveConvertApiClient::EditHtmlApi* | [**edit_html_html_append_paragraph**](docs/EditHtmlApi.md#edit_html_html_append_paragraph) | **POST** /convert/edit/html/append/paragraph | Append a Paragraph to an HTML Document
264
264
  *CloudmersiveConvertApiClient::EditHtmlApi* | [**edit_html_html_create_blank_document**](docs/EditHtmlApi.md#edit_html_html_create_blank_document) | **POST** /convert/edit/html/create/blank | Create a Blank HTML Document
265
+ *CloudmersiveConvertApiClient::EditHtmlApi* | [**edit_html_html_get_links**](docs/EditHtmlApi.md#edit_html_html_get_links) | **POST** /convert/edit/html/extract/links | Extract resolved link URLs from HTML File
265
266
  *CloudmersiveConvertApiClient::EditPdfApi* | [**edit_pdf_add_annotations**](docs/EditPdfApi.md#edit_pdf_add_annotations) | **POST** /convert/edit/pdf/annotations/add-item | Add one or more PDF annotations, comments in the PDF document
266
267
  *CloudmersiveConvertApiClient::EditPdfApi* | [**edit_pdf_convert_to_pdf_a**](docs/EditPdfApi.md#edit_pdf_convert_to_pdf_a) | **POST** /convert/edit/pdf/optimize/pdf-a | Convert a PDF file to PDF/A
267
268
  *CloudmersiveConvertApiClient::EditPdfApi* | [**edit_pdf_decrypt**](docs/EditPdfApi.md#edit_pdf_decrypt) | **POST** /convert/edit/pdf/decrypt | Decrypt and password-protect a PDF
@@ -299,6 +300,8 @@ Class | Method | HTTP request | Description
299
300
  *CloudmersiveConvertApiClient::EditTextApi* | [**edit_text_trim_whitespace**](docs/EditTextApi.md#edit_text_trim_whitespace) | **POST** /convert/edit/text/remove/whitespace/trim | Trim leading and trailing whitespace from text string
300
301
  *CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_docx**](docs/MergeDocumentApi.md#merge_document_docx) | **POST** /convert/merge/docx | Merge Two Word DOCX Together
301
302
  *CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_docx_multi**](docs/MergeDocumentApi.md#merge_document_docx_multi) | **POST** /convert/merge/docx/multi | Merge Multple Word DOCX Together
303
+ *CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_html**](docs/MergeDocumentApi.md#merge_document_html) | **POST** /convert/merge/html | Merge Two HTML (HTM) Files Together
304
+ *CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_html_multi**](docs/MergeDocumentApi.md#merge_document_html_multi) | **POST** /convert/merge/html/multi | Merge Multple HTML (HTM) Files Together
302
305
  *CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_pdf**](docs/MergeDocumentApi.md#merge_document_pdf) | **POST** /convert/merge/pdf | Merge Two PDF Files Together
303
306
  *CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_pdf_multi**](docs/MergeDocumentApi.md#merge_document_pdf_multi) | **POST** /convert/merge/pdf/multi | Merge Multple PDF Files Together
304
307
  *CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_png**](docs/MergeDocumentApi.md#merge_document_png) | **POST** /convert/merge/png/vertical | Merge Two PNG Files Together
@@ -323,6 +326,7 @@ Class | Method | HTTP request | Description
323
326
  *CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_eml_validation**](docs/ValidateDocumentApi.md#validate_document_eml_validation) | **POST** /convert/validate/eml | Validate if an EML file is executable
324
327
  *CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_executable_validation**](docs/ValidateDocumentApi.md#validate_document_executable_validation) | **POST** /convert/validate/executable | Validate if a file is executable
325
328
  *CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_g_zip_validation**](docs/ValidateDocumentApi.md#validate_document_g_zip_validation) | **POST** /convert/validate/gzip | Validate a GZip Archive file (gzip or gz)
329
+ *CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_html_ssrf_validation**](docs/ValidateDocumentApi.md#validate_document_html_ssrf_validation) | **POST** /convert/validate/html/ssrf-threat-check | Validate an HTML file and checks for SSRF threats
326
330
  *CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_html_validation**](docs/ValidateDocumentApi.md#validate_document_html_validation) | **POST** /convert/validate/html | Validate an HTML file
327
331
  *CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_image_validation**](docs/ValidateDocumentApi.md#validate_document_image_validation) | **POST** /convert/validate/image | Validate an Image File
328
332
  *CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_jpg_validation**](docs/ValidateDocumentApi.md#validate_document_jpg_validation) | **POST** /convert/validate/jpg | Validate a JPG File
@@ -478,10 +482,14 @@ Class | Method | HTTP request | Description
478
482
  - [CloudmersiveConvertApiClient::GetXlsxStylesResponse](docs/GetXlsxStylesResponse.md)
479
483
  - [CloudmersiveConvertApiClient::GetXlsxWorksheetsRequest](docs/GetXlsxWorksheetsRequest.md)
480
484
  - [CloudmersiveConvertApiClient::GetXlsxWorksheetsResponse](docs/GetXlsxWorksheetsResponse.md)
485
+ - [CloudmersiveConvertApiClient::HtmlGetLinksResponse](docs/HtmlGetLinksResponse.md)
486
+ - [CloudmersiveConvertApiClient::HtmlHyperlink](docs/HtmlHyperlink.md)
481
487
  - [CloudmersiveConvertApiClient::HtmlMdResult](docs/HtmlMdResult.md)
488
+ - [CloudmersiveConvertApiClient::HtmlSsrfThreatCheckResult](docs/HtmlSsrfThreatCheckResult.md)
482
489
  - [CloudmersiveConvertApiClient::HtmlTemplateApplicationRequest](docs/HtmlTemplateApplicationRequest.md)
483
490
  - [CloudmersiveConvertApiClient::HtmlTemplateApplicationResponse](docs/HtmlTemplateApplicationResponse.md)
484
491
  - [CloudmersiveConvertApiClient::HtmlTemplateOperation](docs/HtmlTemplateOperation.md)
492
+ - [CloudmersiveConvertApiClient::HtmlThreatLink](docs/HtmlThreatLink.md)
485
493
  - [CloudmersiveConvertApiClient::HtmlToOfficeRequest](docs/HtmlToOfficeRequest.md)
486
494
  - [CloudmersiveConvertApiClient::HtmlToPdfRequest](docs/HtmlToPdfRequest.md)
487
495
  - [CloudmersiveConvertApiClient::HtmlToPngRequest](docs/HtmlToPngRequest.md)
data/docs/EditHtmlApi.md CHANGED
@@ -9,6 +9,7 @@ Method | HTTP request | Description
9
9
  [**edit_html_html_append_image_inline**](EditHtmlApi.md#edit_html_html_append_image_inline) | **POST** /convert/edit/html/append/image/inline | Append a Base64 Inline Image to an HTML Document
10
10
  [**edit_html_html_append_paragraph**](EditHtmlApi.md#edit_html_html_append_paragraph) | **POST** /convert/edit/html/append/paragraph | Append a Paragraph to an HTML Document
11
11
  [**edit_html_html_create_blank_document**](EditHtmlApi.md#edit_html_html_create_blank_document) | **POST** /convert/edit/html/create/blank | Create a Blank HTML Document
12
+ [**edit_html_html_get_links**](EditHtmlApi.md#edit_html_html_get_links) | **POST** /convert/edit/html/extract/links | Extract resolved link URLs from HTML File
12
13
 
13
14
 
14
15
  # **edit_html_html_append_heading**
@@ -327,3 +328,62 @@ Name | Type | Description | Notes
327
328
 
328
329
 
329
330
 
331
+ # **edit_html_html_get_links**
332
+ > HtmlGetLinksResponse edit_html_html_get_links(opts)
333
+
334
+ Extract resolved link URLs from HTML File
335
+
336
+ Extracts the resolved link URLs, fully-qualified if possible, from an input HTML file.
337
+
338
+ ### Example
339
+ ```ruby
340
+ # load the gem
341
+ require 'cloudmersive-convert-api-client'
342
+ # setup authorization
343
+ CloudmersiveConvertApiClient.configure do |config|
344
+ # Configure API key authorization: Apikey
345
+ config.api_key['Apikey'] = 'YOUR API KEY'
346
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
347
+ #config.api_key_prefix['Apikey'] = 'Bearer'
348
+ end
349
+
350
+ api_instance = CloudmersiveConvertApiClient::EditHtmlApi.new
351
+
352
+ opts = {
353
+ input_file: File.new('/path/to/file.txt'), # File | Optional: Input file to perform the operation on.
354
+ input_file_url: 'input_file_url_example', # String | Optional: URL of a file to operate on as input.
355
+ base_url: 'base_url_example' # String | Optional: Base URL of the page, such as https://mydomain.com
356
+ }
357
+
358
+ begin
359
+ #Extract resolved link URLs from HTML File
360
+ result = api_instance.edit_html_html_get_links(opts)
361
+ p result
362
+ rescue CloudmersiveConvertApiClient::ApiError => e
363
+ puts "Exception when calling EditHtmlApi->edit_html_html_get_links: #{e}"
364
+ end
365
+ ```
366
+
367
+ ### Parameters
368
+
369
+ Name | Type | Description | Notes
370
+ ------------- | ------------- | ------------- | -------------
371
+ **input_file** | **File**| Optional: Input file to perform the operation on. | [optional]
372
+ **input_file_url** | **String**| Optional: URL of a file to operate on as input. | [optional]
373
+ **base_url** | **String**| Optional: Base URL of the page, such as https://mydomain.com | [optional]
374
+
375
+ ### Return type
376
+
377
+ [**HtmlGetLinksResponse**](HtmlGetLinksResponse.md)
378
+
379
+ ### Authorization
380
+
381
+ [Apikey](../README.md#Apikey)
382
+
383
+ ### HTTP request headers
384
+
385
+ - **Content-Type**: Not defined
386
+ - **Accept**: application/json, text/json, application/xml, text/xml
387
+
388
+
389
+
@@ -0,0 +1,9 @@
1
+ # CloudmersiveConvertApiClient::HtmlGetLinksResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **successful** | **BOOLEAN** | True if the operation was successful, false otherwise | [optional]
7
+ **links** | [**Array<HtmlHyperlink>**](HtmlHyperlink.md) | All hyperlinks in the HTML document | [optional]
8
+
9
+
@@ -0,0 +1,9 @@
1
+ # CloudmersiveConvertApiClient::HtmlHyperlink
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **anchortext** | **String** | Anchor text of the hyperlink, e.g. Click Here | [optional]
7
+ **url** | **String** | URL of the hyperlink; fully-qualified if possible, otherwise relative | [optional]
8
+
9
+
@@ -0,0 +1,10 @@
1
+ # CloudmersiveConvertApiClient::HtmlSsrfThreatCheckResult
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **is_valid** | **BOOLEAN** | True if the document is valid and has no errors, false otherwise | [optional]
7
+ **is_threat** | **BOOLEAN** | True if the document contains an SSRF threat, false otherwise | [optional]
8
+ **threat_links** | [**Array<HtmlThreatLink>**](HtmlThreatLink.md) | Links found in the input HTML that contains threats | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # CloudmersiveConvertApiClient::HtmlThreatLink
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **link_url** | **String** | URL of the link | [optional]
7
+ **threat_level** | **String** | Threat assessment level; possible values are None, Low, Medium and High | [optional]
8
+
9
+
@@ -6,6 +6,8 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**merge_document_docx**](MergeDocumentApi.md#merge_document_docx) | **POST** /convert/merge/docx | Merge Two Word DOCX Together
8
8
  [**merge_document_docx_multi**](MergeDocumentApi.md#merge_document_docx_multi) | **POST** /convert/merge/docx/multi | Merge Multple Word DOCX Together
9
+ [**merge_document_html**](MergeDocumentApi.md#merge_document_html) | **POST** /convert/merge/html | Merge Two HTML (HTM) Files Together
10
+ [**merge_document_html_multi**](MergeDocumentApi.md#merge_document_html_multi) | **POST** /convert/merge/html/multi | Merge Multple HTML (HTM) Files Together
9
11
  [**merge_document_pdf**](MergeDocumentApi.md#merge_document_pdf) | **POST** /convert/merge/pdf | Merge Two PDF Files Together
10
12
  [**merge_document_pdf_multi**](MergeDocumentApi.md#merge_document_pdf_multi) | **POST** /convert/merge/pdf/multi | Merge Multple PDF Files Together
11
13
  [**merge_document_png**](MergeDocumentApi.md#merge_document_png) | **POST** /convert/merge/png/vertical | Merge Two PNG Files Together
@@ -150,6 +152,138 @@ Name | Type | Description | Notes
150
152
 
151
153
 
152
154
 
155
+ # **merge_document_html**
156
+ > Object merge_document_html(input_file1, input_file2)
157
+
158
+ Merge Two HTML (HTM) Files Together
159
+
160
+ Combine two HTML (.HTM) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically. The title will be taken from the first document.
161
+
162
+ ### Example
163
+ ```ruby
164
+ # load the gem
165
+ require 'cloudmersive-convert-api-client'
166
+ # setup authorization
167
+ CloudmersiveConvertApiClient.configure do |config|
168
+ # Configure API key authorization: Apikey
169
+ config.api_key['Apikey'] = 'YOUR API KEY'
170
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
171
+ #config.api_key_prefix['Apikey'] = 'Bearer'
172
+ end
173
+
174
+ api_instance = CloudmersiveConvertApiClient::MergeDocumentApi.new
175
+
176
+ input_file1 = File.new('/path/to/file.txt') # File | First input file to perform the operation on.
177
+
178
+ input_file2 = File.new('/path/to/file.txt') # File | Second input file to perform the operation on (more than 2 can be supplied).
179
+
180
+
181
+ begin
182
+ #Merge Two HTML (HTM) Files Together
183
+ result = api_instance.merge_document_html(input_file1, input_file2)
184
+ p result
185
+ rescue CloudmersiveConvertApiClient::ApiError => e
186
+ puts "Exception when calling MergeDocumentApi->merge_document_html: #{e}"
187
+ end
188
+ ```
189
+
190
+ ### Parameters
191
+
192
+ Name | Type | Description | Notes
193
+ ------------- | ------------- | ------------- | -------------
194
+ **input_file1** | **File**| First input file to perform the operation on. |
195
+ **input_file2** | **File**| Second input file to perform the operation on (more than 2 can be supplied). |
196
+
197
+ ### Return type
198
+
199
+ **Object**
200
+
201
+ ### Authorization
202
+
203
+ [Apikey](../README.md#Apikey)
204
+
205
+ ### HTTP request headers
206
+
207
+ - **Content-Type**: multipart/form-data
208
+ - **Accept**: application/octet-stream
209
+
210
+
211
+
212
+ # **merge_document_html_multi**
213
+ > String merge_document_html_multi(input_file1, input_file2, opts)
214
+
215
+ Merge Multple HTML (HTM) Files Together
216
+
217
+ Combine multiple HTML (.HTM) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically. The title will be taken from the first document.
218
+
219
+ ### Example
220
+ ```ruby
221
+ # load the gem
222
+ require 'cloudmersive-convert-api-client'
223
+ # setup authorization
224
+ CloudmersiveConvertApiClient.configure do |config|
225
+ # Configure API key authorization: Apikey
226
+ config.api_key['Apikey'] = 'YOUR API KEY'
227
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
228
+ #config.api_key_prefix['Apikey'] = 'Bearer'
229
+ end
230
+
231
+ api_instance = CloudmersiveConvertApiClient::MergeDocumentApi.new
232
+
233
+ input_file1 = File.new('/path/to/file.txt') # File | First input file to perform the operation on.
234
+
235
+ input_file2 = File.new('/path/to/file.txt') # File | Second input file to perform the operation on.
236
+
237
+ opts = {
238
+ input_file3: File.new('/path/to/file.txt'), # File | Third input file to perform the operation on.
239
+ input_file4: File.new('/path/to/file.txt'), # File | Fourth input file to perform the operation on.
240
+ input_file5: File.new('/path/to/file.txt'), # File | Fifth input file to perform the operation on.
241
+ input_file6: File.new('/path/to/file.txt'), # File | Sixth input file to perform the operation on.
242
+ input_file7: File.new('/path/to/file.txt'), # File | Seventh input file to perform the operation on.
243
+ input_file8: File.new('/path/to/file.txt'), # File | Eighth input file to perform the operation on.
244
+ input_file9: File.new('/path/to/file.txt'), # File | Ninth input file to perform the operation on.
245
+ input_file10: File.new('/path/to/file.txt') # File | Tenth input file to perform the operation on.
246
+ }
247
+
248
+ begin
249
+ #Merge Multple HTML (HTM) Files Together
250
+ result = api_instance.merge_document_html_multi(input_file1, input_file2, opts)
251
+ p result
252
+ rescue CloudmersiveConvertApiClient::ApiError => e
253
+ puts "Exception when calling MergeDocumentApi->merge_document_html_multi: #{e}"
254
+ end
255
+ ```
256
+
257
+ ### Parameters
258
+
259
+ Name | Type | Description | Notes
260
+ ------------- | ------------- | ------------- | -------------
261
+ **input_file1** | **File**| First input file to perform the operation on. |
262
+ **input_file2** | **File**| Second input file to perform the operation on. |
263
+ **input_file3** | **File**| Third input file to perform the operation on. | [optional]
264
+ **input_file4** | **File**| Fourth input file to perform the operation on. | [optional]
265
+ **input_file5** | **File**| Fifth input file to perform the operation on. | [optional]
266
+ **input_file6** | **File**| Sixth input file to perform the operation on. | [optional]
267
+ **input_file7** | **File**| Seventh input file to perform the operation on. | [optional]
268
+ **input_file8** | **File**| Eighth input file to perform the operation on. | [optional]
269
+ **input_file9** | **File**| Ninth input file to perform the operation on. | [optional]
270
+ **input_file10** | **File**| Tenth input file to perform the operation on. | [optional]
271
+
272
+ ### Return type
273
+
274
+ **String**
275
+
276
+ ### Authorization
277
+
278
+ [Apikey](../README.md#Apikey)
279
+
280
+ ### HTTP request headers
281
+
282
+ - **Content-Type**: multipart/form-data
283
+ - **Accept**: application/octet-stream
284
+
285
+
286
+
153
287
  # **merge_document_pdf**
154
288
  > String merge_document_pdf(input_file1, input_file2)
155
289
 
@@ -10,6 +10,7 @@ Method | HTTP request | Description
10
10
  [**validate_document_eml_validation**](ValidateDocumentApi.md#validate_document_eml_validation) | **POST** /convert/validate/eml | Validate if an EML file is executable
11
11
  [**validate_document_executable_validation**](ValidateDocumentApi.md#validate_document_executable_validation) | **POST** /convert/validate/executable | Validate if a file is executable
12
12
  [**validate_document_g_zip_validation**](ValidateDocumentApi.md#validate_document_g_zip_validation) | **POST** /convert/validate/gzip | Validate a GZip Archive file (gzip or gz)
13
+ [**validate_document_html_ssrf_validation**](ValidateDocumentApi.md#validate_document_html_ssrf_validation) | **POST** /convert/validate/html/ssrf-threat-check | Validate an HTML file and checks for SSRF threats
13
14
  [**validate_document_html_validation**](ValidateDocumentApi.md#validate_document_html_validation) | **POST** /convert/validate/html | Validate an HTML file
14
15
  [**validate_document_image_validation**](ValidateDocumentApi.md#validate_document_image_validation) | **POST** /convert/validate/image | Validate an Image File
15
16
  [**validate_document_jpg_validation**](ValidateDocumentApi.md#validate_document_jpg_validation) | **POST** /convert/validate/jpg | Validate a JPG File
@@ -350,6 +351,60 @@ Name | Type | Description | Notes
350
351
 
351
352
 
352
353
 
354
+ # **validate_document_html_ssrf_validation**
355
+ > HtmlSsrfThreatCheckResult validate_document_html_ssrf_validation(input_file)
356
+
357
+ Validate an HTML file and checks for SSRF threats
358
+
359
+ Validate an HTML document file and checks for SSRF (Server-side Request Forgery) threats in the file; if the document is not valid, identifies the errors in the document
360
+
361
+ ### Example
362
+ ```ruby
363
+ # load the gem
364
+ require 'cloudmersive-convert-api-client'
365
+ # setup authorization
366
+ CloudmersiveConvertApiClient.configure do |config|
367
+ # Configure API key authorization: Apikey
368
+ config.api_key['Apikey'] = 'YOUR API KEY'
369
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
370
+ #config.api_key_prefix['Apikey'] = 'Bearer'
371
+ end
372
+
373
+ api_instance = CloudmersiveConvertApiClient::ValidateDocumentApi.new
374
+
375
+ input_file = File.new('/path/to/file.txt') # File | Input file to perform the operation on.
376
+
377
+
378
+ begin
379
+ #Validate an HTML file and checks for SSRF threats
380
+ result = api_instance.validate_document_html_ssrf_validation(input_file)
381
+ p result
382
+ rescue CloudmersiveConvertApiClient::ApiError => e
383
+ puts "Exception when calling ValidateDocumentApi->validate_document_html_ssrf_validation: #{e}"
384
+ end
385
+ ```
386
+
387
+ ### Parameters
388
+
389
+ Name | Type | Description | Notes
390
+ ------------- | ------------- | ------------- | -------------
391
+ **input_file** | **File**| Input file to perform the operation on. |
392
+
393
+ ### Return type
394
+
395
+ [**HtmlSsrfThreatCheckResult**](HtmlSsrfThreatCheckResult.md)
396
+
397
+ ### Authorization
398
+
399
+ [Apikey](../README.md#Apikey)
400
+
401
+ ### HTTP request headers
402
+
403
+ - **Content-Type**: multipart/form-data
404
+ - **Accept**: application/json, text/json, application/xml, text/xml
405
+
406
+
407
+
353
408
  # **validate_document_html_validation**
354
409
  > DocumentValidationResult validate_document_html_validation(input_file)
355
410
 
@@ -147,10 +147,14 @@ require 'cloudmersive-convert-api-client/models/get_xlsx_styles_request'
147
147
  require 'cloudmersive-convert-api-client/models/get_xlsx_styles_response'
148
148
  require 'cloudmersive-convert-api-client/models/get_xlsx_worksheets_request'
149
149
  require 'cloudmersive-convert-api-client/models/get_xlsx_worksheets_response'
150
+ require 'cloudmersive-convert-api-client/models/html_get_links_response'
151
+ require 'cloudmersive-convert-api-client/models/html_hyperlink'
150
152
  require 'cloudmersive-convert-api-client/models/html_md_result'
153
+ require 'cloudmersive-convert-api-client/models/html_ssrf_threat_check_result'
151
154
  require 'cloudmersive-convert-api-client/models/html_template_application_request'
152
155
  require 'cloudmersive-convert-api-client/models/html_template_application_response'
153
156
  require 'cloudmersive-convert-api-client/models/html_template_operation'
157
+ require 'cloudmersive-convert-api-client/models/html_threat_link'
154
158
  require 'cloudmersive-convert-api-client/models/html_to_office_request'
155
159
  require 'cloudmersive-convert-api-client/models/html_to_pdf_request'
156
160
  require 'cloudmersive-convert-api-client/models/html_to_png_request'
@@ -335,5 +335,60 @@ module CloudmersiveConvertApiClient
335
335
  end
336
336
  return data, status_code, headers
337
337
  end
338
+ # Extract resolved link URLs from HTML File
339
+ # Extracts the resolved link URLs, fully-qualified if possible, from an input HTML file.
340
+ # @param [Hash] opts the optional parameters
341
+ # @option opts [File] :input_file Optional: Input file to perform the operation on.
342
+ # @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
343
+ # @option opts [String] :base_url Optional: Base URL of the page, such as https://mydomain.com
344
+ # @return [HtmlGetLinksResponse]
345
+ def edit_html_html_get_links(opts = {})
346
+ data, _status_code, _headers = edit_html_html_get_links_with_http_info(opts)
347
+ data
348
+ end
349
+
350
+ # Extract resolved link URLs from HTML File
351
+ # Extracts the resolved link URLs, fully-qualified if possible, from an input HTML file.
352
+ # @param [Hash] opts the optional parameters
353
+ # @option opts [File] :input_file Optional: Input file to perform the operation on.
354
+ # @option opts [String] :input_file_url Optional: URL of a file to operate on as input.
355
+ # @option opts [String] :base_url Optional: Base URL of the page, such as https://mydomain.com
356
+ # @return [Array<(HtmlGetLinksResponse, Fixnum, Hash)>] HtmlGetLinksResponse data, response status code and response headers
357
+ def edit_html_html_get_links_with_http_info(opts = {})
358
+ if @api_client.config.debugging
359
+ @api_client.config.logger.debug 'Calling API: EditHtmlApi.edit_html_html_get_links ...'
360
+ end
361
+ # resource path
362
+ local_var_path = '/convert/edit/html/extract/links'
363
+
364
+ # query parameters
365
+ query_params = {}
366
+
367
+ # header parameters
368
+ header_params = {}
369
+ # HTTP header 'Accept' (if needed)
370
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
371
+ header_params[:'inputFileUrl'] = opts[:'input_file_url'] if !opts[:'input_file_url'].nil?
372
+ header_params[:'baseUrl'] = opts[:'base_url'] if !opts[:'base_url'].nil?
373
+
374
+ # form parameters
375
+ form_params = {}
376
+ form_params['inputFile'] = opts[:'input_file'] if !opts[:'input_file'].nil?
377
+
378
+ # http body (model)
379
+ post_body = nil
380
+ auth_names = ['Apikey']
381
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
382
+ :header_params => header_params,
383
+ :query_params => query_params,
384
+ :form_params => form_params,
385
+ :body => post_body,
386
+ :auth_names => auth_names,
387
+ :return_type => 'HtmlGetLinksResponse')
388
+ if @api_client.config.debugging
389
+ @api_client.config.logger.debug "API called: EditHtmlApi#edit_html_html_get_links\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
390
+ end
391
+ return data, status_code, headers
392
+ end
338
393
  end
339
394
  end