Author: moon
Date: Sun Dec 27 19:40:21 2015
New Revision: 1721836

URL: http://svn.apache.org/viewvc?rev=1721836&view=rev
Log:
https://github.com/apache/incubator-zeppelin/pull/550

Modified:
    incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml
    
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html
    incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml

Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml
URL: 
http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml?rev=1721836&r1=1721835&r2=1721836&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml (original)
+++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml Sun Dec 27 
19:40:21 2015
@@ -4,7 +4,7 @@
  <title>Apache Zeppelin (incubating)</title>
  <link href="http://zeppelin.incubator.apache.org/"; rel="self"/>
  <link href="http://zeppelin.incubator.apache.org"/>
- <updated>2015-12-22T21:05:25+09:00</updated>
+ <updated>2015-12-27T11:31:15-08:00</updated>
  <id>http://zeppelin.incubator.apache.org</id>
  <author>
    <name>The Apache Software Foundation</name>

Modified: 
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html
URL: 
http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html?rev=1721836&r1=1721835&r2=1721836&view=diff
==============================================================================
--- 
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html
 (original)
+++ 
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html
 Sun Dec 27 19:40:21 2015
@@ -512,7 +512,7 @@ limitations under the License.
     </tr>
     <tr>
       <td> sample JSON response </td>
-      
<td><pre>{&quot;status&quot;:&quot;OK&quot;,&quot;body&quot;:[{&quot;id&quot;:&quot;20151121-212654<em>766735423&quot;,&quot;status&quot;:&quot;FINISHED&quot;,&quot;finished&quot;:&quot;Tue
 Nov 24 14:21:40 KST 2015&quot;,&quot;started&quot;:&quot;Tue Nov 24 14:21:39 
KST 
2015&quot;},{&quot;id&quot;:&quot;20151121-212657</em>730976687&quot;,&quot;status&quot;:&quot;FINISHED&quot;,&quot;finished&quot;:&quot;Tue
 Nov 24 14:21:40 KST 2015&quot;,&quot;started&quot;:&quot;Tue Nov 24 14:21:40 
KST 2015&quot;}]}</pre></td>
+      
<td><pre>{&quot;status&quot;:&quot;OK&quot;,&quot;body&quot;:[{&quot;id&quot;:&quot;20151121-212654<em>766735423&quot;,&quot;status&quot;:&quot;FINISHED&quot;,&quot;finished&quot;:&quot;Tue
 Nov 24 14:21:40 KST 2015&quot;,&quot;started&quot;:&quot;Tue Nov 24 14:21:39 
KST 
2015&quot;},{&quot;progress&quot;:&quot;1&quot;,&quot;id&quot;:&quot;20151121-212657</em>730976687&quot;,&quot;status&quot;:&quot;RUNNING&quot;,&quot;finished&quot;:&quot;Tue
 Nov 24 14:21:35 KST 2015&quot;,&quot;started&quot;:&quot;Tue Nov 24 14:21:40 
KST 2015&quot;}]}</pre></td>
     </tr>
   </table></p>
 
@@ -688,6 +688,220 @@ limitations under the License.
     </tr>
   </table></p>
 
+<p><table class="table-configuration">
+    <col width="200">
+    <tr>
+      <th>Full-text search through the paragraphs in all notebooks</th>
+      <th></th>
+    </tr>
+    <tr>
+      <td>Description</td>
+      <td><code>GET</code> request will return list of matching paragraphs
+      </td>
+    </tr>
+    <tr>
+      <td>URL</td>
+      
<td><code>http://[zeppelin-server]:[zeppelin-port]/api/notebook/search?q=[query]</code></td>
+    </tr>
+    <tr>
+      <td>Success code</td>
+      <td>200</td>
+    </tr>
+    <tr>
+      <td>Fail code</td>
+      <td> 500 </td>
+    </tr>
+    <tr>
+      <td>Sample JSON response </td>
+      <td><pre>{&quot;status&quot;:&quot;OK&quot;, body: 
[{&quot;id&quot;:&quot;<noteId>/paragraph/<paragraphId>&quot;, 
&quot;name&quot;:&quot;Notebook Name&quot;, &quot;snippet&quot;:&quot;&quot;, 
&quot;text&quot;:&quot;&quot;}]}</pre></td>
+    </tr>
+  </table></p>
+
+<p><br/></p>
+
+<p><table class="table-configuration">
+    <col width="200">
+    <tr>
+      <th>Create paragraph</th>
+      <th></th>
+    </tr>
+    <tr>
+      <td>Description</td>
+      <td>This <code>POST</code> method create a new paragraph using JSON 
payload.
+          The body field of the returned JSON contain the new paragraph id.
+      </td>
+    </tr>
+    <tr>
+      <td>URL</td>
+      
<td><code>http://[zeppelin-server]:[zeppelin-port]/api/notebook/[notebookId]/paragraph</code></td>
+    </tr>
+    <tr>
+      <td>Success code</td>
+      <td>201</td>
+    </tr>
+    <tr>
+      <td> Fail code</td>
+      <td> 500 </td>
+    </tr>
+    <tr>
+      <td> sample JSON input (add to the last) </td>
+      <td><pre>
+  { 
+    &quot;title&quot;: &quot;Paragraph insert revised&quot;, 
+    &quot;text&quot;: &quot;%spark\nprintln(\&quot;Paragraph insert 
revised\&quot;)&quot; 
+  }</pre></td>
+    </tr>
+    <tr>
+      <td> sample JSON input (add to specific index) </td>
+      <td><pre>
+  { 
+    &quot;title&quot;: &quot;Paragraph insert revised&quot;, 
+    &quot;text&quot;: &quot;%spark\nprintln(\&quot;Paragraph insert 
revised\&quot;)&quot;,
+    &quot;index&quot;: 0
+  }
+      </pre></td>
+    </tr>
+    <tr>
+      <td> sample JSON response </td>
+      <td><pre>{&quot;status&quot;: &quot;CREATED&quot;,&quot;message&quot;: 
&quot;&quot;,&quot;body&quot;: 
&quot;20151218-100330_1754029574&quot;}</pre></td>
+    </tr>
+  </table></p>
+
+<p><br/></p>
+
+<p><table class="table-configuration">
+    <col width="200">
+    <tr>
+      <th>Get paragraph</th>
+      <th></th>
+    </tr>
+    <tr>
+      <td>Description</td>
+      <td>This <code>GET</code> method retrieves an existing paragraph&#39;s 
information using the given id.
+          The body field of the returned JSON contain information about 
paragraph.
+      </td>
+    </tr>
+    <tr>
+      <td>URL</td>
+      
<td><code>http://[zeppelin-server]:[zeppelin-port]/api/notebook/[notebookId]/paragraph/[paragraphId]</code></td>
+    </tr>
+    <tr>
+      <td>Success code</td>
+      <td>200</td>
+    </tr>
+    <tr>
+      <td> Fail code</td>
+      <td> 500 </td>
+    </tr>
+    <tr>
+      <td> sample JSON response </td>
+      <td><pre>
+{
+  &quot;status&quot;: &quot;OK&quot;,
+  &quot;message&quot;: &quot;&quot;,
+  &quot;body&quot;: {
+    &quot;title&quot;: &quot;Paragraph2&quot;,
+    &quot;text&quot;: &quot;%spark\n\nprintln(\&quot;it&#39;s 
paragraph2\&quot;)&quot;,
+    &quot;dateUpdated&quot;: &quot;Dec 18, 2015 7:33:54 AM&quot;,
+    &quot;config&quot;: {
+      &quot;colWidth&quot;: 12,
+      &quot;graph&quot;: {
+        &quot;mode&quot;: &quot;table&quot;,
+        &quot;height&quot;: 300,
+        &quot;optionOpen&quot;: false,
+        &quot;keys&quot;: [],
+        &quot;values&quot;: [],
+        &quot;groups&quot;: [],
+        &quot;scatter&quot;: {}
+      },
+      &quot;enabled&quot;: true,
+      &quot;title&quot;: true,
+      &quot;editorMode&quot;: &quot;ace/mode/scala&quot;
+    },
+    &quot;settings&quot;: {
+      &quot;params&quot;: {},
+      &quot;forms&quot;: {}
+    },
+    &quot;jobName&quot;: 
&quot;paragraph<em>1450391574392</em>-1890856722&quot;,
+    &quot;id&quot;: &quot;20151218-073254_1105602047&quot;,
+    &quot;result&quot;: {
+      &quot;code&quot;: &quot;SUCCESS&quot;,
+      &quot;type&quot;: &quot;TEXT&quot;,
+      &quot;msg&quot;: &quot;it&#39;s paragraph2\n&quot;
+    },
+    &quot;dateCreated&quot;: &quot;Dec 18, 2015 7:32:54 AM&quot;,
+    &quot;dateStarted&quot;: &quot;Dec 18, 2015 7:33:55 AM&quot;,
+    &quot;dateFinished&quot;: &quot;Dec 18, 2015 7:33:55 AM&quot;,
+    &quot;status&quot;: &quot;FINISHED&quot;,
+    &quot;progressUpdateIntervalMs&quot;: 500
+  }
+}
+      </pre></td>
+    </tr>
+  </table></p>
+
+<p><br/></p>
+
+<p><table class="table-configuration">
+    <col width="200">
+    <tr>
+      <th>Move paragraph</th>
+      <th></th>
+    </tr>
+    <tr>
+      <td>Description</td>
+      <td>This <code>POST</code> method moves a paragraph to the specific 
index (order) from the notebook.
+      </td>
+    </tr>
+    <tr>
+      <td>URL</td>
+      
<td><code>http://[zeppelin-server]:[zeppelin-port]/api/notebook/[notebookId]/paragraph/[paragraphId]/move/[newIndex]</code></td>
+    </tr>
+    <tr>
+      <td>Success code</td>
+      <td>200</td>
+    </tr>
+    <tr>
+      <td> Fail code</td>
+      <td> 500 </td>
+    </tr>
+    <tr>
+      <td> sample JSON response </td>
+      
<td><pre>{&quot;status&quot;:&quot;OK&quot;,&quot;message&quot;:&quot;&quot;}</pre></td>
+    </tr>
+  </table></p>
+
+<p><br/></p>
+
+<p><table class="table-configuration">
+    <col width="200">
+    <tr>
+      <th>Delete paragraph</th>
+      <th></th>
+    </tr>
+    <tr>
+      <td>Description</td>
+      <td>This <code>DELETE</code> method deletes a paragraph by the given 
notebook and paragraph id.
+      </td>
+    </tr>
+    <tr>
+      <td>URL</td>
+      
<td><code>http://[zeppelin-server]:[zeppelin-port]/api/notebook/[notebookId]/paragraph/[paragraphId]</code></td>
+    </tr>
+    <tr>
+      <td>Success code</td>
+      <td>200</td>
+    </tr>
+    <tr>
+      <td> Fail code</td>
+      <td> 500 </td>
+    </tr>
+    <tr>
+      <td> sample JSON response </td>
+      
<td><pre>{&quot;status&quot;:&quot;OK&quot;,&quot;message&quot;:&quot;&quot;}</pre></td>
+    </tr>
+  </table></p>
+
   </div>
 </div>
 

Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml
URL: 
http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml?rev=1721836&r1=1721835&r2=1721836&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml (original)
+++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml Sun Dec 27 
19:40:21 2015
@@ -5,8 +5,8 @@
         <description>Apache Zeppelin (incubating) - The Apache Software 
Foundation</description>
         <link>http://zeppelin.incubator.apache.org</link>
         <link>http://zeppelin.incubator.apache.org</link>
-        <lastBuildDate>2015-12-22T21:05:25+09:00</lastBuildDate>
-        <pubDate>2015-12-22T21:05:25+09:00</pubDate>
+        <lastBuildDate>2015-12-27T11:31:15-08:00</lastBuildDate>
+        <pubDate>2015-12-27T11:31:15-08:00</pubDate>
         <ttl>1800</ttl>
 
 


Reply via email to