[OPENAM-13325] REST Endpoint /json/subjectattributes not working as documented Created: 10/Jul/18 Updated: 08/May/19 |
|
Status: | Open |
Project: | OpenAM |
Component/s: | API descriptor |
Affects Version/s: | 6.0.0.2, 6.5.0 |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Vincent Koldenhof | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | AME, EDISON | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Rank: | 1|hzw9i7: |
Support Ticket IDs: |
Description |
Comments |
Comment by Cristina Herraz [ 10/Jul/18 ] |
The endpoint is documented as it is in the API explorer. I've tested in 6.0 and I can repro the error 500 with the API explorer – however I don't know what's expected or if the endpoint requires any configuration behind the scenes. Taken "documentation" from here so it can be triaged by dev. |
Comment by James Phillpotts [ 27/Sep/18 ] |
We shouldn't document to use an old version of the protocol - this endpoint should be made to work with the current (i.e. unspecified) protocol. |
Comment by Sam Phua [ 03/May/19 ] |
The current working syntax is
curl \ --header "iPlanetDirectoryPro: AQIC5..." \ --header "Accept-API-Version: resource=1.0, protocol=1.0" \ https://openam.example.com:8443/openam/json/realms/root/subjectattributes/?_queryFilter=true { "result" : [ "sunIdentityServerPPInformalName", "sunIdentityServerPPFacadeGreetSound", "uid", "manager", "sunIdentityServerPPCommonNameMN", "sunIdentityServerPPLegalIdentityGender", "preferredLocale", "...", "...", "..." ], "resultCount": 87, "pagedResultsCookie": null, "remainingPagedResults": 0 } If we should not document to use an old version of protocol, this bug need to be fixed as we are still providing a documentation that does not work. This will generate unnecessary support ticket
|