<p>The REST API is primarily for CRUD operations; it is not a programmatic API to assemble rules and as such your comments about calendars and salience etc are not provided in the REST API.</p>
<p>You can however, and as some do, download the source for a rule, deserialise this into Guvnor&#39;s *internal* model (depending on the type of rule), modify this programmatically, serialise back to source and use REST to write it back to Guvnor.</p>

<p>&quot;Source&quot; as used above could be XML although some assets are stored as DRL. </p>
<p>Also all models should be considered as *internal* (I.e. not public) as we don&#39;t undertake that they are compatible between releases (although in reality they have changed very little, other than guided decision tables).</p>

<p>sent on the move</p>
<p>On 31 Mar 2013 12:17, &quot;kurrent93&quot; &lt;<a href="mailto:kurrent93@gmail.com">kurrent93@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
I saw a thread a few days ago asking about how to enable/disable rules using<br>
the guvnor REST Api - only to find that that functionality does not exist.<br>
<br>
What other functionalities are not covered by the REST apis?<br>
<br>
For example, can we add calendars using the REST api?<br>
<br>
What about salience, no-loop, activation group, agenda group, duration?<br>
<br>
We are looking to build a custom UI for editing rules, using the Guvnor REST<br>
apis, and but if there is limited coverage, then we will need to find an<br>
alternative.<br>
<br>
Thanks<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-REST-APIs-what-rule-features-are-supported-tp4023131.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-REST-APIs-what-rule-features-are-supported-tp4023131.html</a><br>

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>
</blockquote></p>