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

Support returning no content after create / update

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0-M1
    • Component/s: None
    • Labels:

      Description

      Some REST methods (mostly in UserService and RoleService) are now returning the created / updated / deleted resource in the Response body as entity.

      It could be nice to provide a 'Prefer' / 'Preference-Applied' (similar respectively to [1] and [2]) HTTP header mechanism allowing caller to declare that he is not interested in getting the created / updated / deleted resource back, but only in operation result status.

      [1] http://msdn.microsoft.com/en-us/library/hh537533.aspx
      [2] http://msdn.microsoft.com/en-us/library/hh554623.aspx

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: