Author: buildbot
Date: Wed Sep 12 14:51:17 2012
New Revision: 831817

Log:
Staging update by buildbot for stanbol

Modified:
    websites/staging/stanbol/trunk/content/   (props changed)
    
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/store.html

Propchange: websites/staging/stanbol/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Sep 12 14:51:17 2012
@@ -1 +1 @@
-1383983
+1383984

Modified: 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/store.html
==============================================================================
--- 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/store.html
 (original)
+++ 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/store.html
 Wed Sep 12 14:51:17 2012
@@ -144,8 +144,27 @@ http://localhost:8080/rules/recipe/recip
 </li>
 </ul>
 <p>Example:</p>
-<div class="codehilite"><pre>curl -X GET -H <span class="s2">&quot;Accept: 
text/turtle&quot;</span> http://localhost:8080/rules/recipe/recipeTestA <span 
class="se">\</span>
--d <span class="nv">rule</span><span class="o">=</span>recipeTestA_rule1
+<div class="codehilite"><pre>curl -X GET -H <span class="s2">&quot;Accept: 
text/turtle&quot;</span> <span class="se">\ </span>
+-d <span class="nv">rule</span><span class="o">=</span>recipeTestA_rule1 <span 
class="se">\</span>
+http://localhost:8080/rules/recipe/recipeTestA
+</pre></div>
+
+
+<h3 id="how-to-delete-a-recipe-or-a-recipe-from-the-store">How to delete a 
recipe or a recipe from the store</h3>
+<ul>
+<li>Service: <strong>/rules/recipe/</strong></li>
+<li>Method: DELETE</li>
+<li>Parameters:<ul>
+<li>recipe (Path parameter): the ID of the recipe as a path 
parameter(MANDATORY)</li>
+<li>rule: the ID of the rule (OPTIONAL). If it is null than the whole recipe 
is deleted. Otherwise it is deleted the single rule identified by the parameter 
value</li>
+</ul>
+</li>
+</ul>
+<p>Example:  <br />
+</p>
+<div class="codehilite"><pre>curl -X DELETE <span class="se">\</span>
+-d <span class="nv">rule</span><span class="o">=</span>recipeTestA_rule1 <span 
class="se">\</span>
+http://localhost:8080/rules/recipe/recipeTestA
 </pre></div>
   </div>
   


Reply via email to