Jahia the Java Open Source Web Content Management Community

REST

New additional Rendering Service for JCR stored content with REST capabilities

Page rendering System

An additional page rendering service has been developed allowing multiple views for each JCR stored content .This means you will be able to apply "views" on any content, based on rules or according to the editor’s choice using a dedicated GUI.
The new page rendering service is fully REST compatible.

You may now access all Jahia content (JCR nodes) and manipulate it in a very standard and transparent way, using standard REST URLs. It also means that it becomes much easier to retrieve content from external systems or websites using REST calls. Last but not least, it means that projects that need strong Web 2.0 user interaction will be able to implement these features on Jahia very quickly.

One example of the new Jahia REST capabilities can be seen in the following example :

If you consider the actual ACME demo home page, you are now able to call a specific content zone using a simple URL.

For instance the list of 4 content below:

This content list can be called by the following URL, considering the node where this content is declared in the Content Repository connected to Jahia:

http://localhost:8080/render/default/en/content/sites/ACME/Home/promo.html

This address delivers the following flow of data on which you may apply any kind of templates:

Using the same method, you can call only one content of the list using the following URL:
http://localhost:8080/render/default/en/content/sites/ACME/Home/zone3.html

This address delivers the following flow of data on which you may apply any kind of templates: