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

Nodes and properties should be handled by separate endpoints

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0
    • None
    • None
    • None
    • 5.2-rc1

      /nodes/v1/

      {workspace}/{path}

      GET
      - can get full tree
      - returns 404 if path does not exist

      POST
      - returns 404 if path does not exist
      - can not post full tree
      - does not return the node to save bandwidth

      PUT
      - can not put full tree
      - does not return the node to save bandwidth

      DELETE
      - returns empty response
      - returns 404 if path does not exist


      /properties/v1/{workspace}

      /

      {path}

      basically shortcuts for the node operations with tiny posts

      GET

      • returns only the value
      • returns 404 if path does not exist

      POST

      • returns 404 if path does not exist
      • returns empty response

      PUT

      • returns empty response

      DELETE

      • returns 404 if path does not exist
      • returns empty response

      includeMeta argument should be includeMetadata

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD