pages/{pageid}/pdf/{filename} (GET)
Overview
Export a page to PDF
- REST Method: GET
- Method Access: public
Uri Parameters
Name | Type | Description |
filename | string | Filename to download the pdf as |
pageid | string | either an integer page ID, "home", or "=" followed by a double uri-encoded page path |
Query Parameters
Name | Type | Description |
showtoc | bool? | flag to display a table of contents in the exported document |
format | {pdf, html}? | format to export: pdf | html (default: pdf) |
authenticate | bool? | Force authentication for request (default: false) |
stylesheet | string? | name of custom stylesheet to apply (stored in site/properties with namespace 'mindtouch.prince.stylesheet# |
Return Codes
Name | Value | Description |
OK | 200 | The request completed successfully |
Bad Request | 400 | Invalid input parameter or request body |
Forbidden | 403 | Read access to the page is required |
Not Found | 404 | Requested page could not be found |