[OPENAM-13325] REST Endpoint /json/subjectattributes not working as documented Created: 10/Jul/18 Updated: 08/May/19
|Affects Version/s:||220.127.116.11, 6.5.0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Support Ticket IDs:|
In the AM-6-Authorization Guide on page 91 is a example on how to use the REST interface to query the subjects attributes. The example shows an "Accept-API-Version" header which does not work. When the example is executed the response is a
Details steps outlining how to recreate the issue (remove this text)
If you provide the correct Header ""Accept-API-Version: protocol=1.0,resource=1.0" " it works.
Please also update the documentation and the api-explorer.
|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
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