Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: new version of tutorial

...

ExampleWebsiteREST result

Get one specific item using the default delivery endpoint. In this example we get a specific tour published to our public demo site by providing the path:

.rest/delivery/tours/v1/magnolia-travels/A-Taste-of-Malaysia

Image Modified

Image Modified

Get all content from a sub-resource using the default delivery endpoint. In this example we get all the tours published to our public demo site:

.rest/delivery/tours/v1

Image Modified

Image Modified

Run a fulltext search for the word "landscape" in all the tours published to our public demo site using the default delivery endpoint:

.rest/delivery/tours/v1/?q=landscape

Image Modified

Image Modified

Filter on the isFeatured property and on tags health and sale applied to tours using the default delivery endpoint:

.rest/delivery/tours/v1/?isFeatured=true&mgnl:tags=health&mgnl:tags=sale

Image Modified

Image Modified

Get tour content limited to five results and and offset to begin at number ten using the default delivery endpoint:

.rest/delivery/tours/v1/?limit=5&offset=10

Image Modified

Image Modified

Anchor
setup
setup
Setting up Magnolia for REST

...