Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

REST API PDF

Timo Ludwig edited this page Mar 20, 2018 · 1 revision

PDF generation of pages

REQUEST

Get all published pages of a locations

GET /{location}/{language}/wp-json/ig-mpdf/v1/pdf HTTP/1.1
Host: web.integreat-app.de

REQUEST

Get a published page and all of its children by id

GET /{location}/{language}/wp-json/ig-mpdf/v1/pdf?id={id} HTTP/1.1
Host: web.integreat-app.de

REQUEST

Get a published page and all of its children by permalink or slug

GET /{location}/{language}/wp-json/ig-mpdf/v1/pdf?url={permalink or slug} HTTP/1.1
Host: web.integreat-app.de

Clone this wiki locally