Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

We may create REST endpoints in Java like so: https://documentation.magnolia-cms.com/display/DOCS57/How+to+create+a+custom+Java-based+REST+endpoint

I thought that this article said we could create a REST endpoint without Java: https://blogs.magnolia-cms.com/jan-haderka/detail~&json--rest--magnolia-and-the-creation-of-end-points-without-writing-a-single-line-of-java~.html, but really it's a precursor to the delivery endpoint: https://documentation.magnolia-cms.com/display/DOCS56/Delivery+endpoint+API+v2#DeliveryendpointAPIv2-Inalightmodule.   And we can use this: https://documentation.magnolia-cms.com/display/DOCS57/restfn in our JS Model class later to call an external RESTful API to get data from outside Magnolia into our template scripts.



Page Turner
button-linkstrue