You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by dg...@apache.org on 2018/10/17 11:27:52 UTC

incubator-unomi git commit: UNOMI-202 code review: improve documentation

Repository: incubator-unomi
Updated Branches:
  refs/heads/master 83ff7ad6c -> 3228d8476


UNOMI-202 code review: improve documentation


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/3228d847
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/3228d847
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/3228d847

Branch: refs/heads/master
Commit: 3228d84769fdb4282de713e4de85646a83f1018e
Parents: 83ff7ad
Author: dgaillard <dg...@jahia.com>
Authored: Wed Oct 17 13:27:33 2018 +0200
Committer: dgaillard <dg...@jahia.com>
Committed: Wed Oct 17 13:27:33 2018 +0200

----------------------------------------------------------------------
 manual/src/main/asciidoc/custom-extensions.adoc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/3228d847/manual/src/main/asciidoc/custom-extensions.adoc
----------------------------------------------------------------------
diff --git a/manual/src/main/asciidoc/custom-extensions.adoc b/manual/src/main/asciidoc/custom-extensions.adoc
index 41c7102..0007815 100644
--- a/manual/src/main/asciidoc/custom-extensions.adoc
+++ b/manual/src/main/asciidoc/custom-extensions.adoc
@@ -434,6 +434,23 @@ Each patch must have a unique id - unomi will use this id to remember that the p
 
 A patch also need to reference the item to patch by setting `patchedItemId` and `patchedItemType`, and an operation that tells what the patch should do.
 
+
+.`patchedItemType` can take one of the following value:
+- condition
+- action
+- goal
+- campaign
+- persona
+- propertyType
+- rule
+- segment
+- scoring
+
+.`operation` can take one of the following value:
+- patch
+- override
+- remove
+
 You can apply a patch in http://jsonpatch.com/[json-patch] format in the `data` field, and by specifying operation `patch` like in this example :
 
 [source]