Skip to content

Render a page of an uploaded sample as PNG

GET
/v1/extraction-templates/samples/{id}/pages/{n}.png
curl --request GET \
--url http://localhost:8080/v1/extraction-templates/samples/example/pages/1.png

Page n (1-based) of the sample identified by sampleId, rendered at documents.page_render_dpi and cached beside the sample. 404 for an unknown sample or page. Administrators only.

id
required
string
n
required
integer format: int32
/^-?(?:0|[1-9]\d*)$/

OK