Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-10814

API Explorer: A comma separated list is not accepted by the _fields parameter.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 14.0.0
    • Fix Version/s: None
    • Component/s: API descriptor, XUI
    • Labels:
    • Environment:
      OpenAM 14.0.0-SNAPSHOT Build 5bc2f25f66 (2017-March-01 00:32)

      Description

      Optional parameter containing a comma separated list of field references specifying which fields of the targeted JSON resource should be returned.

      A comma separated list is not accepted by the _fields parameter.
      e.g.

      curl -X GET --header 'Accept: application/json' 'http://ec2-54-202-224-1.us-west-2.compute.amazonaws.com:8080/openam/json/global-config/services/audit/JSON?_fields=commonHandler%2C%20commonHandlerPlugin&_queryFilter=true'
      

      Results in:

      {
        "code": 400,
        "reason": "Bad Request",
        "message": "The value 'commonHandler, commonHandlerPlugin' for parameter '_fields' could not be parsed as a comma separated list of JSON pointers"
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ken.stubbings Ken Stubbings
                Reporter:
                AndrewVinall Andrew Vinall
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: