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

How to limit fields returned in RPE RM query?

I was looking at this page and it says there is a way to limit the fields using an xpath query:
https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI#Query_parameters
However, the statement in the description column says:
Allows the ?fields= argument, but does not alter the content that the REST API returns.

If this doesn't limit the returned fields what is the point of having this query option? I am trying to send a request that only returns the artifact type, I don't care about the rest of the data. Currently the returned data is so much that it is causing my report to slow considerably.

0 votes



One answer

Permanent link
For DNG, we cannot limit the fields by appending ?fields=argument. As you can notice, the result would be same for the following requests:
https://server:port/rm/publish/resources?resourceURI=UUID
https://server:port/rm/publish/resources?resourceURI=UUID&fields=dataSource/artifact/(format)

0 votes

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
× 10,939
× 332

Question asked: Feb 29 '16, 11:36 a.m.

Question was seen: 3,062 times

Last updated: Feb 29 '16, 9:12 p.m.

Confirmation Cancel Confirm