Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2617

POST request to LDPCv to create LDPRm

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Fedora 5.0.0
    • Component/s: f4-core
    • Labels:

      Description

      Update POST to LDPCv to include support for versioning headers. In practice, the LDPCv for object with uri <http://localhost/rest/a> would be <http://localhost/rest/a/fcr:versions>
      See: https://fcrepo.github.io/fcrepo-specification/#ldpcvpost

      • if the request contained a body, then a new LDPRm is created from the submitted body
      • if the request body was empty, then a new LDPRm is created from the current version of the LDPRv.
      • If a Memento-Datetime header is provided as part of this POST request, then the newly created LDPRm must attempt to use it as the memento datetime
        • If a LDPRm already exists with the same Memento-Datetime specified, then the LDPRm is not created and a '412 already exists' response is returned.
      • Response from a successful creation should return a LDPRm headers, particularly the Memento-Datetime of the new LDPRm.
      • Response must include a Location header referencing the URI of the newly created LDPRm.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ben.pennell Ben Pennell
                Reporter:
                ben.pennell Ben Pennell
                Reviewer:
                Danny Bernstein
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: