Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-173

Get ordered tree of content from configured root of endpoint

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None
    • Release notes required:
      Yes
    • Documentation update required:
      Yes
    • Sprint:
      Saigon 141, Saigon 142, Saigon 143, Saigon 144
    • Story Points:
      5
    • Magnolia Release:
      5.6.6

      Description

      From a configured delivery endpoint it should be possible to get the ordered tree of content directly "under" the configured root node. It should be possible to get items at the root level with their "natural order" preserved.

      The QueryNode behaviour does not return the ordered tree. The ReadNode behaviour does, but cannot be used on the configured root of the endpoint.  

      This should work for any configured root - and of course should work if the configured root is the actual root of the repository.

       


      One idea could be to add a parameter which forces the ReadNode behaviour to be returned starting at the configured root - but only returns the nodes of the root element, not its properties.

      Another idea would be to eventually make the ReadNode behaviour the default when requesting an endpoint without any path or querystring.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                oanh.thai Oanh Thai Hoang
                Reporter:
                czimmermann Christopher Zimmermann
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4d Original Estimate - 4d
                  4d
                  Remaining:
                  Time Spent - 5.75d Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - 5.75d Remaining Estimate - 3h
                  5.75d