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

Implement the POST endpoint for creating the set

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Sprint:
      Gulfstream Sprint 93
    • Story Points:
      2
    • Development Team:
      Gulfstream

      Description

      Implement the endpoint which accepts set json entry and saves it to databse
      Request url: /set
      Request method: POST
      Request example:

      { "name" : "1", "description" : "", "setSpec" : "" }

      acceptance criteria:

      • when POST entity then created item is returned with 201 status code
      • when POST entity with specified id within body and there already exists item with such id then response with 400 status code returned with erorr message "Set with id ' {set_id}

        ' already exists"

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases