http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/ServerConfig.html
----------------------------------------------------------------------
diff --git a/api/current/org/apache/predictionio/workflow/ServerConfig.html 
b/api/current/org/apache/predictionio/workflow/ServerConfig.html
index 37e5201..de35670 100644
--- a/api/current/org/apache/predictionio/workflow/ServerConfig.html
+++ b/api/current/org/apache/predictionio/workflow/ServerConfig.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>ServerConfig - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.ServerConfig</title>
-          <meta name="description" content="ServerConfig - PredictionIO Scala 
API 0.12.1 - org.apache.predictionio.workflow.ServerConfig" />
-          <meta name="keywords" content="ServerConfig PredictionIO Scala API 
0.12.1 org.apache.predictionio.workflow.ServerConfig" />
+          <title>ServerConfig - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.ServerConfig</title>
+          <meta name="description" content="ServerConfig - PredictionIO Scala 
API 0.13.0 - org.apache.predictionio.workflow.ServerConfig" />
+          <meta name="keywords" content="ServerConfig PredictionIO Scala API 
0.13.0 org.apache.predictionio.workflow.ServerConfig" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/SparkWorkflowUtils$.html
----------------------------------------------------------------------
diff --git 
a/api/current/org/apache/predictionio/workflow/SparkWorkflowUtils$.html 
b/api/current/org/apache/predictionio/workflow/SparkWorkflowUtils$.html
index f97f17a..ca6a906 100644
--- a/api/current/org/apache/predictionio/workflow/SparkWorkflowUtils$.html
+++ b/api/current/org/apache/predictionio/workflow/SparkWorkflowUtils$.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>SparkWorkflowUtils - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.SparkWorkflowUtils</title>
-          <meta name="description" content="SparkWorkflowUtils - PredictionIO 
Scala API 0.12.1 - org.apache.predictionio.workflow.SparkWorkflowUtils" />
-          <meta name="keywords" content="SparkWorkflowUtils PredictionIO Scala 
API 0.12.1 org.apache.predictionio.workflow.SparkWorkflowUtils" />
+          <title>SparkWorkflowUtils - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.SparkWorkflowUtils</title>
+          <meta name="description" content="SparkWorkflowUtils - PredictionIO 
Scala API 0.13.0 - org.apache.predictionio.workflow.SparkWorkflowUtils" />
+          <meta name="keywords" content="SparkWorkflowUtils PredictionIO Scala 
API 0.13.0 org.apache.predictionio.workflow.SparkWorkflowUtils" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/StartServer.html
----------------------------------------------------------------------
diff --git a/api/current/org/apache/predictionio/workflow/StartServer.html 
b/api/current/org/apache/predictionio/workflow/StartServer.html
index 9820f9e..b124670 100644
--- a/api/current/org/apache/predictionio/workflow/StartServer.html
+++ b/api/current/org/apache/predictionio/workflow/StartServer.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>StartServer - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.StartServer</title>
-          <meta name="description" content="StartServer - PredictionIO Scala 
API 0.12.1 - org.apache.predictionio.workflow.StartServer" />
-          <meta name="keywords" content="StartServer PredictionIO Scala API 
0.12.1 org.apache.predictionio.workflow.StartServer" />
+          <title>StartServer - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.StartServer</title>
+          <meta name="description" content="StartServer - PredictionIO Scala 
API 0.13.0 - org.apache.predictionio.workflow.StartServer" />
+          <meta name="keywords" content="StartServer PredictionIO Scala API 
0.13.0 org.apache.predictionio.workflow.StartServer" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/StopAfterPrepareInterruption.html
----------------------------------------------------------------------
diff --git 
a/api/current/org/apache/predictionio/workflow/StopAfterPrepareInterruption.html
 
b/api/current/org/apache/predictionio/workflow/StopAfterPrepareInterruption.html
index dc4f1bf..ff7be92 100644
--- 
a/api/current/org/apache/predictionio/workflow/StopAfterPrepareInterruption.html
+++ 
b/api/current/org/apache/predictionio/workflow/StopAfterPrepareInterruption.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>StopAfterPrepareInterruption - PredictionIO Scala API 0.12.1 
- org.apache.predictionio.workflow.StopAfterPrepareInterruption</title>
-          <meta name="description" content="StopAfterPrepareInterruption - 
PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.StopAfterPrepareInterruption" />
-          <meta name="keywords" content="StopAfterPrepareInterruption 
PredictionIO Scala API 0.12.1 
org.apache.predictionio.workflow.StopAfterPrepareInterruption" />
+          <title>StopAfterPrepareInterruption - PredictionIO Scala API 0.13.0 
- org.apache.predictionio.workflow.StopAfterPrepareInterruption</title>
+          <meta name="description" content="StopAfterPrepareInterruption - 
PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.StopAfterPrepareInterruption" />
+          <meta name="keywords" content="StopAfterPrepareInterruption 
PredictionIO Scala API 0.13.0 
org.apache.predictionio.workflow.StopAfterPrepareInterruption" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/StopAfterReadInterruption.html
----------------------------------------------------------------------
diff --git 
a/api/current/org/apache/predictionio/workflow/StopAfterReadInterruption.html 
b/api/current/org/apache/predictionio/workflow/StopAfterReadInterruption.html
index 3bc3f0f..bcd6a83 100644
--- 
a/api/current/org/apache/predictionio/workflow/StopAfterReadInterruption.html
+++ 
b/api/current/org/apache/predictionio/workflow/StopAfterReadInterruption.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>StopAfterReadInterruption - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.StopAfterReadInterruption</title>
-          <meta name="description" content="StopAfterReadInterruption - 
PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.StopAfterReadInterruption" />
-          <meta name="keywords" content="StopAfterReadInterruption 
PredictionIO Scala API 0.12.1 
org.apache.predictionio.workflow.StopAfterReadInterruption" />
+          <title>StopAfterReadInterruption - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.StopAfterReadInterruption</title>
+          <meta name="description" content="StopAfterReadInterruption - 
PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.StopAfterReadInterruption" />
+          <meta name="keywords" content="StopAfterReadInterruption 
PredictionIO Scala API 0.13.0 
org.apache.predictionio.workflow.StopAfterReadInterruption" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/StopServer.html
----------------------------------------------------------------------
diff --git a/api/current/org/apache/predictionio/workflow/StopServer.html 
b/api/current/org/apache/predictionio/workflow/StopServer.html
index 946b2ee..8e271ce 100644
--- a/api/current/org/apache/predictionio/workflow/StopServer.html
+++ b/api/current/org/apache/predictionio/workflow/StopServer.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>StopServer - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.StopServer</title>
-          <meta name="description" content="StopServer - PredictionIO Scala 
API 0.12.1 - org.apache.predictionio.workflow.StopServer" />
-          <meta name="keywords" content="StopServer PredictionIO Scala API 
0.12.1 org.apache.predictionio.workflow.StopServer" />
+          <title>StopServer - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.StopServer</title>
+          <meta name="description" content="StopServer - PredictionIO Scala 
API 0.13.0 - org.apache.predictionio.workflow.StopServer" />
+          <meta name="keywords" content="StopServer PredictionIO Scala API 
0.13.0 org.apache.predictionio.workflow.StopServer" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/Workflow$.html
----------------------------------------------------------------------
diff --git a/api/current/org/apache/predictionio/workflow/Workflow$.html 
b/api/current/org/apache/predictionio/workflow/Workflow$.html
index 86e34f3..3802d0d 100644
--- a/api/current/org/apache/predictionio/workflow/Workflow$.html
+++ b/api/current/org/apache/predictionio/workflow/Workflow$.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>Workflow - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.Workflow</title>
-          <meta name="description" content="Workflow - PredictionIO Scala API 
0.12.1 - org.apache.predictionio.workflow.Workflow" />
-          <meta name="keywords" content="Workflow PredictionIO Scala API 
0.12.1 org.apache.predictionio.workflow.Workflow" />
+          <title>Workflow - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.Workflow</title>
+          <meta name="description" content="Workflow - PredictionIO Scala API 
0.13.0 - org.apache.predictionio.workflow.Workflow" />
+          <meta name="keywords" content="Workflow PredictionIO Scala API 
0.13.0 org.apache.predictionio.workflow.Workflow" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/WorkflowContext$.html
----------------------------------------------------------------------
diff --git a/api/current/org/apache/predictionio/workflow/WorkflowContext$.html 
b/api/current/org/apache/predictionio/workflow/WorkflowContext$.html
index 4fbc4fc..d4dec9a 100644
--- a/api/current/org/apache/predictionio/workflow/WorkflowContext$.html
+++ b/api/current/org/apache/predictionio/workflow/WorkflowContext$.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>WorkflowContext - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.WorkflowContext</title>
-          <meta name="description" content="WorkflowContext - PredictionIO 
Scala API 0.12.1 - org.apache.predictionio.workflow.WorkflowContext" />
-          <meta name="keywords" content="WorkflowContext PredictionIO Scala 
API 0.12.1 org.apache.predictionio.workflow.WorkflowContext" />
+          <title>WorkflowContext - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.WorkflowContext</title>
+          <meta name="description" content="WorkflowContext - PredictionIO 
Scala API 0.13.0 - org.apache.predictionio.workflow.WorkflowContext" />
+          <meta name="keywords" content="WorkflowContext PredictionIO Scala 
API 0.13.0 org.apache.predictionio.workflow.WorkflowContext" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/WorkflowInterruption.html
----------------------------------------------------------------------
diff --git 
a/api/current/org/apache/predictionio/workflow/WorkflowInterruption.html 
b/api/current/org/apache/predictionio/workflow/WorkflowInterruption.html
index db00500..67fccb5 100644
--- a/api/current/org/apache/predictionio/workflow/WorkflowInterruption.html
+++ b/api/current/org/apache/predictionio/workflow/WorkflowInterruption.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>WorkflowInterruption - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.WorkflowInterruption</title>
-          <meta name="description" content="WorkflowInterruption - 
PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.WorkflowInterruption" />
-          <meta name="keywords" content="WorkflowInterruption PredictionIO 
Scala API 0.12.1 org.apache.predictionio.workflow.WorkflowInterruption" />
+          <title>WorkflowInterruption - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.WorkflowInterruption</title>
+          <meta name="description" content="WorkflowInterruption - 
PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.WorkflowInterruption" />
+          <meta name="keywords" content="WorkflowInterruption PredictionIO 
Scala API 0.13.0 org.apache.predictionio.workflow.WorkflowInterruption" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/WorkflowParams.html
----------------------------------------------------------------------
diff --git a/api/current/org/apache/predictionio/workflow/WorkflowParams.html 
b/api/current/org/apache/predictionio/workflow/WorkflowParams.html
index a5948d2..658a9b8 100644
--- a/api/current/org/apache/predictionio/workflow/WorkflowParams.html
+++ b/api/current/org/apache/predictionio/workflow/WorkflowParams.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>WorkflowParams - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.WorkflowParams</title>
-          <meta name="description" content="WorkflowParams - PredictionIO 
Scala API 0.12.1 - org.apache.predictionio.workflow.WorkflowParams" />
-          <meta name="keywords" content="WorkflowParams PredictionIO Scala API 
0.12.1 org.apache.predictionio.workflow.WorkflowParams" />
+          <title>WorkflowParams - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.WorkflowParams</title>
+          <meta name="description" content="WorkflowParams - PredictionIO 
Scala API 0.13.0 - org.apache.predictionio.workflow.WorkflowParams" />
+          <meta name="keywords" content="WorkflowParams PredictionIO Scala API 
0.13.0 org.apache.predictionio.workflow.WorkflowParams" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/WorkflowUtils$.html
----------------------------------------------------------------------
diff --git a/api/current/org/apache/predictionio/workflow/WorkflowUtils$.html 
b/api/current/org/apache/predictionio/workflow/WorkflowUtils$.html
index bdd375e..2d90a79 100644
--- a/api/current/org/apache/predictionio/workflow/WorkflowUtils$.html
+++ b/api/current/org/apache/predictionio/workflow/WorkflowUtils$.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>WorkflowUtils - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow.WorkflowUtils</title>
-          <meta name="description" content="WorkflowUtils - PredictionIO Scala 
API 0.12.1 - org.apache.predictionio.workflow.WorkflowUtils" />
-          <meta name="keywords" content="WorkflowUtils PredictionIO Scala API 
0.12.1 org.apache.predictionio.workflow.WorkflowUtils" />
+          <title>WorkflowUtils - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow.WorkflowUtils</title>
+          <meta name="description" content="WorkflowUtils - PredictionIO Scala 
API 0.13.0 - org.apache.predictionio.workflow.WorkflowUtils" />
+          <meta name="keywords" content="WorkflowUtils PredictionIO Scala API 
0.13.0 org.apache.predictionio.workflow.WorkflowUtils" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/apache/predictionio/workflow/package.html
----------------------------------------------------------------------
diff --git a/api/current/org/apache/predictionio/workflow/package.html 
b/api/current/org/apache/predictionio/workflow/package.html
index f691eda..094b63e 100644
--- a/api/current/org/apache/predictionio/workflow/package.html
+++ b/api/current/org/apache/predictionio/workflow/package.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>workflow - PredictionIO Scala API 0.12.1 - 
org.apache.predictionio.workflow</title>
-          <meta name="description" content="workflow - PredictionIO Scala API 
0.12.1 - org.apache.predictionio.workflow" />
-          <meta name="keywords" content="workflow PredictionIO Scala API 
0.12.1 org.apache.predictionio.workflow" />
+          <title>workflow - PredictionIO Scala API 0.13.0 - 
org.apache.predictionio.workflow</title>
+          <meta name="description" content="workflow - PredictionIO Scala API 
0.13.0 - org.apache.predictionio.workflow" />
+          <meta name="keywords" content="workflow PredictionIO Scala API 
0.13.0 org.apache.predictionio.workflow" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../../../../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />
@@ -157,8 +157,8 @@
         <img src="../../../../lib/permalink.png" alt="Permalink" />
       </a>
     </span>
-      <p class="shortcomment cmt">FakeRun allows user to implement custom 
function under the exact enviroment
-as other PredictionIO workflow.</p><div class="fullcomment"><div 
class="comment cmt"><p>FakeRun allows user to implement custom function under 
the exact enviroment
+      <p class="shortcomment cmt">FakeRun allows user to implement custom 
function under the exact environment
+as other PredictionIO workflow.</p><div class="fullcomment"><div 
class="comment cmt"><p>FakeRun allows user to implement custom function under 
the exact environment
 as other PredictionIO workflow.</p><p>Useful for developing new features. Only 
need to extend this trait and
 implement a function: (SparkContext =&gt; Unit). For example, the code below
 can be run with <code>pio eval HelloWorld</code>.</p><pre><span 
class="kw">object</span> HelloWorld <span class="kw">extends</span> FakeRun {

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/org/package.html
----------------------------------------------------------------------
diff --git a/api/current/org/package.html b/api/current/org/package.html
index 83d8410..ecb718c 100644
--- a/api/current/org/package.html
+++ b/api/current/org/package.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>org - PredictionIO Scala API 0.12.1 - org</title>
-          <meta name="description" content="org - PredictionIO Scala API 
0.12.1 - org" />
-          <meta name="keywords" content="org PredictionIO Scala API 0.12.1 
org" />
+          <title>org - PredictionIO Scala API 0.13.0 - org</title>
+          <meta name="description" content="org - PredictionIO Scala API 
0.13.0 - org" />
+          <meta name="keywords" content="org PredictionIO Scala API 0.13.0 
org" />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="../lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/api/current/package.html
----------------------------------------------------------------------
diff --git a/api/current/package.html b/api/current/package.html
index 379550b..e8b8def 100644
--- a/api/current/package.html
+++ b/api/current/package.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html >
 <html>
         <head>
-          <title>root - PredictionIO Scala API 0.12.1 - _root_</title>
-          <meta name="description" content="root - PredictionIO Scala API 
0.12.1 - root " />
-          <meta name="keywords" content="root PredictionIO Scala API 0.12.1 
root " />
+          <title>root - PredictionIO Scala API 0.13.0 - _root_</title>
+          <meta name="description" content="root - PredictionIO Scala API 
0.13.0 - root " />
+          <meta name="keywords" content="root PredictionIO Scala API 0.13.0 
root " />
           <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
           
       <link href="lib/template.css" media="screen" type="text/css" 
rel="stylesheet" />

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/datacollection/batchimport/index.html
----------------------------------------------------------------------
diff --git a/datacollection/batchimport/index.html 
b/datacollection/batchimport/index.html
index ecc9c67..249736c 100644
--- a/datacollection/batchimport/index.html
+++ b/datacollection/batchimport/index.html
@@ -7,7 +7,7 @@
 </span><span class="p">{</span><span class="s2">"event"</span><span 
class="p">:</span><span class="s2">"rate"</span><span class="p">,</span><span 
class="s2">"entityType"</span><span class="p">:</span><span 
class="s2">"user"</span><span class="p">,</span><span 
class="s2">"entityId"</span><span class="p">:</span><span 
class="s2">"3"</span><span class="p">,</span><span 
class="s2">"targetEntityType"</span><span class="p">:</span><span 
class="s2">"item"</span><span class="p">,</span><span 
class="s2">"targetEntityId"</span><span class="p">:</span><span 
class="s2">"2"</span><span class="p">,</span><span 
class="s2">"properties"</span><span class="p">:{</span><span 
class="s2">"rating"</span><span class="p">:</span><span 
class="mf">1.0</span><span class="p">},</span><span 
class="s2">"eventTime"</span><span class="p">:</span><span 
class="s2">"2014-11-21T01:04:14.729Z"</span><span class="p">}</span><span 
class="w">
 </span><span class="p">{</span><span class="s2">"event"</span><span 
class="p">:</span><span class="s2">"buy"</span><span class="p">,</span><span 
class="s2">"entityType"</span><span class="p">:</span><span 
class="s2">"user"</span><span class="p">,</span><span 
class="s2">"entityId"</span><span class="p">:</span><span 
class="s2">"3"</span><span class="p">,</span><span 
class="s2">"targetEntityType"</span><span class="p">:</span><span 
class="s2">"item"</span><span class="p">,</span><span 
class="s2">"targetEntityId"</span><span class="p">:</span><span 
class="s2">"7"</span><span class="p">,</span><span 
class="s2">"eventTime"</span><span class="p">:</span><span 
class="s2">"2014-11-21T01:04:14.735Z"</span><span class="p">}</span><span 
class="w">
 </span><span class="p">{</span><span class="s2">"event"</span><span 
class="p">:</span><span class="s2">"buy"</span><span class="p">,</span><span 
class="s2">"entityType"</span><span class="p">:</span><span 
class="s2">"user"</span><span class="p">,</span><span 
class="s2">"entityId"</span><span class="p">:</span><span 
class="s2">"3"</span><span class="p">,</span><span 
class="s2">"targetEntityType"</span><span class="p">:</span><span 
class="s2">"item"</span><span class="p">,</span><span 
class="s2">"targetEntityId"</span><span class="p">:</span><span 
class="s2">"8"</span><span class="p">,</span><span 
class="s2">"eventTime"</span><span class="p">:</span><span 
class="s2">"2014-11-21T01:04:14.741Z"</span><span class="p">}</span><span 
class="w">
-</span></pre></td></tr></tbody></table> </div> <div class="alert-message 
warning"><p>Please make sure your import file does not contain any empty lines. 
Empty lines will be treated as a null object and will return an error during 
import.</p></div><h2 id='use-sdk-to-prepare-batch-input-file' 
class='header-anchors'>Use SDK to Prepare Batch Input File</h2><p>Some of the 
Apache PredictionIO SDKs also provides FileExporter client. You may use them to 
prepare the JSON file as described above. The FileExporter creates event in the 
same way as EventClient except that the events are written to a JSON file 
instead of being sent to EventSever. The written JSON file can then be used by 
batch import.</p><div class="tabs"> <ul class="control"> <li data-lang="php"><a 
href="#tab-bcf5b5de-433a-45ac-95d8-d8514968448a">PHP SDK</a></li> <li 
data-lang="python"><a href="#tab-df27df3c-bcc1-4183-8350-b67868fece2c">Python 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-68a17600-b626-402d-a54f-32660f1ffcb6">
 Ruby SDK</a></li> <li data-lang="java"><a 
href="#tab-ab102bab-bfc8-4f5f-b7e7-584577bbf72c">Java SDK</a></li> </ul> <div 
data-tab="PHP SDK" data-lang="php" 
id="tab-bcf5b5de-433a-45ac-95d8-d8514968448a"> (coming soon) </div> <div 
data-tab="Python SDK" data-lang="python" 
id="tab-df27df3c-bcc1-4183-8350-b67868fece2c"> <div class="highlight python"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
+</span></pre></td></tr></tbody></table> </div> <div class="alert-message 
warning"><p>Please make sure your import file does not contain any empty lines. 
Empty lines will be treated as a null object and will return an error during 
import.</p></div><h2 id='use-sdk-to-prepare-batch-input-file' 
class='header-anchors'>Use SDK to Prepare Batch Input File</h2><p>Some of the 
Apache PredictionIO SDKs also provides FileExporter client. You may use them to 
prepare the JSON file as described above. The FileExporter creates event in the 
same way as EventClient except that the events are written to a JSON file 
instead of being sent to EventSever. The written JSON file can then be used by 
batch import.</p><div class="tabs"> <ul class="control"> <li data-lang="php"><a 
href="#tab-48d07bd5-297b-41f2-a98b-4f979fbfc8a1">PHP SDK</a></li> <li 
data-lang="python"><a href="#tab-06e4be7b-be7f-4758-80e7-fabf141d59e8">Python 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-3d29eb8e-1d3f-4647-9d09-febb22f14d24">
 Ruby SDK</a></li> <li data-lang="java"><a 
href="#tab-d5fe838f-a6eb-42b3-b060-81c51aa71d00">Java SDK</a></li> </ul> <div 
data-tab="PHP SDK" data-lang="php" 
id="tab-48d07bd5-297b-41f2-a98b-4f979fbfc8a1"> (coming soon) </div> <div 
data-tab="Python SDK" data-lang="python" 
id="tab-06e4be7b-be7f-4758-80e7-fabf141d59e8"> <div class="highlight python"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -58,7 +58,7 @@
 <span class="c"># close the FileExporter when finish writing all events</span>
 <span class="n">exporter</span><span class="o">.</span><span 
class="n">close</span><span class="p">()</span>
 
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-68a17600-b626-402d-a54f-32660f1ffcb6"> (coming soon) 
</div> <div data-tab="Java SDK" data-lang="java" 
id="tab-ab102bab-bfc8-4f5f-b7e7-584577bbf72c"> <div class="highlight java"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1</pre></td> <td 
class="code"><pre><span class="o">(</span><span class="n">coming</span> <span 
class="n">soon</span><span class="o">)</span>
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-3d29eb8e-1d3f-4647-9d09-febb22f14d24"> (coming soon) 
</div> <div data-tab="Java SDK" data-lang="java" 
id="tab-d5fe838f-a6eb-42b3-b060-81c51aa71d00"> <div class="highlight java"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1</pre></td> <td 
class="code"><pre><span class="o">(</span><span class="n">coming</span> <span 
class="n">soon</span><span class="o">)</span>
 </pre></td> </tr></tbody></table> </div> </div> </div> <h2 
id='import-events-from-input-file' class='header-anchors'>Import Events from 
Input File</h2><p>Importing events from a file can be done easily using the 
command line interface. Assuming that <code>pio</code> be in your search path, 
your App ID be <code>123</code>, and the input file <code>my_events.json</code> 
be in your current working directory:</p><div class="highlight shell"><table 
style="border-spacing: 0"><tbody><tr><td class="gutter gl" style="text-align: 
right"><pre class="lineno">1</pre></td><td class="code"><pre><span class="gp">$ 
</span>pio import --appid 123 --input my_events.json
 </pre></td></tr></tbody></table> </div> <p>After a brief while, the tool 
should return to the console without any error. Congratulations! You have 
successfully imported your events.</p></div></div></div></div><footer><div 
class="container"><div class="seperator"></div><div class="row"><div 
class="col-md-6 footer-link-column"><div 
class="footer-link-column-row"><h4>Community</h4><ul><li><a 
href="//predictionio.apache.org/install/" 
target="blank">Download</a></li><li><a href="//predictionio.apache.org/" 
target="blank">Docs</a></li><li><a href="//github.com/apache/predictionio" 
target="blank">GitHub</a></li><li><a 
href="mailto:user-subscr...@predictionio.apache.org"; target="blank">Subscribe 
to User Mailing List</a></li><li><a 
href="//stackoverflow.com/questions/tagged/predictionio" 
target="blank">Stackoverflow</a></li></ul></div></div><div class="col-md-6 
footer-link-column"><div 
class="footer-link-column-row"><h4>Contribute</h4><ul><li><a 
href="//predictionio.apache.org/community/cont
 ribute-code/" target="blank">Contribute</a></li><li><a 
href="//github.com/apache/predictionio" target="blank">Source 
Code</a></li><li><a href="//issues.apache.org/jira/browse/PIO" 
target="blank">Bug Tracker</a></li><li><a 
href="mailto:dev-subscr...@predictionio.apache.org"; target="blank">Subscribe to 
Development Mailing List</a></li></ul></div></div></div><div class="row"><div 
class="col-md-12 footer-link-column"><p>Apache PredictionIO, PredictionIO, 
Apache, the Apache feather logo, and the Apache PredictionIO project logo are 
either registered trademarks or trademarks of The Apache Software Foundation in 
the United States and other countries.</p><p>All other marks mentioned may be 
trademarks or registered trademarks of their respective 
owners.</p></div></div></div><div id="footer-bottom"><div 
class="container"><div class="row"><div class="col-md-12"><div 
id="footer-logo-wrapper"><img alt="PredictionIO" 
src="/images/logos/logo-white-d1e9c6e6.png"/><span>®</span></div><div id="socia
 l-icons-wrapper"><a class="github-button" 
href="https://github.com/apache/predictionio"; data-icon="octicon-star" 
data-show-count="true" aria-label="Star apache/predictionio on GitHub">Star</a> 
<a class="github-button" href="https://github.com/apache/predictionio/fork"; 
data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork 
apache/predictionio on GitHub">Fork</a> <script id="github-bjs" async="" 
defer="" src="https://buttons.github.io/buttons.js";></script><a 
href="https://twitter.com/predictionio"; target="blank"><img alt="PredictionIO 
on Twitter" src="/images/icons/twitter-ea9dc152.png"/></a> <a 
href="https://www.facebook.com/predictionio"; target="blank"><img 
alt="PredictionIO on Facebook" src="/images/icons/facebook-5c57939c.png"/></a> 
</div></div></div></div></div></footer></div><script>(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
 (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/datacollection/channel/index.html
----------------------------------------------------------------------
diff --git a/datacollection/channel/index.html 
b/datacollection/channel/index.html
index a56281d..efc33b8 100644
--- a/datacollection/channel/index.html
+++ b/datacollection/channel/index.html
@@ -12,7 +12,7 @@
 [INFO] [App$]     Channel Name: myChannel
 [INFO] [App$]       Channel ID: 2
 [INFO] [App$]           App ID: 5
-</span></pre></td></tr></tbody></table> </div> <p>Now &quot;myChannel&quot; is 
created and ready for collecting data.</p><h2 id='collect-data-through-channel' 
class='header-anchors'>Collect data through Channel</h2><p>The Event API 
support optional <code>channel</code> query parameter. This allows you to 
import and query events of the specified channel. When the <code>channel</code> 
parameter is not specified, the data is collected through the default 
channel.</p><p>URL: 
<code>http://localhost:7070/events.json?accessKey=yourAccessKeyString&amp;channel=yourChannelName</code></p><p>Query
 parameters:</p> <table><thead> <tr> <th style="text-align: left">Field</th> 
<th style="text-align: left">Type</th> <th style="text-align: 
left">Description</th> </tr> </thead><tbody> <tr> <td style="text-align: 
left"><code>accessKey</code></td> <td style="text-align: left">String</td> <td 
style="text-align: left">The Access Key for your App</td> </tr> <tr> <td 
style="text-align: left"><code>channel</c
 ode></td> <td style="text-align: left">String</td> <td style="text-align: 
left">The channel name (optional). Specify this to import data to this channel. 
<strong>NOTE: supported in PIO version &gt;= 0.9.2</strong> only. Channel must 
be created first.</td> </tr> </tbody></table> <p>For SDK usage, one EventClient 
should be responsible for collecting data of one specific channel. The channel 
name is specified when the EventClient object is instantiated.</p><p>For 
example, the following code import event to &quot;YOUR_CHANNEL&quot; of the 
corresponding App.</p><div class="tabs"> <ul class="control"> <li 
data-lang="bash"><a href="#tab-d0f5ba4a-7404-4963-9678-e5d3d6306cca">Raw 
HTTP</a></li> <li data-lang="php"><a 
href="#tab-a8a6bafe-99a3-4d72-a9c9-8f3353611316">PHP SDK</a></li> <li 
data-lang="python"><a href="#tab-987ac1be-bcb9-43f3-b9cc-4b97649ce830">Python 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-2499f5be-3d84-45c8-8401-2c5bebdcbf0b">Ruby SDK</a></li> <li 
data-lang="java"><a href
 ="#tab-f0432024-4b8c-4bfe-b379-631a2310b690">Java SDK</a></li> </ul> <div 
data-tab="Raw HTTP" data-lang="bash" 
id="tab-d0f5ba4a-7404-4963-9678-e5d3d6306cca"> <div class="highlight shell"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
+</span></pre></td></tr></tbody></table> </div> <p>Now &quot;myChannel&quot; is 
created and ready for collecting data.</p><h2 id='collect-data-through-channel' 
class='header-anchors'>Collect data through Channel</h2><p>The Event API 
support optional <code>channel</code> query parameter. This allows you to 
import and query events of the specified channel. When the <code>channel</code> 
parameter is not specified, the data is collected through the default 
channel.</p><p>URL: 
<code>http://localhost:7070/events.json?accessKey=yourAccessKeyString&amp;channel=yourChannelName</code></p><p>Query
 parameters:</p> <table><thead> <tr> <th style="text-align: left">Field</th> 
<th style="text-align: left">Type</th> <th style="text-align: 
left">Description</th> </tr> </thead><tbody> <tr> <td style="text-align: 
left"><code>accessKey</code></td> <td style="text-align: left">String</td> <td 
style="text-align: left">The Access Key for your App</td> </tr> <tr> <td 
style="text-align: left"><code>channel</c
 ode></td> <td style="text-align: left">String</td> <td style="text-align: 
left">The channel name (optional). Specify this to import data to this channel. 
<strong>NOTE: supported in PIO version &gt;= 0.9.2</strong> only. Channel must 
be created first.</td> </tr> </tbody></table> <p>For SDK usage, one EventClient 
should be responsible for collecting data of one specific channel. The channel 
name is specified when the EventClient object is instantiated.</p><p>For 
example, the following code import event to &quot;YOUR_CHANNEL&quot; of the 
corresponding App.</p><div class="tabs"> <ul class="control"> <li 
data-lang="bash"><a href="#tab-2f3df33e-5f6a-48bd-a6a4-11a360ddeb45">Raw 
HTTP</a></li> <li data-lang="php"><a 
href="#tab-4d297e68-adcd-4db6-a982-a7b06c0f61de">PHP SDK</a></li> <li 
data-lang="python"><a href="#tab-c3ce6ecb-20db-4ea2-a38b-19119e480389">Python 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-8840fcb4-b179-468c-9dcf-f00a51abf4e0">Ruby SDK</a></li> <li 
data-lang="java"><a href
 ="#tab-bb91a1e3-58ef-429e-817e-fef17969f1a6">Java SDK</a></li> </ul> <div 
data-tab="Raw HTTP" data-lang="bash" 
id="tab-2f3df33e-5f6a-48bd-a6a4-11a360ddeb45"> <div class="highlight shell"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -39,7 +39,7 @@
   },
   "eventTime" : "2004-12-13T21:39:45.618Z"
 }'</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-a8a6bafe-99a3-4d72-a9c9-8f3353611316"> (TODO: update 
me) </div> <div data-tab="Python SDK" data-lang="python" 
id="tab-987ac1be-bcb9-43f3-b9cc-4b97649ce830"> <div class="highlight python"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-4d297e68-adcd-4db6-a982-a7b06c0f61de"> (TODO: update 
me) </div> <div data-tab="Python SDK" data-lang="python" 
id="tab-c3ce6ecb-20db-4ea2-a38b-19119e480389"> <div class="highlight python"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -80,7 +80,7 @@
     <span class="n">properties</span><span class="o">=</span><span 
class="n">event_properties</span><span class="p">,</span>
     <span class="n">event_time</span><span class="o">=</span><span 
class="n">datetime</span><span class="p">(</span><span 
class="mi">2014</span><span class="p">,</span> <span class="mi">12</span><span 
class="p">,</span> <span class="mi">13</span><span class="p">,</span> <span 
class="mi">21</span><span class="p">,</span> <span class="mi">38</span><span 
class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span 
class="mi">618000</span><span class="p">,</span> <span 
class="n">pytz</span><span class="o">.</span><span class="n">utc</span><span 
class="p">))</span>
 
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-2499f5be-3d84-45c8-8401-2c5bebdcbf0b"> (TODO: update 
me) </div> <div data-tab="Java SDK" data-lang="java" 
id="tab-f0432024-4b8c-4bfe-b379-631a2310b690"> <div class="highlight java"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1</pre></td> <td 
class="code"><pre><span class="o">(</span><span class="n">coming</span> <span 
class="n">soon</span><span class="o">)</span>
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-8840fcb4-b179-468c-9dcf-f00a51abf4e0"> (TODO: update 
me) </div> <div data-tab="Java SDK" data-lang="java" 
id="tab-bb91a1e3-58ef-429e-817e-fef17969f1a6"> <div class="highlight java"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1</pre></td> <td 
class="code"><pre><span class="o">(</span><span class="n">coming</span> <span 
class="n">soon</span><span class="o">)</span>
 </pre></td> </tr></tbody></table> </div> </div> </div> <p>You can also follow 
the EventAPI <a href="/datacollection/eventapi/#debugging-recipes">debug 
receipts</a> to query the events of specific channel by adding the 
<code>channel</code> query parameter in the URL.</p><h2 
id='delete-a-channel-(including-all-imported-data)' 
class='header-anchors'>Delete a Channel (including all imported data)</h2><div 
class="highlight shell"><table style="border-spacing: 0"><tbody><tr><td 
class="gutter gl" style="text-align: right"><pre class="lineno">1</pre></td><td 
class="code"><pre>pio app channel-delete &lt;app name&gt; &lt;channel name&gt;
 </pre></td></tr></tbody></table> </div> <h2 
id='delete-the-data-only-of-a-channel' class='header-anchors'>Delete the 
data-only of a Channel</h2><div class="highlight shell"><table 
style="border-spacing: 0"><tbody><tr><td class="gutter gl" style="text-align: 
right"><pre class="lineno">1</pre></td><td class="code"><pre>pio app 
data-delete &lt;app name&gt; --channel &lt;channel name&gt;
 </pre></td></tr></tbody></table> </div> <h2 
id='accessing-channel-data-in-engine' class='header-anchors'>Accessing Channel 
Data in Engine</h2><p>To acccess channel data, simply specify the channel name 
when use the PEventStore or LEventStore API. Data is read from from the default 
channel if channelName is not specified.</p><p>For example, read data from 
default channel:</p><div class="highlight scala"><table style="border-spacing: 
0"><tbody><tr><td class="gutter gl" style="text-align: right"><pre 
class="lineno">1

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/datacollection/eventapi/index.html
----------------------------------------------------------------------
diff --git a/datacollection/eventapi/index.html 
b/datacollection/eventapi/index.html
index 4fc79a9..f6f2cf2 100644
--- a/datacollection/eventapi/index.html
+++ b/datacollection/eventapi/index.html
@@ -22,7 +22,7 @@ Content-Length: 18
 <span class="o">[</span>INFO] <span class="o">[</span>App<span 
class="nv">$]</span>         Name: MyTestApp
 <span class="o">[</span>INFO] <span class="o">[</span>App<span 
class="nv">$]</span>           ID: 6
 <span class="o">[</span>INFO] <span class="o">[</span>App<span 
class="nv">$]</span>   Access Key: 
WPgcXKd42FPQpZHVbVeMyqF4CQJUnXQmIMTHhX3ZUrSzvy1KXJjdFUrslifa9rnB
-</pre></td></tr></tbody></table> </div> <h3 id='creating-your-first-event' 
class='header-anchors'>Creating Your First Event</h3><p>You may connect to the 
Event Server with HTTP request or by using one of many <strong>Apache 
PredictionIO SDKs</strong>.</p><p>For example, the following shows how one can 
create an event involving a single entity. Replace the value of 
<code>accessKey</code> by the <em>Access Key</em> generated for your 
App.</p><div class="tabs"> <ul class="control"> <li data-lang="bash"><a 
href="#tab-9ca64fa1-1084-46f8-b9b4-fd3334464f57">Raw HTTP</a></li> <li 
data-lang="php"><a href="#tab-43efd9cb-174a-45e0-adad-67ec92c6ff41">PHP 
SDK</a></li> <li data-lang="python"><a 
href="#tab-42280ca6-3a43-4e0c-8114-72fa9bb997d6">Python SDK</a></li> <li 
data-lang="ruby"><a href="#tab-542dbb07-ee66-4556-a6c2-a81ff08c97e6">Ruby 
SDK</a></li> <li data-lang="java"><a 
href="#tab-22d85dcb-8b07-4224-9bc8-3e6274843635">Java SDK</a></li> </ul> <div 
data-tab="Raw HTTP" data-lang="bash" id="tab-
 9ca64fa1-1084-46f8-b9b4-fd3334464f57"> <div class="highlight shell"> <table 
style="border-spacing: 0"><tbody><tr> <td class="gutter gl" style="text-align: 
right"><pre class="lineno">1
+</pre></td></tr></tbody></table> </div> <h3 id='creating-your-first-event' 
class='header-anchors'>Creating Your First Event</h3><p>You may connect to the 
Event Server with HTTP request or by using one of many <strong>Apache 
PredictionIO SDKs</strong>.</p><p>For example, the following shows how one can 
create an event involving a single entity. Replace the value of 
<code>accessKey</code> by the <em>Access Key</em> generated for your 
App.</p><div class="tabs"> <ul class="control"> <li data-lang="bash"><a 
href="#tab-9f6b970d-3d7c-4072-a796-6e2471915d7b">Raw HTTP</a></li> <li 
data-lang="php"><a href="#tab-205b49f4-c1c1-4246-aa4b-fefe80abd8d3">PHP 
SDK</a></li> <li data-lang="python"><a 
href="#tab-a9e379c6-2ead-4fd0-8713-d87e1e872cd1">Python SDK</a></li> <li 
data-lang="ruby"><a href="#tab-b5041a7a-7be4-41ad-8e36-ef5607af539d">Ruby 
SDK</a></li> <li data-lang="java"><a 
href="#tab-6cae3c0c-8339-45ce-82a6-474d50ce2b08">Java SDK</a></li> </ul> <div 
data-tab="Raw HTTP" data-lang="bash" id="tab-
 9f6b970d-3d7c-4072-a796-6e2471915d7b"> <div class="highlight shell"> <table 
style="border-spacing: 0"><tbody><tr> <td class="gutter gl" style="text-align: 
right"><pre class="lineno">1
 2
 3
 4
@@ -53,7 +53,7 @@ Content-Length: 18
   }
   "eventTime" : "2004-12-13T21:39:45.618-07:00"
 }'</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-43efd9cb-174a-45e0-adad-67ec92c6ff41"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-205b49f4-c1c1-4246-aa4b-fefe80abd8d3"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -94,7 +94,7 @@ Content-Length: 18
                         <span class="s1">'eventTime'</span> <span 
class="o">=&gt;</span> <span class="s1">'2004-12-13T21:39:45.618-07:00'</span>
                        <span class="p">));</span>
 <span class="cp">?&gt;</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-42280ca6-3a43-4e0c-8114-72fa9bb997d6"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-a9e379c6-2ead-4fd0-8713-d87e1e872cd1"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -137,7 +137,7 @@ Content-Length: 18
     <span class="n">properties</span><span class="o">=</span><span 
class="n">first_event_properties</span><span class="p">,</span>
     <span class="n">event_time</span><span class="o">=</span><span 
class="n">first_event_time</span><span class="p">,</span>
 <span class="p">)</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-542dbb07-ee66-4556-a6c2-a81ff08c97e6"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-b5041a7a-7be4-41ad-8e36-ef5607af539d"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -158,8 +158,8 @@ Content-Length: 18
                                             <span class="s1">'prop4'</span> 
<span class="o">=&gt;</span> <span class="kp">true</span><span 
class="p">,</span>
                                             <span class="s1">'prop5'</span> 
<span class="o">=&gt;</span> <span class="sx">%w(a b c)</span><span 
class="p">,</span>
                                             <span class="s1">'prop6'</span> 
<span class="o">=&gt;</span> <span class="mi">4</span><span 
class="o">.</span><span class="mi">56</span> <span class="p">})</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-22d85dcb-8b07-4224-9bc8-3e6274843635"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1</pre></td> 
<td class="code"><pre><span class="o">(</span><span class="n">coming</span> 
<span class="n">soon</span><span class="o">)</span>
-</pre></td> </tr></tbody></table> </div> </div> </div> <p>For example, the 
following shows how one can create an event involving two entities (with 
<code>targetEntity</code>).</p><div class="tabs"> <ul class="control"> <li 
data-lang="bash"><a href="#tab-5f2071ec-073b-4a87-b404-fbfa4155edf1">Raw 
HTTP</a></li> <li data-lang="php"><a 
href="#tab-e78fceee-265d-4a23-8d6f-c6e7a7680b86">PHP SDK</a></li> <li 
data-lang="python"><a href="#tab-33d01751-6a2b-4ecc-bd14-6a1dfca63538">Python 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-8303e618-f14c-43f0-ab89-57fcef1ba739">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-204bfa07-5207-42f3-aa42-c85d05f6d2a9">Java 
SDK</a></li> </ul> <div data-tab="Raw HTTP" data-lang="bash" 
id="tab-5f2071ec-073b-4a87-b404-fbfa4155edf1"> <div class="highlight shell"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-6cae3c0c-8339-45ce-82a6-474d50ce2b08"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1</pre></td> 
<td class="code"><pre><span class="o">(</span><span class="n">coming</span> 
<span class="n">soon</span><span class="o">)</span>
+</pre></td> </tr></tbody></table> </div> </div> </div> <p>For example, the 
following shows how one can create an event involving two entities (with 
<code>targetEntity</code>).</p><div class="tabs"> <ul class="control"> <li 
data-lang="bash"><a href="#tab-87c78d86-3225-4609-bc68-a265d3c1667f">Raw 
HTTP</a></li> <li data-lang="php"><a 
href="#tab-2ebb2cc9-9bcc-4657-9690-b6438c34cb4d">PHP SDK</a></li> <li 
data-lang="python"><a href="#tab-436fd211-9139-4201-af05-2fb5ee0ec84b">Python 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-b251cc68-487b-46d5-a1b5-1af947ac8700">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-ff009fe1-9aa3-4daa-818e-80079dbd7b6e">Java 
SDK</a></li> </ul> <div data-tab="Raw HTTP" data-lang="bash" 
id="tab-87c78d86-3225-4609-bc68-a265d3c1667f"> <div class="highlight shell"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -186,7 +186,7 @@ Content-Length: 18
   },
   "eventTime" : "2004-12-13T21:39:45.618Z"
 }'</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-e78fceee-265d-4a23-8d6f-c6e7a7680b86"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-2ebb2cc9-9bcc-4657-9690-b6438c34cb4d"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -221,7 +221,7 @@ Content-Length: 18
                         <span class="s1">'eventTime'</span> <span 
class="o">=&gt;</span> <span class="s1">'2004-12-13T21:39:45.618Z'</span>
                        <span class="p">));</span>
 <span class="cp">?&gt;</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-33d01751-6a2b-4ecc-bd14-6a1dfca63538"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-436fd211-9139-4201-af05-2fb5ee0ec84b"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -246,7 +246,7 @@ Content-Length: 18
     <span class="n">target_entity_id</span><span class="o">=</span><span 
class="s">"iid"</span><span class="p">,</span>
     <span class="n">properties</span><span class="o">=</span><span 
class="n">second_event_properties</span><span class="p">,</span>
     <span class="n">event_time</span><span class="o">=</span><span 
class="n">datetime</span><span class="p">(</span><span 
class="mi">2014</span><span class="p">,</span> <span class="mi">12</span><span 
class="p">,</span> <span class="mi">13</span><span class="p">,</span> <span 
class="mi">21</span><span class="p">,</span> <span class="mi">38</span><span 
class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span 
class="mi">618000</span><span class="p">,</span> <span 
class="n">pytz</span><span class="o">.</span><span class="n">utc</span><span 
class="p">))</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-8303e618-f14c-43f0-ab89-57fcef1ba739"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-b251cc68-487b-46d5-a1b5-1af947ac8700"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -263,7 +263,7 @@ Content-Length: 18
                           <span class="s1">'eventTime'</span> <span 
class="o">=&gt;</span> <span class="s1">'2004-12-13T21:39:45.618Z'</span><span 
class="p">,</span>
                           <span class="s1">'properties'</span> <span 
class="o">=&gt;</span> <span class="p">{</span> <span 
class="s1">'someProperty'</span> <span class="o">=&gt;</span> <span 
class="s1">'value1'</span><span class="p">,</span>
                                             <span 
class="s1">'anotherProperty'</span> <span class="o">=&gt;</span> <span 
class="s1">'value2'</span> <span class="p">})</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-204bfa07-5207-42f3-aa42-c85d05f6d2a9"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1</pre></td> 
<td class="code"><pre><span class="o">(</span><span class="n">coming</span> 
<span class="n">soon</span><span class="o">)</span>
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-ff009fe1-9aa3-4daa-818e-80079dbd7b6e"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1</pre></td> 
<td class="code"><pre><span class="o">(</span><span class="n">coming</span> 
<span class="n">soon</span><span class="o">)</span>
 </pre></td> </tr></tbody></table> </div> </div> </div> <p>Sample 
response:</p><div class="highlight shell"><table style="border-spacing: 
0"><tbody><tr><td class="gutter gl" style="text-align: right"><pre 
class="lineno">1
 2
 3

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/datacollection/plugin/index.html
----------------------------------------------------------------------
diff --git a/datacollection/plugin/index.html b/datacollection/plugin/index.html
index aa11f71..b25ac45 100644
--- a/datacollection/plugin/index.html
+++ b/datacollection/plugin/index.html
@@ -4,7 +4,7 @@
 4</pre></td><td class="code"><pre><span class="n">name</span> <span 
class="o">:=</span> <span class="s">"pio-plugin-example"</span>
 <span class="n">version</span> <span class="o">:=</span> <span 
class="s">"1.0"</span>
 <span class="n">scalaVersion</span> <span class="o">:=</span> <span 
class="s">"2.11.11"</span>
-<span class="n">libraryDependencies</span> <span class="o">+=</span> <span 
class="s">"org.apache.predictionio"</span> <span class="o">%%</span> <span 
class="s">"apache-predictionio-core"</span> <span class="o">%</span> <span 
class="s">"0.12.1"</span>
+<span class="n">libraryDependencies</span> <span class="o">+=</span> <span 
class="s">"org.apache.predictionio"</span> <span class="o">%%</span> <span 
class="s">"apache-predictionio-core"</span> <span class="o">%</span> <span 
class="s">"0.13.0"</span>
 </pre></td></tr></tbody></table> </div> <p>Event server plug-ins must extend 
<code>EventServerPlugin</code>. Here is an example of event server 
plug-in:</p><div class="highlight scala"><table style="border-spacing: 
0"><tbody><tr><td class="gutter gl" style="text-align: right"><pre 
class="lineno">1
 2
 3

http://git-wip-us.apache.org/repos/asf/predictionio-site/blob/6e02047e/deploy/plugin/index.html
----------------------------------------------------------------------
diff --git a/deploy/plugin/index.html b/deploy/plugin/index.html
index 9c4ff02..8538093 100644
--- a/deploy/plugin/index.html
+++ b/deploy/plugin/index.html
@@ -4,7 +4,7 @@
 4</pre></td><td class="code"><pre><span class="n">name</span> <span 
class="o">:=</span> <span class="s">"pio-plugin-example"</span>
 <span class="n">version</span> <span class="o">:=</span> <span 
class="s">"1.0"</span>
 <span class="n">scalaVersion</span> <span class="o">:=</span> <span 
class="s">"2.11.11"</span>
-<span class="n">libraryDependencies</span> <span class="o">+=</span> <span 
class="s">"org.apache.predictionio"</span> <span class="o">%%</span> <span 
class="s">"apache-predictionio-core"</span> <span class="o">%</span> <span 
class="s">"0.12.1"</span>
+<span class="n">libraryDependencies</span> <span class="o">+=</span> <span 
class="s">"org.apache.predictionio"</span> <span class="o">%%</span> <span 
class="s">"apache-predictionio-core"</span> <span class="o">%</span> <span 
class="s">"0.13.0"</span>
 </pre></td></tr></tbody></table> </div> <p>Engine server plug-ins must extend 
<code>EngineServerPlugin</code>. Here is an example of engine server 
plug-in:</p><div class="highlight scala"><table style="border-spacing: 
0"><tbody><tr><td class="gutter gl" style="text-align: right"><pre 
class="lineno">1
 2
 3

Reply via email to