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

get types returns empty lists for #api/explorer/global-config/services/audit/JSON

    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
    • Labels:
    • Environment:
      OpenAM 14.0.0-M30 Build 847682095e (2017-March-06 19:13)

      Description

      The calls to get a list of audit types

      global-config/services/audit/JSON - Action: getAllTypes

      curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' 'http://openam.test.forgerock.com/openam/json/global-config/services/audit/JSON?_action=getAllTypes'
      

      /global-config/services/audit/JSON#_action_getcreatabletypes - Action: getCreatableTypes

      curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' 'http://openam.test.forgerock.com/openam/json/global-config/services/audit/JSON?_action=getCreatableTypes'
      

      Both return an empty list

      {
        "result": []
      }
      





      N.B. In contrast the XUI uses this call

      http://openam.test.forgerock.com/openam/json/global-config/services/audit?_action=getCreatableTypes&forUI=true
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              AndrewVinall Andrew Vinall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: