Monday, 28. September 2015 14:00 - 14:30 (30 min)
HApi allows sling component developers to create a hypermedia API over the same HTML components that are designed for the browser (use the same HTML markup as the media type for the API instead of defining a new endpoint/ format). Hypermedia controls are already defined in HTML as anchors, links and forms while HApi allows to use microdata to add semantic structure to the markup from application-defined semantic types defined in the sling repository. The API can then be used to enable automated testing, crawlers, external importers/ exporters, server-to server communication, etc.
Right now, sightly and jsp are supported, but any scripting language should be easy to use as would be replacing the microdata semantic annotations with something like RDFa.
Andrei Dulvac, Adobe