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

Details

    • Improvement
    • Resolution: Outdated
    • Critical
    • None
    • None
    • None

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            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

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD