The Gini Accounting API renders preview images of the document pages. In order to retrieve a list of pages for a document, issue a GET
request to the pages
sub-resource of the document.
Request
Path parameters
Name | Value |
---|---|
| Document ID |
Headers
Header | Value |
---|---|
|
|
Response
Headers
Status Code | Description |
---|---|
200 (OK) | The request was successful. |
404 (Not Found) | The requested document does not exist. |
Body
Name | Type | Description |
---|---|---|
|
| All pages in the current result page. |
A page is an entity with the following fields:
Key | Child key | Type | Description |
---|---|---|---|
|
| UUID of the document which the page belongs to. | |
|
| Page number. | |
|
| Links to related resources. | |
|
| Link to the document to which the page belongs. | |
|
| Link to the pages of the document. | |
|
| Links to pre-rendered page images in different resolutions. | |
image resolution in pixels |
| Link to a pre-rendered image of the page. |
Image downloads require a corresponding `Accept` header such as `image/jpeg` or `image/*`.