Uploaded image for project: 'mod-oai-pmh'
  1. mod-oai-pmh
  2. MODOAIPMH-198

Implement the endpoint for updating set entry by id

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • None
    • None
    • Gulfstream Sprint 93
    • 2
    • Gulfstream

    Description

      Implement the endpoint which accepts set id and set json entry and then updates with it the set entry into databse.
      Request url /set/

      {set_id}
      Request method: PUT
      Request example: { "id" : "8772b95a-a006-419d-a367-3bd8e36918df", "name" : "1", "description" : "", "setSpec" : "", "createdDate" : "2020-06-24T08:05:24.129+0000", "createdByUserId" : "efa0ceef-32b9-409c-a6c5-2f74c62f6cf8", "updatedDate" : "2020-06-24T08:05:24.129+0000", "updatedByUserId" : "efa0ceef-32b9-409c-a6c5-2f74c62f6cf8" }

      acceptance criteria:
      - when PUT by id and item with specified id exists then response with updated item is returned with status code 204
      - when PUT by id and item with such id does not exist then 404 error returned with error message "Set with id '{set_id}

      ' was not found"

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                TotoroDev Illia Daliek
                TotoroDev Illia Daliek
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases