Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-1052

Make it possible to retrieve subpages in the norsu delivery endpoint

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Outdated
    • Icon: Critical Critical
    • None
    • None
    • None
    • DevX 32
    • 3

      Note

      I split the "Filter out unwanted content from a Norsu node" part into this ticket: 

      https://jira.magnolia-cms.com/browse/PAGES-1113

      Original Description

      For the purpose of navigation components, we need a way to retrieve subpages through the delivery endpoint.

      In JCR, we can define an endpoint that only returns child nodes with a specific type. E.g. to get only subpages to build a navigation component, we define:

      class: info.magnolia.rest.delivery.jcr.v2.JcrDeliveryEndpointDefinition
      workspace: website
      depth: 1
      childNodeTypes: # defaults to mgnl:contentNode, returning only areas and components
        - mgnl:page 
      

      Norsu rest endpoint should probably have analogous functionality, so we can avoid client-side workarounds like this.

        Acceptance criteria

          1.
          Implementation Sub-task In Progress Robert Šiška
          2.
          Review Sub-task To Do Unassigned
          3.
          Pre-Integration QA Sub-task To Do Unassigned
          4.
          QA Sub-task To Do Unassigned

              czimmermann Christopher Zimmermann
              rsiska Robert Šiška
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: