Author: anuzzolese
Date: Wed Sep 12 14:51:14 2012
New Revision: 1383984

URL: http://svn.apache.org/viewvc?rev=1383984&view=rev
Log:
Editing documentation for Rules.

Modified:
    
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/components/rules/store.mdtext

Modified: 
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/components/rules/store.mdtext
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/docs/trunk/components/rules/store.mdtext?rev=1383984&r1=1383983&r2=1383984&view=diff
==============================================================================
--- 
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/components/rules/store.mdtext
 (original)
+++ 
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/components/rules/store.mdtext
 Wed Sep 12 14:51:14 2012
@@ -56,5 +56,21 @@ Example:
 Example:
 
     :::bash
-    curl -X GET -H "Accept: text/turtle" 
http://localhost:8080/rules/recipe/recipeTestA \
-    -d rule=recipeTestA_rule1
\ No newline at end of file
+    curl -X GET -H "Accept: text/turtle" \ 
+    -d rule=recipeTestA_rule1 \
+    http://localhost:8080/rules/recipe/recipeTestA
+    
+### How to delete a recipe or a recipe from the store
+
+* Service: __/rules/recipe/__
+* Method: DELETE
+* Parameters:
+    * recipe (Path parameter): the ID of the recipe as a path 
parameter(MANDATORY)
+    * 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
+
+Example:    
+
+    :::bash
+    curl -X DELETE \
+    -d rule=recipeTestA_rule1 \
+    http://localhost:8080/rules/recipe/recipeTestA
\ No newline at end of file


Reply via email to