Retrieve Baseline information for RPE
![]()
I am trying to retrieve the module attributes of a baseline in RPE. I have the Baseline artifacts through the view, however I can't seem to get access to the module attributes. I am looking for something similar to:
https://server:port/rm/publish/resources?resourceURI=_dXzZmqYUEeOiFdV2qpk-Uw
which gives me all the information from the module, except I would like the values of the attributes in the baseline. I have tried replacing the Module ID with the Baseline ID and all it returns is:
<ds:dataSource xmlns:ds="http://jazz.net/xmlns/alm/rm/datasource/v0.1" xmlns:rrm="http://www.ibm.com/xmlns/rrm/1.0/" appId="RRC" rrm:totalCount="0"vMajor="40" vMinor="50"/>
Any suggestions?
|
Accepted answer
![]()
Hi Stephen,
Not sure if you've seen this specification before, but this lists most of the possible commands that you can issue through the Reporting REST API: https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI
According to this, I would try something like: https://server:port/rm/publish/resources?resourceURI=_dXzZmqYUEeOiFdV2qpk-Uw&snapshotId=[baselineID]
Hope this helps!
Mike Jaworski
Stephen Valliere selected this answer as the correct answer
Comments Thanks Mike, that was exactly what I was looking for. I was using that API resource already but there wasn't anything to tell me that a baselineID was the same as a snapshotId. |