This project has retired. For details please refer to its Attic page.
Apache Stanbol - Rule Store

Rule Store

Service Endpoints

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.

Recipe and rule management

How to create a recipe

Example:

curl -G -X PUT -d description="A test recipe." \
http://localhost:8080/rules/recipe/recipeTestA

How to add rules to a recipe

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

Example:

curl -G -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

Example:

curl -X DELETE \
-d rule=recipeTestA_rule1 \
http://localhost:8080/rules/recipe/recipeTestA

How to find a recipe in the store

Example:

curl -G -X GET \
-d description="test recipe" \
http://localhost:8080/rules/find/recipes

How to find a rule in the store

Example:

curl -G -X GET \
-d description="My rules" \
http://localhost:8080/rules/find/rules

Back to Stanbol Rules