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

Nodes and properties endpoints do not allow operations on the root node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.0.2
    • None
    • None
    • None

      Requests targeting the root node does not match the JAX-RS @Path descriptors making it impossible to query the root with GET or create nodes under the root with PUT.

      Neither with or without a trailing slash works.

      Proposed solution:

      This path pattern appears to work:

      @Path("/{workspace}{path:(/.+)?}")
      

        Acceptance criteria

              tmattsson Tobias Mattsson
              tmattsson Tobias Mattsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: