Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-45

Make all delete operations consistent in the REST API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-incubating
    • None
    • None

    Description


      There is a lack of consistency in how the REST controllers handle deletion. For example, RoleController.delete() does not return the deleted RoleTO object, unlike the corresponding method in UserController. It also uses the HTTP delete verb instead of get as per the UserController. I suggest there should be consistent behaviour for delete across the controllers, in other words all delete functionality should use HTTP GET and return the deleted object.

      Attachments

        1. syncope-45-core.patch
          34 kB
          Colm O hEigeartaigh
        2. syncope-45-console.patch
          13 kB
          Colm O hEigeartaigh

        Activity

          People

            coheigea Colm O hEigeartaigh
            coheigea Colm O hEigeartaigh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: