-
Story
-
Resolution: Outdated
-
Neutral
-
None
-
None
-
None
Improve the get methods so that the out-of-the-box rest endpoints can be used in more situations. A typical front-end developer should be able to use the rest endpoints without too much friction to grab data to use via ajax techniques on a web page - for example for a single page app.
A concept should be created.
Some possible improvements:
- Return data in a format that is more in line with the standards of rest endpoints - and less JCR-like - for example I would expect properties to be returned as key-value pairs - not as sub objects in JSON.
- Include the abiltity to include a filter, sort and general query in the json request.
- Ability to specify which properties to return, or maybe which to exclude as well.
- Ability to specify how to resolve certain properties on the server. For example if a node has properties that link to an asset and some categories - I'd like to get the URL of the asset and the name and link to the categories - rather that their UUID's.
Acceptance criteria