Image Representation of Document Pages

Note
Note:  The features listed in this page are working only with GroupDocs.Annotation Cloud V1

GroupDocs.Annotation Cloud API supports to render the document pages to images and retrieves images link. Following APIs are provided for the purpose.

Generate Images of Document Pages

This API generates images of the document pages and returns links to generated images.

Resource

The following GroupDocs.Annotation Cloud REST API resource has been used to generate images of document pages.

cURL example

curl -v "https://api.groupdocs.cloud/v1/annotation/Annotated.pdf/image/pages" \
-X POST \
-H "Content-Type: application/json" -H "Accept: application/json" \
-d "{}" \
-H "authorization: Bearer 0v7TK3UGYjVBEcEIS9aaO0dsXAlt-KriIDnJGkDIPktFmuu6xIuou2-eVUD4-Td9TcToDvShk9w02pWIXvyEdstxDqjSa8L2K4Pk2zgNkAoEDgDeFlpWf0k7lZ8guqUm43eAKQf43MVNyr3L6P3w1e2l9j-RJx-btpPorcZ90xY8S_b1vySsKsUxOlnwYtWc01JEXlO7TNrmfD3Eek4ch-xzi-qe4V8nofmy7RbqwHNczeP7O_9bMi1eQ68b3Rprqd4UvDCj3gqTMyAaqd-I58lJzZsHRnbZoM7icIjVQyu02bRgx7meoXB8fIWmOkUfUkiGTT3IjI4NSmARxrPPwgp2LAv-N_9H0q3nxxfZDV1vHZQP--I6vgC2UHo-YPw-mB4WRVHsUKqq04L4pdR4pCIWuluus_ydjVH_ndJlqP843eL3glt1XJez3DgXQIbHiAnqBBDqZqSZZDVUYhLDq1jN9eM"
{
  "totalCount": 2,
  "entries": [
    {
      "number": 0,
      "link": {
        "href": "http://api.groupdocs.cloud/storage/file/Annotated_pdf/i/0.png",
        "rel": "self",
        "type": null,
        "title": null
      }
    },
    {
      "number": 1,
      "link": {
        "href": "http://api.groupdocs.cloud/storage/file/Annotated_pdf/i/1.png",
        "rel": "self",
        "type": null,
        "title": null
      }
    }
  ]
}

SDK examples

The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.

This API retrieves links to previously generated images of document pages.

Resource

The following GroupDocs.Annotation Cloud REST API resource has been used to get links to previously generated images of document pages.

cURL example

curl -v "https://api.groupdocs.cloud/v1/annotation/Annotated.pdf/image/pages" \
-X GET \
-H "Content-Type: application/json" \
-H "authorization: Bearer 0v7TK3UGYjVBEcEIS9aaO0dsXAlt-KriIDnJGkDIPktFmuu6xIuou2-eVUD4-Td9TcToDvShk9w02pWIXvyEdstxDqjSa8L2K4Pk2zgNkAoEDgDeFlpWf0k7lZ8guqUm43eAKQf43MVNyr3L6P3w1e2l9j-RJx-btpPorcZ90xY8S_b1vySsKsUxOlnwYtWc01JEXlO7TNrmfD3Eek4ch-xzi-qe4V8nofmy7RbqwHNczeP7O_9bMi1eQ68b3Rprqd4UvDCj3gqTMyAaqd-I58lJzZsHRnbZoM7icIjVQyu02bRgx7meoXB8fIWmOkUfUkiGTT3IjI4NSmARxrPPwgp2LAv-N_9H0q3nxxfZDV1vHZQP--I6vgC2UHo-YPw-mB4WRVHsUKqq04L4pdR4pCIWuluus_ydjVH_ndJlqP843eL3glt1XJez3DgXQIbHiAnqBBDqZqSZZDVUYhLDq1jN9eM"
{
  "totalCount": 2,
  "entries": [
    {
      "number": 0,
      "link": {
        "href": "http://api.groupdocs.cloud/storage/file/Annotated_pdf/i/0.png",
        "rel": "self",
        "type": null,
        "title": null
      }
    },
    {
      "number": 1,
      "link": {
        "href": "http://api.groupdocs.cloud/storage/file/Annotated_pdf/i/1.png",
        "rel": "self",
        "type": null,
        "title": null
      }
    }
  ]
}

SDK examples

The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.

This API retrieves the link to previously generated image by page number of the document pages

Resource

The following GroupDocs.Annotation Cloud REST API resource has been used to get link to image of specific page of the document.

cURL example

curl -v "https://api.groupdocs.cloud/v1/annotation/Annotated.pdf/image/pages/1" \
-X GET \
-H "Content-Type: application/json" \
-H "authorization: Bearer 0v7TK3UGYjVBEcEIS9aaO0dsXAlt-KriIDnJGkDIPktFmuu6xIuou2-eVUD4-Td9TcToDvShk9w02pWIXvyEdstxDqjSa8L2K4Pk2zgNkAoEDgDeFlpWf0k7lZ8guqUm43eAKQf43MVNyr3L6P3w1e2l9j-RJx-btpPorcZ90xY8S_b1vySsKsUxOlnwYtWc01JEXlO7TNrmfD3Eek4ch-xzi-qe4V8nofmy7RbqwHNczeP7O_9bMi1eQ68b3Rprqd4UvDCj3gqTMyAaqd-I58lJzZsHRnbZoM7icIjVQyu02bRgx7meoXB8fIWmOkUfUkiGTT3IjI4NSmARxrPPwgp2LAv-N_9H0q3nxxfZDV1vHZQP--I6vgC2UHo-YPw-mB4WRVHsUKqq04L4pdR4pCIWuluus_ydjVH_ndJlqP843eL3glt1XJez3DgXQIbHiAnqBBDqZqSZZDVUYhLDq1jN9eM"
{
  "number": 1,
  "link": {
    "href": "http://api.groupdocs.cloud/storage/file/Annotated_pdf/i/1.png",
    "rel": "self",
    "type": null,
    "title": null
  }
}

SDK examples

The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.

Clear Document Image Pages Cache

This API clears the previously generated images of document pages. It returns 204 code when it successfully removes the cache images.

Resource

The following GroupDocs.Annotation Cloud REST API resource has been used to clear images cache of document pages.

cURL example

curl -v "https://api.groupdocs.cloud/v1/annotation/Annotated.pdf/image/pages?folder#Output" \
-X DELETE \
-H "Content-Type: application/json" \
-H "authorization: Bearer 0v7TK3UGYjVBEcEIS9aaO0dsXAlt-KriIDnJGkDIPktFmuu6xIuou2-eVUD4-Td9TcToDvShk9w02pWIXvyEdstxDqjSa8L2K4Pk2zgNkAoEDgDeFlpWf0k7lZ8guqUm43eAKQf43MVNyr3L6P3w1e2l9j-RJx-btpPorcZ90xY8S_b1vySsKsUxOlnwYtWc01JEXlO7TNrmfD3Eek4ch-xzi-qe4V8nofmy7RbqwHNczeP7O_9bMi1eQ68b3Rprqd4UvDCj3gqTMyAaqd-I58lJzZsHRnbZoM7icIjVQyu02bRgx7meoXB8fIWmOkUfUkiGTT3IjI4NSmARxrPPwgp2LAv-N_9H0q3nxxfZDV1vHZQP--I6vgC2UHo-YPw-mB4WRVHsUKqq04L4pdR4pCIWuluus_ydjVH_ndJlqP843eL3glt1XJez3DgXQIbHiAnqBBDqZqSZZDVUYhLDq1jN9eM"
204 No Content

SDK examples

The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.

Clear Images Cache of Document Pages