It's all about the answers!

Ask a question

DNG Repotable API - to Select specific attribute of artifact.


Jayesh Gaikar (59215) | asked Sep 09 '20, 11:10 a.m.
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

Accepted answer


permanent link
Bartosz Chrabski (3.4k22949) | answered Sep 09 '20, 2:17 p.m.

 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

Comments
Jayesh Gaikar commented Sep 09 '20, 6:11 p.m.
Thank You Bartosz for a quick reply!

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




Bartosz Chrabski commented Sep 11 '20, 7:17 a.m.

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

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.