Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unable to filter RRC REST result by using resourceURI

RRC 4.0.1

Based on WIKI page i should be able to filter by ID

Filter id(s) https://server:port/rm/publish/[artifact_format]?resourceURI=id1,id2,id3 Provides base resource information for a set of specified resources

when I try with:
https://server/rm/publish/resources?resourceID=_V5CWFYDcEeKbvZGEq7ALCg
the system returns me all resources...after 10 min

only filter working is
https://server/rm/publish/resources?projectURI=_ZRCINYC-EeKbvZGEq7ALC

and this one does return the same
https://server/rm/publish/resources?projectURI=_ZRCINYC-EeKbvZGEq7ALCg&resourceID=_V5CWFYDcEeKbvZGEq7ALCg

Anything I missed?
How can I get only e.g. Title from a list of URI

Thank you
erwin

0 votes

Comments

embarrassing :-)

Thank you Christian

additional question
why does https://server/rm/publish/resources?projectURI=_ZRCINYC-EeKbvZGEq7ALCg&resourceURI=_WG5y9YDcEeKbvZGEq7ALCg&fields=dataSource/artifact/(title)
not return only Title of this artifact

Hello Erwin,


Looking at the Wiki there is a note in the row for "Filter by xpath" that reads:
The ?fields= argument is tolerated but does not alter the content returned from the REST API
I think that explains why you're seeing everything returned.

Oups.. again. Thank you

 Hi Erwin,

 This filters are used when the schemas are added as REST, that is why Generic XML is suggested. It will not impact the output, but can be confusing


Accepted answer

Permanent link
Hello Erwin,

Is that just a typo in the first URL or did you really use "resourceID=" while it should be "resourceURI="?

-Christian
Technical Support Engineer
IBM Rational Client Support Europe 
Erwin Kunz selected this answer as the correct answer

1 vote

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,028
× 480

Question asked: Mar 27 '13, 5:52 a.m.

Question was seen: 4,882 times

Last updated: Mar 27 '13, 10:17 a.m.

Confirmation Cancel Confirm