It's all about the answers!

Ask a question

How to use rest API https://server:port/rdm/publish/resources?collectionURI=rrc123

Pascal Jean (6012640) | asked Feb 25 '14, 8:19 a.m.
We are using a RRC version
I would like to get the list of requirements collections per collections.
I already have the list of collection under that format:

I think this rest API found in the help should be ok but I can't make it working:

What is exactly rrc123?
Is it rrc32406 as shown in the information above or is an internal ID?.
If internal ID, how to get them. 
I undersatnd that https://<server>/rdm/publish/collections
is only avaliable starting

Thank you in adavnce

2 answers

permanent link
Håkan Kristiansson (5114) | answered Feb 25 '14, 10:01 a.m.
https://<server>/rdm/resources/rrc32406 in your example is the same as "rrc123" in the manual
https://server:port/rdm/publish/resources?collectionURI=rrc32406 will work, in

I just tried https://server:port/rdm/publish/resources?collectionURI=rrc37

which I got from, by clicking on a collection:


and in my installation where it gave me an output.

So what's mentioned in the manual is correct, it's not implemented until

From the manual:

https://server:port/rdm/publish/collections (Available only in RRC V2.0.0.2 and higher.) Provides information about the specified collections. This data source is in the same format as the resources data source.

Pascal Jean commented Feb 26 '14, 2:53 a.m.

Thank you Hakan.
I'll try today and see what is displayed now and if it will fit my needs.

permanent link
Jorge Flores (1092) | answered Feb 25 '14, 5:49 p.m.
Hi Pascal Jean

"rrc123" is a bad example of how the URI looks, normally the URI looks like _VrmRgZ5uEeOpYdLNRcTtDQ.

Håkan Kristiansson

When you open a collection the URI is the last part of the URL shown in the browser.

Pascal Jean commented Feb 26 '14, 2:52 a.m.

Thank you Jorge.
I'll check that. and see what is displayed now.

Edgar Ignacio Velazquez Mar commented Feb 26 '14, 9:32 a.m.

Actually for version 2.x the correct identifier to be used on the Rest API is rrcXXX which is the number of the artifact in the server, for version 3.x and later the URI to be used is a UUID in the form displayed above

Your answer

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.