Author: buildbot
Date: Wed Sep 12 14:05:11 2012
New Revision: 831794
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:05:11 2012
@@ -1 +1 @@
-1381539
+1383948
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:05:11 2012
@@ -86,8 +86,20 @@
</div>
<h1 class="title">Rule Store</h1>
<h2 id="service-endpoints">Service Endpoints</h2>
-<p>The Rules RESTful API is structured as follows:
-<em>(Please note, that the following links to the actual service endpoint link
to a running instance of Apache Stanbol. If you use other domains or ports than
"localhost:8080", then please change accordingly)</em></p>
+<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>
+<p>A recipe can be created in the store with the service
<strong>STANBOL_HOME/rules/recipe/</strong>
+<em> Method: PUT
+</em> Parameters:
+<strong> recipe: the ID of the recipe as a path parameter(MANDATORY)
+</strong> description: the textual description of the recipe (OPTIONAL)</p>
+<div class="codehilite"><pre><span class="n">curl</span> <span
class="o">-</span><span class="n">G</span> <span class="o">-</span><span
class="n">X</span> <span class="n">PUT</span> <span
class="n">description</span><span class="o">=</span><span class="s">"A
test recipe."</span> <span class="o">\</span>
+<span class="n">http:</span><span class="sr">//</span><span
class="n">localhost:8080</span><span class="sr">/rules/</span><span
class="n">recipe</span><span class="o">/</span><span
class="n">recipeTestA</span>
+</pre></div>
+
+
+<p><em>(Please note, that the following links to the actual service endpoint
link to a running instance of Apache Stanbol. If you use other domains or ports
than "localhost:8080", then please change accordingly)</em></p>
<h3 id="rule-manager-rulesrule">Rule Manager ("/rules/rule"):</h3>
<ul>
<li>The Rule Manager @ <a
href="http://localhost:8080/rules/rule">/rules/rule</a> allows to manage and
retrieve inference rules.</li>