Author: buildbot
Date: Wed Sep 12 14:33:08 2012
New Revision: 831806
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:33:08 2012
@@ -1 +1 @@
-1383965
+1383967
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:33:08 2012
@@ -85,7 +85,23 @@
<ul> <li><a href="/">Home</a></li> <li class="item"><a
href="/stanbol/">Stanbol</a></li> <li class="item"><a
href="/stanbol/docs/">Docs</a></li> <li class="item"><a
href="/stanbol/docs/trunk/">Trunk</a></li> <li class="item"><a
href="/stanbol/docs/trunk/components/">Components</a></li> <li class="item"><a
href="/stanbol/docs/trunk/components/rules/">Rules</a></li> </ul>
</div>
<h1 class="title">Rule Store</h1>
-
+ <h2 id="service-endpoints">Service Endpoints</h2>
+<p>The Rule Store provides a RESTful API that allows to persistently manage
rules in Stanbol.
+Rules organized into containers called recipes, which identify set of rules
that share the same business logic.</p>
+<h3 id="how-to-create-a-recipe">How to create a recipe</h3>
+<ul>
+<li>Service: <strong>/rules/recipe/</strong></li>
+<li>Method: PUT</li>
+<li>
+<p>Parameters:</p>
+<ul>
+<li>recipe (Path parameter): the ID of the recipe as a path
parameter(MANDATORY)</li>
+<li>description: the textual description of the recipe (OPTIONAL)</li>
+</ul>
+<p>curl -G -X PUT description="A test recipe." \
+http://localhost:8080/rules/recipe/recipeTestA</p>
+</li>
+</ul>
</div>
<div id="footer">