Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
...
Anchor | ||||
---|---|---|---|---|
|
...
Find webpages in the Travel Demo which were last modified before or on June 3, 2015:
Code Pro |
---|
curl -X GET 'http://localhost:8080/magnoliaAuthor/.rest/delivery/website/v1?mgnl:lastModified\[lte\]=2015-06-03' \
-u superuser:superuser |
(The brackets have been escaped with the backslash character ( \
) for the command to work correctly in bash.
Expand | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
The result is returned for the following configuration:
|
Find webpages whose title is either Story or Stories. This can be done in two ways:
Code Pro |
---|
curl -X GET 'http://localhost:8080/magnoliaAuthor/.rest/delivery/website/v1?title=Story|Stories' \
-u superuser:superuser |
Code Pro |
---|
curl -X GET 'http://localhost:8080/magnoliaAuthor/.rest/delivery/website/v1?title\[like\]=Stor%25' \
-u superuser:superuser |
(The brackets have been escaped with the backslash character ( \
) for the command to work correctly in bash.)
Expand | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
The result is returned for the following configuration:
|
Find nodes in the tours
workspace which contain the
...
keyword vietnam
...
. Return the results in the descending order by the location
...
property and restrict the limit to one:
Code Pro |
---|
curl -X GET 'http://localhost:8080/magnoliaAuthor/.rest/delivery/tours/v1?q=vietnam&orderBy=location%20desc&limit=1' \
-u superuser:superuser |
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
The result is based on the basic configuration.
|
Find a tour
...
whose description
is Get photobombed by a Sea Turtle
...
:
Code Block |
---|
curl -X GET \
'http://localhost:8080/magnoliaAuthor/.rest/delivery/tours/v1?description=Get%20photobombed%20by%20a%20Sea%20Turtle' \
-u superuser:superuser |
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
The result is based on the basic configuration. |
...
In the website
workspace, find all nodes for whom /travel/about/careers is the ancestor
...
:
Code Block |
---|
curl -X GET \
'http://localhost:8080/magnoliaAuthor/.rest/delivery/website/v1?@ancestor=/travel/about/careers' \
-u superuser:superuser |
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
The result is returned for the following configuration:
|
Anchor | ||||
---|---|---|---|---|
|
...