It's all about the answers!

Ask a question

Different format of api response in different versions of RTC

p M (111) | asked May 28 '20, 4:23 a.m.
edited May 28 '20, 5:23 a.m.


We are trying to get 'rdf:type' from a response of an api call we made to get the details about an enumeration. The API we used is: https://{instance}/ccm/oslc/enumerations/{project_key}/severity/severity.literal.l1 .
But, we are getting different formats of 'rdf:type' in different versions of RTC. IN version 6.0.2, we are getting it in form of LinkedHashMap (i.e, a single key-value pair), where as in version 6.0.4, we are getting a list of key-value pairs. Is the format of 'rdf:type' in response changed in the later version.
Same API is used in both the versions.

Has the format of response changed for both the versions? If so, where can we track other API behaviour changes?

p M commented May 28 '20, 5:22 a.m. | edited May 28 '20, 5:22 a.m.

Be the first one to answer this question!

Register or to post your answer.