Preview API
API documentation for the required endpoints that the Presentation Preview plugin needs to work.
Last updated
API documentation for the required endpoints that the Presentation Preview plugin needs to work.
Last updated
Presentation Preview plugin depends on a frontend API to render a close to truth and very production-like HTML preview. Each web site (or product) needs to present the API as described in this documentation.
Naviga Web provides this API as part of the product, but with this documentation it should be possible to create a similar API with other Web presentations also.
POST
example.com/preview-api/v1/article
Responds with html page representing similar to how that article would look like on this site/product.
body*
String
Json as example below
Hint: Presentation preview API response needs to be HTML, but it's not limited to Web sites only. You could in theory build your own renderer to simulate newsletters, mobile apps or other products if you like, as long as they provide this API.