It's all about the answers!

Ask a question

How to use REST APIs to extract all artifacts from RRC 2.0


Pascal Jean (6013041) | asked Feb 13 '14, 11:26 a.m.

Hello,
We have a RRC 2.0 instance. I want to extract all the artifacts from the instance.
I made a test with the example below
https://<server>/rdm/publish/resources?modifiedSince=2013-01-01T00:00:00.000Z
The result will fit our needs.
I now I would like to extract all the data but I need to "spilt" the process in several parts. There are many rows to returns and the process goes to some kind of Time Out.

Does exist such kind of command below?
https://<server>/rdm/publish/resources?modifiedSince=2013-01-01T00:00:00.000Z&modifiedUntil=2013-12-01T00:00:00.000Z

I don't find such parameters on the on-line help.
Or, does exist an easier way to do that? 

Thank you iin advance

Pascal Jean


Comments
Donald Nong commented Feb 13 '14, 9:38 p.m.

All the supported parameters are listed here:
http://pic.dhe.ibm.com/infocenter/rpcmpose/v2r0/topic/com.ibm.rational.rrc.help.doc/topics/r_report_datasources.html
The RRC 2.0 REST API is not like the current OSLC 2.0 API and you have way less controls over it. I would suggest you split the artifacts in other ways such as projects and collections. Otherwise, you need to find a way to increase the timeout but it's not always a good idea to do so.

Be the first one to answer this question!


Register or to post your answer.


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.