You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by do...@apache.org on 2016/08/11 17:14:33 UTC

[2/5] incubator-predictionio git commit: Fix JSON

Fix JSON

The JSON was malformed in a few examples.

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

Branch: refs/heads/develop
Commit: e8859151bbfff169309ff96a527d28e42754d78c
Parents: 9e110ce
Author: James Ward <ja...@jamesward.com>
Authored: Wed May 4 17:30:10 2016 -0600
Committer: hyukjinkwon <gu...@gmail.com>
Committed: Wed Aug 10 11:04:53 2016 +0900

----------------------------------------------------------------------
 .../source/templates/similarproduct/quickstart.html.md.erb     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/e8859151/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/similarproduct/quickstart.html.md.erb b/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
index 8f8c6d1..82af17f 100644
--- a/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
+++ b/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
@@ -77,7 +77,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "eventTime" : "2014-11-02T09:39:45.618-08:00"
 }'
@@ -165,7 +165,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "item"
+  "entityType" : "item",
   "entityId" : "i0",
   "properties" : {
     "categories" : ["c1", "c2"]
@@ -243,7 +243,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "view",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "item",
   "targetEntityId" : "i0",