It's all about the answers!

Ask a question

DNG Repotable API - to Select specific attribute of artifact.


Jayesh Gaikar (473) | asked Sep 09, 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 (2.5k11936) | answered Sep 09, 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, 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, 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.