Different format of api response in different versions of RTC
Hello,
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?
Also, the response we are getting is in format:
6.0.2:
"rdf:type":{"rdf:resource":"https://10.13.27.211:9443/ccm/oslc/enumerations/_IcPdwJ88EeqjG_QgnZU7pA/severity"}
6.0.4:
"rdf:type":[
{"rdf:resource":"https://10.13.28.194:9443/ccm/oslc/enumerations/_u_0sEIBJEemDR6CWfSLlbg/severity"},
{"rdf:resource":"http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/Literal"}
]
|
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments