sailpoint-oss / api-specs

This repo houses the API specifications for all SailPoint services.
MIT License
10 stars 17 forks source link

The example (from schema) and example on get-identity-ownership-details differ #39

Open drosenbauer opened 1 year ago

drosenbauer commented 1 year ago

https://developer.sailpoint.com/idn/api/beta/get-identity-ownership-details

The examples differ on object content (list vs. object, [ vs {, etc).

The first example is:

{
  "associationDetails": [
    {
      "associationType": "ROLE_OWNER",
      "entities": {
        "id": "b660a232f05b4e04812ca974b3011e0f",
        "name": "Gaston.800ddf9640a",
        "type": "ROLE"
      }
    }
  ]
}

The second example is:

{
  "associationDetails": {
    "associationType": "ROLE_OWNER",
    "entities": [
      {
        "id": "b660a232f05b4e04812ca974b3011e0f",
        "name": "Gaston.800ddf9640a",
        "type": "ROLE"
      }
    ]
  }
}
tyler-mairose-sp commented 10 months ago

Hello @drosenbauer!

Looking at the schema and actually calling the endpoint results in a completely different schema than the api specifications describe. I have created a internal ticket for us to track this and I will update this thread with the progress.

IDNARSENAL-20564