Author: anuzzolese
Date: Wed Sep 12 14:46:42 2012
New Revision: 1383982

URL: http://svn.apache.org/viewvc?rev=1383982&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=1383982&r1=1383981&r2=1383982&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:46:42 2012
@@ -34,3 +34,29 @@ Example:
     curl -X POST -H "Content-type: multipart/form-data" \
     -F rules=@myRules -F description="My rules in the recipe." \
     http://localhost:8080/rules/recipe/recipeTestA    
+
+    
+### How to get a recipe or a recipe from the store
+
+* Service: __/rules/recipe/__
+* Method: GET
+* 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 returned. Otherwise it is returned the single rule identified by the 
parameter value
+* Accepts:
+    * application/rdf+xml
+    * text/html
+    * text/plain
+    * application/owl+xml
+    * text/owl-functional
+    * text/owl-manchester
+    * application/rdf+json,
+    * text/turle
+       
+Example:
+
+    :::bash
+    curl -X GET ÐH "Accept: text/turtle" 
http://localhost:8080/rules/recipe/recipeTestA \ 
+    -d rule=recipeTestA_rule1
+       
+


Reply via email to