It's all about the answers!

Ask a question

Get only module common info with REST API


Dmitry A. Lesin (23412960) | asked Oct 01 '19, 10:53 a.m.
edited Oct 01 '19, 11:17 a.m.

Hello!

I'm trying to get information about some module with REST API with something like next:
The problem is that I need only attributes of this module. But I don't need too big <ds:moduleContext> structure.
Is it possible get only base module data without need to load all artifacts there?
Thank you!

One answer



permanent link
Bartosz Chrabski (2.2k11934) | answered Apr 26, 10:13 a.m.

 Dmitry,


DNG reportable API for module data schema is returning attributes for module but only with the basic information about the content.

If You are using this Reportable API in the RPE there is not other way then use this schema, but if you use reportable API in some addon or extension then You can use OSLC query to get attributes without getting additonal content.

Good luck.

Your answer


Register or to post your answer.