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

_fields query parameter for API "Action" end point eg _action=refresh does not work as documented

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.5.0, 7.0.0
    • Fix Version/s: None
    • Component/s: API descriptor
    • Labels:
    • Support Ticket IDs:

      Description

      Bug description

      According to the documentation,

      https://backstage.forgerock.com/docs/am/6.5/authorization-guide/#about-crest-action

       

       _fields=field[,field...]
      Return only the specified fields in the body of the response.
      The field values are JSON pointers. For example if the resource is {"parent":{"child":"value"}}, parent/child refers to the "child":"value".
      If the field is left blank, the server returns all default values.
      

       
        This is not true for "action=refresh"

      How to reproduce the issue

      Accessing the API explorer in AM 's GUI and navigate to /session endpoint

      Run the explorer with the following options

       

      Expected behaviour
      only attribute realm and maxtime to return
      
      Current behaviour
      All the attributes are return
      

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sam.phua Sam Phua
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: