Skip to content

Commit 90f5101

Browse files
committed
Add Storage methods
1 parent 8ecffcb commit 90f5101

File tree

235 files changed

+6382
-3597
lines changed

Some content is hidden

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

235 files changed

+6382
-3597
lines changed

README.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Aspose.PDF Cloud
22
- API version: 2.0
3-
- Package version: 18.11.0
3+
- Package version: 18.12.0
44

55
[Aspose.PDF Cloud](https://products.aspose.cloud/pdf) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of PDF documents in the cloud.
66

@@ -37,7 +37,7 @@ Add this dependency to your project's POM:
3737
<dependency>
3838
<groupId>com.aspose</groupId>
3939
<artifactId>aspose-cloud-pdf-android</artifactId>
40-
<version>18.11.0</version>
40+
<version>18.12.0</version>
4141
<scope>compile</scope>
4242
</dependency>
4343
```
@@ -47,7 +47,7 @@ Add this dependency to your project's POM:
4747
Add this dependency to your project's build file:
4848

4949
```groovy
50-
compile "com.aspose:aspose-cloud-pdf-android:18.11.0"
50+
compile "com.aspose:aspose-cloud-pdf-android:18.12.0"
5151
```
5252

5353
### Others
@@ -58,7 +58,7 @@ At first generate the JAR by executing:
5858

5959
Then manually install the following JARs:
6060

61-
* target/aspose-cloud-pdf-android-18.11.0.jar
61+
* target/aspose-cloud-pdf-android-18.12.0.jar
6262
* target/lib/*.jar
6363

6464
## Getting Started
@@ -119,6 +119,8 @@ Class | Method | HTTP request | Description
119119
*PdfApi* | [**deleteDocumentAnnotations**](sdk/docs/PdfApi.md#deleteDocumentAnnotations) | **DELETE** /pdf/\{name}/annotations | Delete all annotations from the document
120120
*PdfApi* | [**deleteDocumentLinkAnnotations**](sdk/docs/PdfApi.md#deleteDocumentLinkAnnotations) | **DELETE** /pdf/\{name}/links | Delete all link annotations from the document
121121
*PdfApi* | [**deleteField**](sdk/docs/PdfApi.md#deleteField) | **DELETE** /pdf/\{name}/fields/\{fieldName} | Delete document field by name.
122+
*PdfApi* | [**deleteFile**](sdk/docs/PdfApi.md#deleteFile) | **DELETE** /storage/file | Remove a specific file
123+
*PdfApi* | [**deleteFolder**](sdk/docs/PdfApi.md#deleteFolder) | **DELETE** /storage/folder | Remove a specific folder
122124
*PdfApi* | [**deleteImage**](sdk/docs/PdfApi.md#deleteImage) | **DELETE** /pdf/\{name}/images/\{imageId} | Delete image from document page.
123125
*PdfApi* | [**deleteLinkAnnotation**](sdk/docs/PdfApi.md#deleteLinkAnnotation) | **DELETE** /pdf/\{name}/links/\{linkId} | Delete document page link annotation by ID
124126
*PdfApi* | [**deletePage**](sdk/docs/PdfApi.md#deletePage) | **DELETE** /pdf/\{name}/pages/\{pageNumber} | Delete document page by its number.
@@ -128,6 +130,7 @@ Class | Method | HTTP request | Description
128130
*PdfApi* | [**deleteProperty**](sdk/docs/PdfApi.md#deleteProperty) | **DELETE** /pdf/\{name}/documentproperties/\{propertyName} | Delete document property.
129131
*PdfApi* | [**getCaretAnnotation**](sdk/docs/PdfApi.md#getCaretAnnotation) | **GET** /pdf/\{name}/annotations/caret/\{annotationId} | Read document page caret annotation by ID.
130132
*PdfApi* | [**getCircleAnnotation**](sdk/docs/PdfApi.md#getCircleAnnotation) | **GET** /pdf/\{name}/annotations/circle/\{annotationId} | Read document page circle annotation by ID.
133+
*PdfApi* | [**getDiscUsage**](sdk/docs/PdfApi.md#getDiscUsage) | **GET** /storage/disc | Check the disk usage of the current account
131134
*PdfApi* | [**getDocument**](sdk/docs/PdfApi.md#getDocument) | **GET** /pdf/\{name} | Read common document info.
132135
*PdfApi* | [**getDocumentAnnotations**](sdk/docs/PdfApi.md#getDocumentAnnotations) | **GET** /pdf/\{name}/annotations | Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases.
133136
*PdfApi* | [**getDocumentAttachmentByIndex**](sdk/docs/PdfApi.md#getDocumentAttachmentByIndex) | **GET** /pdf/\{name}/attachments/\{attachmentIndex} | Read document attachment info by its index.
@@ -165,9 +168,12 @@ Class | Method | HTTP request | Description
165168
*PdfApi* | [**getImageExtractAsTiff**](sdk/docs/PdfApi.md#getImageExtractAsTiff) | **GET** /pdf/\{name}/images/\{imageId}/extract/tiff | Extract document image in TIFF format
166169
*PdfApi* | [**getImages**](sdk/docs/PdfApi.md#getImages) | **GET** /pdf/\{name}/pages/\{pageNumber}/images | Read document images.
167170
*PdfApi* | [**getInkAnnotation**](sdk/docs/PdfApi.md#getInkAnnotation) | **GET** /pdf/\{name}/annotations/ink/\{annotationId} | Read document page ink annotation by ID.
171+
*PdfApi* | [**getIsExist**](sdk/docs/PdfApi.md#getIsExist) | **GET** /storage/exist | Check if a specific file or folder exists
172+
*PdfApi* | [**getIsStorageExist**](sdk/docs/PdfApi.md#getIsStorageExist) | **GET** /storage/\{name}/exist | Check if storage exists
168173
*PdfApi* | [**getLaTeXInStorageToPdf**](sdk/docs/PdfApi.md#getLaTeXInStorageToPdf) | **GET** /pdf/create/latex | Convert LaTeX file (located on storage) to PDF format and return resulting file in response.
169174
*PdfApi* | [**getLineAnnotation**](sdk/docs/PdfApi.md#getLineAnnotation) | **GET** /pdf/\{name}/annotations/line/\{annotationId} | Read document page line annotation by ID.
170175
*PdfApi* | [**getLinkAnnotation**](sdk/docs/PdfApi.md#getLinkAnnotation) | **GET** /pdf/\{name}/links/\{linkId} | Read document link annotation by ID.
176+
*PdfApi* | [**getListFileVersions**](sdk/docs/PdfApi.md#getListFileVersions) | **GET** /storage/version | Get the file&#39;s versions list
171177
*PdfApi* | [**getListFiles**](sdk/docs/PdfApi.md#getListFiles) | **GET** /storage/folder | Get the file listing of a specific folder
172178
*PdfApi* | [**getMhtInStorageToPdf**](sdk/docs/PdfApi.md#getMhtInStorageToPdf) | **GET** /pdf/create/mht | Convert MHT file (located on storage) to PDF format and return resulting file in response.
173179
*PdfApi* | [**getPage**](sdk/docs/PdfApi.md#getPage) | **GET** /pdf/\{name}/pages/\{pageNumber} | Read document page info.
@@ -230,7 +236,10 @@ Class | Method | HTTP request | Description
230236
*PdfApi* | [**postAppendDocument**](sdk/docs/PdfApi.md#postAppendDocument) | **POST** /pdf/\{name}/appendDocument | Append document to existing one.
231237
*PdfApi* | [**postCreateField**](sdk/docs/PdfApi.md#postCreateField) | **POST** /pdf/\{name}/fields | Create field.
232238
*PdfApi* | [**postDocumentTextReplace**](sdk/docs/PdfApi.md#postDocumentTextReplace) | **POST** /pdf/\{name}/text/replace | Document&#39;s replace text method.
239+
*PdfApi* | [**postFlattenDocument**](sdk/docs/PdfApi.md#postFlattenDocument) | **POST** /pdf/\{name}/flatten | Removes all fields from the document and place their values instead.
233240
*PdfApi* | [**postInsertImage**](sdk/docs/PdfApi.md#postInsertImage) | **POST** /pdf/\{name}/pages/\{pageNumber}/images | Insert image to document page.
241+
*PdfApi* | [**postMoveFile**](sdk/docs/PdfApi.md#postMoveFile) | **POST** /storage/file | Move a specific file
242+
*PdfApi* | [**postMoveFolder**](sdk/docs/PdfApi.md#postMoveFolder) | **POST** /storage/folder | Move a specific folder
234243
*PdfApi* | [**postMovePage**](sdk/docs/PdfApi.md#postMovePage) | **POST** /pdf/\{name}/pages/\{pageNumber}/movePage | Move page to new position.
235244
*PdfApi* | [**postOptimizeDocument**](sdk/docs/PdfApi.md#postOptimizeDocument) | **POST** /pdf/\{name}/optimize | Optimize document.
236245
*PdfApi* | [**postPageCaretAnnotations**](sdk/docs/PdfApi.md#postPageCaretAnnotations) | **POST** /pdf/\{name}/pages/\{pageNumber}/annotations/caret | Add document page caret annotations.
@@ -258,6 +267,7 @@ Class | Method | HTTP request | Description
258267
*PdfApi* | [**putCircleAnnotation**](sdk/docs/PdfApi.md#putCircleAnnotation) | **PUT** /pdf/\{name}/annotations/circle/\{annotationId} | Replace document circle annotation
259268
*PdfApi* | [**putCreate**](sdk/docs/PdfApi.md#putCreate) | **PUT** /storage/file | Upload a specific file
260269
*PdfApi* | [**putCreateDocument**](sdk/docs/PdfApi.md#putCreateDocument) | **PUT** /pdf/\{name} | Create empty document.
270+
*PdfApi* | [**putCreateFolder**](sdk/docs/PdfApi.md#putCreateFolder) | **PUT** /storage/folder | Create the folder
261271
*PdfApi* | [**putEpubInStorageToPdf**](sdk/docs/PdfApi.md#putEpubInStorageToPdf) | **PUT** /pdf/\{name}/create/epub | Convert EPUB file (located on storage) to PDF format and upload resulting file to storage.
262272
*PdfApi* | [**putFieldsFlatten**](sdk/docs/PdfApi.md#putFieldsFlatten) | **PUT** /pdf/\{name}/fields/flatten | Flatten form fields in document.
263273
*PdfApi* | [**putFreeTextAnnotation**](sdk/docs/PdfApi.md#putFreeTextAnnotation) | **PUT** /pdf/\{name}/annotations/freetext/\{annotationId} | Replace document free text annotation
@@ -348,11 +358,13 @@ Class | Method | HTTP request | Description
348358
- [Color](sdk/docs/Color.md)
349359
- [ColorDepth](sdk/docs/ColorDepth.md)
350360
- [CompressionType](sdk/docs/CompressionType.md)
361+
- [DiscUsage](sdk/docs/DiscUsage.md)
351362
- [DocFormat](sdk/docs/DocFormat.md)
352363
- [DocRecognitionMode](sdk/docs/DocRecognitionMode.md)
353364
- [DocumentPrivilege](sdk/docs/DocumentPrivilege.md)
354365
- [EpubRecognitionMode](sdk/docs/EpubRecognitionMode.md)
355366
- [FieldType](sdk/docs/FieldType.md)
367+
- [FileExist](sdk/docs/FileExist.md)
356368
- [FontEncodingRules](sdk/docs/FontEncodingRules.md)
357369
- [FontSavingModes](sdk/docs/FontSavingModes.md)
358370
- [FontStyles](sdk/docs/FontStyles.md)
@@ -382,7 +394,7 @@ Class | Method | HTTP request | Description
382394
- [Point](sdk/docs/Point.md)
383395
- [PolyIntent](sdk/docs/PolyIntent.md)
384396
- [RasterImagesSavingModes](sdk/docs/RasterImagesSavingModes.md)
385-
- [RectanglePdf](sdk/docs/RectanglePdf.md)
397+
- [Rectangle](sdk/docs/Rectangle.md)
386398
- [Rotation](sdk/docs/Rotation.md)
387399
- [Segment](sdk/docs/Segment.md)
388400
- [ShapeType](sdk/docs/ShapeType.md)
@@ -416,6 +428,7 @@ Class | Method | HTTP request | Description
416428
- [CircleAnnotationResponse](sdk/docs/CircleAnnotationResponse.md)
417429
- [CircleAnnotations](sdk/docs/CircleAnnotations.md)
418430
- [CircleAnnotationsResponse](sdk/docs/CircleAnnotationsResponse.md)
431+
- [DiscUsageResponse](sdk/docs/DiscUsageResponse.md)
419432
- [Document](sdk/docs/Document.md)
420433
- [DocumentPageResponse](sdk/docs/DocumentPageResponse.md)
421434
- [DocumentPagesResponse](sdk/docs/DocumentPagesResponse.md)
@@ -428,6 +441,9 @@ Class | Method | HTTP request | Description
428441
- [FieldResponse](sdk/docs/FieldResponse.md)
429442
- [Fields](sdk/docs/Fields.md)
430443
- [FieldsResponse](sdk/docs/FieldsResponse.md)
444+
- [FileExistResponse](sdk/docs/FileExistResponse.md)
445+
- [FileVersion](sdk/docs/FileVersion.md)
446+
- [FileVersionsResponse](sdk/docs/FileVersionsResponse.md)
431447
- [FilesResponse](sdk/docs/FilesResponse.md)
432448
- [FreeTextAnnotationResponse](sdk/docs/FreeTextAnnotationResponse.md)
433449
- [FreeTextAnnotations](sdk/docs/FreeTextAnnotations.md)
@@ -469,6 +485,7 @@ Class | Method | HTTP request | Description
469485
- [SquigglyAnnotationResponse](sdk/docs/SquigglyAnnotationResponse.md)
470486
- [SquigglyAnnotations](sdk/docs/SquigglyAnnotations.md)
471487
- [SquigglyAnnotationsResponse](sdk/docs/SquigglyAnnotationsResponse.md)
488+
- [StorageExistResponse](sdk/docs/StorageExistResponse.md)
472489
- [StrikeOutAnnotationResponse](sdk/docs/StrikeOutAnnotationResponse.md)
473490
- [StrikeOutAnnotations](sdk/docs/StrikeOutAnnotations.md)
474491
- [StrikeOutAnnotationsResponse](sdk/docs/StrikeOutAnnotationsResponse.md)

sdk/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ apply plugin: 'idea'
2020
apply plugin: 'eclipse'
2121

2222
group = 'com.aspose'
23-
version = '18.11.0'
23+
version = '18.12.0'
2424

2525
buildscript {
2626
repositories {
@@ -96,7 +96,7 @@ dependencies {
9696
publish {
9797
groupId = 'com.aspose'
9898
artifactId = 'aspose-cloud-pdf-android'
99-
publishVersion = '18.11.0'
99+
publishVersion = '18.12.0'
100100
desc = 'Aspose.PDF Cloud is a REST API for creating and editing PDF files. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.PDF Cloud helps you manipulate elements of a PDF file like text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by using features like merging, splitting, and inserting. Add images to a PDF file or convert PDF pages to images.'
101101
licences = ['MIT']
102102
website = 'https://products.aspose.cloud/pdf/cloud'

sdk/docs/Annotation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ Provides annotation.
55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8+
**color** | [**Color**](Color.md) | Color of the annotation. | [optional]
89
**contents** | **String** | Get the annotation content. | [optional]
910
**modified** | **String** | The date and time when the annotation was last modified. | [optional]
1011
**id** | **String** | Gets ID of the annotation. | [optional]
1112
**flags** | [**List&lt;AnnotationFlags&gt;**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional]
1213
**name** | **String** | Gets Name of the annotation. | [optional]
13-
**rect** | [**RectanglePdf**](RectanglePdf.md) | Gets Rect of the annotation. |
14+
**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. |
1415
**pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional]
1516
**zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional]
1617
**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional]

sdk/docs/AnnotationInfo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ Provides annotation.
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**annotationType** | [**AnnotationType**](AnnotationType.md) | Gets annotation type. |
9+
**color** | [**Color**](Color.md) | Color of the annotation. | [optional]
910
**contents** | **String** | Get the annotation content. | [optional]
1011
**modified** | **String** | The date and time when the annotation was last modified. | [optional]
1112
**id** | **String** | Gets ID of the annotation. | [optional]
1213
**flags** | [**List&lt;AnnotationFlags&gt;**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional]
1314
**name** | **String** | Gets Name of the annotation. | [optional]
14-
**rect** | [**RectanglePdf**](RectanglePdf.md) | Gets Rect of the annotation. |
15+
**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. |
1516
**pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional]
1617
**zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional]
1718
**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional]

sdk/docs/AnnotationsInfo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
# AnnotationsInfo
3-
List of annotations.
3+
Object representing a list of annotation info objects.
44

55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**list** | [**List&lt;AnnotationInfo&gt;**](AnnotationInfo.md) | | [optional]
8+
**list** | [**List&lt;AnnotationInfo&gt;**](AnnotationInfo.md) | List of annotation info objects. | [optional]
99
**links** | [**List&lt;Link&gt;**](Link.md) | Link to the document. | [optional]
1010

1111

sdk/docs/AnnotationsInfoResponse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
# AnnotationsInfoResponse
3-
3+
Represents multiple annotations info reponse
44

55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**annotations** | [**AnnotationsInfo**](AnnotationsInfo.md) | | [optional]
8+
**annotations** | [**AnnotationsInfo**](AnnotationsInfo.md) | Annotations info | [optional]
99
**code** | **Integer** | Response status code. |
1010
**status** | **String** | Response status. | [optional]
1111

sdk/docs/AttachmentResponse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
# AttachmentResponse
3-
3+
Represents response containing single attachment info
44

55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**attachment** | [**Attachment**](Attachment.md) | | [optional]
8+
**attachment** | [**Attachment**](Attachment.md) | Attachment object | [optional]
99
**code** | **Integer** | Response status code. |
1010
**status** | **String** | Response status. | [optional]
1111

sdk/docs/Attachments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
# Attachments
3-
List of attachment.
3+
Represents list of attachment.
44

55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**list** | [**List&lt;LinkElement&gt;**](LinkElement.md) | | [optional]
8+
**list** | [**List&lt;LinkElement&gt;**](LinkElement.md) | List of annotations. | [optional]
99
**links** | [**List&lt;Link&gt;**](Link.md) | Link to the document. | [optional]
1010

1111

sdk/docs/AttachmentsResponse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
# AttachmentsResponse
3-
3+
Represents response containing multiple attachments info
44

55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**attachments** | [**Attachments**](Attachments.md) | | [optional]
8+
**attachments** | [**Attachments**](Attachments.md) | Attachments object | [optional]
99
**code** | **Integer** | Response status code. |
1010
**status** | **String** | Response status. | [optional]
1111

sdk/docs/CaretAnnotation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ Provides CaretAnnotation.
55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**color** | [**Color**](Color.md) | Color of the annotation. | [optional]
9-
**frame** | [**RectanglePdf**](RectanglePdf.md) | Gets or sets caret rectangle. | [optional]
8+
**frame** | [**Rectangle**](Rectangle.md) | Gets or sets caret rectangle. | [optional]
109
**symbol** | [**CaretSymbol**](CaretSymbol.md) | Gets or sets symbol associated with caret. | [optional]
1110
**creationDate** | **String** | The date and time when the annotation was created. | [optional]
1211
**subject** | **String** | Get the annotation subject. | [optional]
1312
**title** | **String** | Get the annotation title. | [optional]
1413
**richText** | **String** | Get the annotation RichText. | [optional]
14+
**color** | [**Color**](Color.md) | Color of the annotation. | [optional]
1515
**contents** | **String** | Get the annotation content. | [optional]
1616
**modified** | **String** | The date and time when the annotation was last modified. | [optional]
1717
**id** | **String** | Gets ID of the annotation. | [optional]
1818
**flags** | [**List&lt;AnnotationFlags&gt;**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional]
1919
**name** | **String** | Gets Name of the annotation. | [optional]
20-
**rect** | [**RectanglePdf**](RectanglePdf.md) | Gets Rect of the annotation. |
20+
**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. |
2121
**pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional]
2222
**zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional]
2323
**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional]

0 commit comments

Comments
 (0)