Skip to content

Commit 7da437d

Browse files
add TemplateMerge API
1 parent 5f259dd commit 7da437d

File tree

154 files changed

+1747
-571
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+1747
-571
lines changed

README.md

Lines changed: 57 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -115,26 +115,66 @@ public class ConversionApiExample {
115115
}
116116

117117
```
118-
119-
## Documentation for API Endpoints
118+
# Documentation for API Endpoints
120119

121120
All URIs are relative to *https://api.aspose.cloud/v1.1*
122121

123-
Class | Method | HTTP request | Description
124-
------------ | ------------- | ------------- | -------------
125-
*ConversionApi* | **GetConvertDocumentToImage** | **GET** /html/{name}/convert/image/{outFormat} | Convert the HTML document from the storage by its name to the specified image format.
126-
*ConversionApi* | **GetConvertDocumentToImageByUrl** | **GET** /html/convert/image/{outFormat} | Convert the HTML page from the web by its URL to the specified image format.
127-
*ConversionApi* | **GetConvertDocumentToPdf** | **GET** /html/{name}/convert/pdf | Convert the HTML document from the storage by its name to PDF.
128-
*ConversionApi* | **GetConvertDocumentToPdfByUrl** | **GET** /html/convert/pdf | Convert the HTML page from the web by its URL to PDF.
129-
*ConversionApi* | **GetConvertDocumentToXps** | **GET** /html/{name}/convert/xps | Convert the HTML document from the storage by its name to XPS.
130-
*ConversionApi* | **GetConvertDocumentToXpsByUrl** | **GET** /html/convert/xps | Convert the HTML page from the web by its URL to XPS.
131-
*DocumentApi* | **GetDocument** | **GET** /html/{name} | Return the HTML document by the name from default or specified storage.
132-
*DocumentApi* | **GetDocumentFragmentByXPath** | **GET** /html/{name}/fragments/{outFormat} | Return list of HTML fragments matching the specified XPath query.
133-
*DocumentApi* | **GetDocumentImages** | **GET** /html/{name}/images/all | Return all HTML document images packaged as a ZIP archive.
134-
*TranslationApi* | **GetTranslateDocument** | **GET** /html/{name}/translate/{srcLang}/{resLang} | Translate the HTML document specified by the name from default or specified storage.
135-
*TranslationApi* | **GetTranslateDocumentByUrl** | **GET** /html/translate/{srcLang}/{resLang} | Translate the HTML document specified by its URL.
136-
*SummarizationApi* | [**GetDetectHtmlKeywords**](docs/SummarizationApi.md#GetDetectHtmlKeywords) | **GET** /html/{name}/summ/keywords | Get the HTML document keywords using the keyword detection service.
137-
*SummarizationApi* | [**GetDetectHtmlKeywordsByUrl**](docs/SummarizationApi.md#GetDetectHtmlKeywordsByUrl) | **GET** /html/summ/keywords | Get the keywords from HTML document from Web specified by its URL using the keyword detection service
122+
123+
## ConversionApi
124+
125+
Method | HTTP request | Description
126+
------------- | ------------- | -------------
127+
**GetConvertDocumentToImage** | **GET** html/{name}/convert/image/{outFormat} | Convert the HTML document from the storage by its name to the specified image format.
128+
**GetConvertDocumentToImageByUrl** | **GET** html/convert/image/{outFormat} | Convert the HTML page from the web by its URL to the specified image format.
129+
**GetConvertDocumentToPdf** | **GET** html/{name}/convert/pdf | Convert the HTML document from the storage by its name to PDF.
130+
**GetConvertDocumentToPdfByUrl** | **GET** html/convert/pdf | Convert the HTML page from the web by its URL to PDF.
131+
**GetConvertDocumentToXps** | **GET** html/{name}/convert/xps | Convert the HTML document from the storage by its name to XPS.
132+
**GetConvertDocumentToXpsByUrl** | **GET** html/convert/xps | Convert the HTML page from the web by its URL to XPS.
133+
**PutConvertDocumentInRequestToImage** | **PUT** html/convert/image/{outFormat} | Converts the HTML document (in request content) to the specified image format and uploads resulting file to storage.
134+
**PutConvertDocumentInRequestToPdf** | **PUT** html/convert/pdf | Converts the HTML document (in request content) to PDF and uploads resulting file to storage.
135+
**PutConvertDocumentInRequestToXps** | **PUT** html/convert/xps | Converts the HTML document (in request content) to XPS and uploads resulting file to storage.
136+
**PutConvertDocumentToImage** | **PUT** html/{name}/convert/image/{outFormat} | Converts the HTML document (located on storage) to the specified image format and uploads resulting file to storage.
137+
**PutConvertDocumentToPdf** | **PUT** html/{name}/convert/pdf | Converts the HTML document (located on storage) to PDF and uploads resulting file to storage.
138+
**PutConvertDocumentToXps** | **PUT** html/{name}/convert/xps | Converts the HTML document (located on storage) to XPS and uploads resulting file to storage.
139+
140+
## DocumentApi
141+
142+
Method | HTTP request | Description
143+
------------- | ------------- | -------------
144+
**GetDocumentFragmentByXPath** | **GET** html/{name}/fragments/{outFormat} | Return list of HTML fragments matching the specified XPath query.
145+
**GetDocumentFragmentByXPathByUrl** | **GET** html/fragments/{outFormat} | Return list of HTML fragments matching the specified XPath query by the source page URL.
146+
**GetDocumentFragmentsByCSSSelector** | **GET** /html/{name}/fragments/css/{outFormat} | Return list of HTML fragments matching the specified CSS selector.
147+
**GetDocumentFragmentsByCSSSelectorByUrl** | **GET** /html/fragments/css/{outFormat} | Return list of HTML fragments matching the specified CSS selector by the source page URL.
148+
**GetDocumentImages** | **GET** html/{name}/images/all | Return all HTML document images packaged as a ZIP archive.
149+
**GetDocumentImagesByUrl** | **GET** html/images/all | Return all HTML page images packaged as a ZIP archive by the source page URL.
150+
151+
## OcrApi
152+
153+
Method | HTTP request | Description
154+
------------- | ------------- | -------------
155+
**GetRecognizeAndImportToHtml** | **GET** html/{name}/ocr/import | Recognize text from the image file in the storage and import it to HTML format.
156+
**GetRecognizeAndTranslateToHtml** | **GET** html/{name}/ocr/translate/{srcLang}/{resLang} | Recognize text from the image file in the storage, import it to HTML format and translate to specified language.
157+
158+
## TranslationApi
159+
160+
Method | HTTP request | Description
161+
------------- | ------------- | -------------
162+
**GetTranslateDocument** | **GET** html/{name}/translate/{srcLang}/{resLang} | Translate the HTML document specified by the name from default or specified storage.
163+
**GetTranslateDocumentByUrl** | **GET** html/translate/{srcLang}/{resLang} | Translate the HTML document from Web specified by its URL.
164+
165+
## SummarizationApi
166+
167+
Method | HTTP request | Description
168+
------------- | ------------- | -------------
169+
**GetDetectHtmlKeywords** | **GET** html/{name}/summ/keywords | Get the HTML document keywords using the keyword detection service.
170+
**GetDetectHtmlKeywordsByUrl** | **GET** html/summ/keywords | Get the keywords from HTML document from Web specified by its URL using the keyword detection service
171+
172+
## TemplateMergeApi
173+
174+
Method | HTTP request | Description
175+
------------- | ------------- | -------------
176+
*GetMergeHtmlTemplate* | **GET** /html/{templateName}/merge | Populate HTML document template with data located as a file in the storage.
177+
*PutMergeHtmlTemplate* | **PUT** /html/{templateName}/merge | Populate HTML document template with data from the request body. Result document will be saved to storage.
138178

139179

140180
## Recommendation

doc/allclasses-frame.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="ru">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_131) on Mon Sep 17 09:31:27 EEST 2018 -->
5+
<!-- Generated by javadoc (1.8.0_131) on Mon Oct 08 16:45:04 EEST 2018 -->
66
<title>All Classes</title>
7-
<meta name="date" content="2018-09-17">
7+
<meta name="date" content="2018-10-08">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>
@@ -46,6 +46,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
4646
<li><a href="com/aspose/storage/model/StorageExistResponse.html" title="class in com.aspose.storage.model" target="classFrame">StorageExistResponse</a></li>
4747
<li><a href="com/aspose/html/client/StringUtil.html" title="class in com.aspose.html.client" target="classFrame">StringUtil</a></li>
4848
<li><a href="com/aspose/html/api/SummarizationApi.html" title="class in com.aspose.html.api" target="classFrame">SummarizationApi</a></li>
49+
<li><a href="com/aspose/html/api/TemplateMergeApi.html" title="class in com.aspose.html.api" target="classFrame">TemplateMergeApi</a></li>
4950
<li><a href="com/aspose/html/api/TranslationApi.html" title="class in com.aspose.html.api" target="classFrame">TranslationApi</a></li>
5051
</ul>
5152
</div>

doc/allclasses-noframe.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="ru">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_131) on Mon Sep 17 09:31:27 EEST 2018 -->
5+
<!-- Generated by javadoc (1.8.0_131) on Mon Oct 08 16:45:04 EEST 2018 -->
66
<title>All Classes</title>
7-
<meta name="date" content="2018-09-17">
7+
<meta name="date" content="2018-10-08">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>
@@ -46,6 +46,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
4646
<li><a href="com/aspose/storage/model/StorageExistResponse.html" title="class in com.aspose.storage.model">StorageExistResponse</a></li>
4747
<li><a href="com/aspose/html/client/StringUtil.html" title="class in com.aspose.html.client">StringUtil</a></li>
4848
<li><a href="com/aspose/html/api/SummarizationApi.html" title="class in com.aspose.html.api">SummarizationApi</a></li>
49+
<li><a href="com/aspose/html/api/TemplateMergeApi.html" title="class in com.aspose.html.api">TemplateMergeApi</a></li>
4950
<li><a href="com/aspose/html/api/TranslationApi.html" title="class in com.aspose.html.api">TranslationApi</a></li>
5051
</ul>
5152
</div>

doc/com/aspose/html/api/ConversionApi.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="ru">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_131) on Mon Sep 17 09:31:16 EEST 2018 -->
5+
<!-- Generated by javadoc (1.8.0_131) on Mon Oct 08 16:44:56 EEST 2018 -->
66
<title>ConversionApi</title>
7-
<meta name="date" content="2018-09-17">
7+
<meta name="date" content="2018-10-08">
88
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
99
<script type="text/javascript" src="../../../../script.js"></script>
1010
</head>

0 commit comments

Comments
 (0)