Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-3280

REST API for "/group/membership" returns XML response when JSON response is requested

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.6.3
    • 2.6
    • None
    • None

    Description

      Steps to Reproduce

      1. Set up a GET JSON call with no request body to REST API: http://<crowd-url>/crowd/rest/usermanagement/latest/group/membership
      2. Ensure that the response data type is in JSON

      Expected Results

      The response should be in JSON, which contains full details of all group memberships, with users and nested groups.

      Actual Results

      The response is in XML, whether or not we specify the response data type.

      Findings

      When trying a GET JSON call to /user?username=<user>, it is able to return in either JSON or XML

      Attachments

        Issue Links

          Activity

            People

              dberrueta Diego Berrueta
              asanusi AmaliaA
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: