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

DNG Repotable API - to Select specific attribute of artifact.

Hi,
Is it possible to limit attributes to be returned in response payload with DNG reportable REST call. is this capability supported by DNG APIs as like RQM API support select section into query.

Couldn't find any reference to select section of API query in documentation.

E.g
  https://server:port/rm/publish/[artifact_format]?moduleURI=module1
in above query if i try to add something like /(title|description|identifier)
it respond back with Bad request (400)

Any reference/suggestions/comment is appreciated...

Thanks & Regards,
-Jay

0 votes


Accepted answer

Permanent link

 Hi Jayesh,


No, using DNG Reportable API You can not limit what attributes will be exactly returned in the payload.

The only way how you can do it, is when you are using view data schema a view itself is defining what data You will see.

Hope it will help.

Bart

Jayesh Gaikar selected this answer as the correct answer

0 votes

Comments
Thank You Bartosz for a quick reply!

For some reason my system is dead slow while fetching artifacts by using / ViewName or viewURI.



 It will be because it is using a single request to load everything at once. 

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,934
× 7,494
× 1,323
× 137

Question asked: Sep 09 '20, 11:10 a.m.

Question was seen: 1,411 times

Last updated: Sep 11 '20, 7:17 a.m.

Confirmation Cancel Confirm