Section 9.2 REST API of Guvnor&#39;s documentation gives examples.<br><br>The URL pattern <a id="d0e2356">/packages/{packageName}/assets</a> will provide a list of assets.<br><br>You&#39;ll probably have to iterate the result to find an asset of the correct format (org.drools.guvnor.client.common.AssetFormats contains a list).<br>
<br>URL pattern <a id="d0e2356">packages/{packageName}/assets/{assetName}/source can then use used to retrieve the DRL.</a><br><br><div class="gmail_quote">On 8 December 2011 13:33, srinivasasanda <span dir="ltr">&lt;<a href="mailto:srinivasasanda@gmail.com">srinivasasanda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Manstis,<br>
<br>
I&#39;ve updated the version to 5.3.0.Could you please suggest me in one of the<br>
context which I was struggling.There is a REST API to GET and POST the<br>
packages present at server side in Drools Guvnor.In the same way,Is there<br>
REST API to GET the facts present in the declarative model of a specified<br>
package.If it is,can you suggest me how to achieve.<br>
<br>
The main objective is I need to retrieve the facts present in the<br>
declarative model of a package.<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Dynamic-Fact-field-Generation-in-Declarative-Model-tp3545088p3570297.html" target="_blank">http://drools.46999.n3.nabble.com/Dynamic-Fact-field-Generation-in-Declarative-Model-tp3545088p3570297.html</a><br>

</font></span><div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>