You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/03/18 14:00:11 UTC

svn commit: r1787557 - in /kylin/site: docs16/howto/howto_use_restapi.html feed.xml

Author: lidong
Date: Sat Mar 18 14:00:11 2017
New Revision: 1787557

URL: http://svn.apache.org/viewvc?rev=1787557&view=rev
Log:
add curl example for build cube

Modified:
    kylin/site/docs16/howto/howto_use_restapi.html
    kylin/site/feed.xml

Modified: kylin/site/docs16/howto/howto_use_restapi.html
URL: http://svn.apache.org/viewvc/kylin/site/docs16/howto/howto_use_restapi.html?rev=1787557&r1=1787556&r2=1787557&view=diff
==============================================================================
--- kylin/site/docs16/howto/howto_use_restapi.html (original)
+++ kylin/site/docs16/howto/howto_use_restapi.html Sat Mar 18 14:00:11 2017
@@ -2524,6 +2524,12 @@ Authorization:Basic {data}</p>
 </code></pre>
 </div>
 
+<h4 id="curl-example-1">Curl Example</h4>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>curl -X POST -H "Authorization: Basic XXXXXXXXX" -H "Content-Type: application/json" -d '{ "sql":"select count(*) from TEST_KYLIN_FACT", "project":"learn_kylin" }' http://localhost:7070/kylin/api/query
+</code></pre>
+</div>
+
 <h4 id="response-body-1">Response Body</h4>
 <ul>
   <li>columnMetas - Column metadata information of result set.</li>
@@ -2619,12 +2625,6 @@ Authorization:Basic {data}</p>
 </code></pre>
 </div>
 
-<h4 id="curl-example-1">Curl Example</h4>
-
-<div class="highlighter-rouge"><pre class="highlight"><code>curl -X POST -H "Authorization: Basic XXXXXXXXX" -H "Content-Type: application/json" -d '{ "sql":"select count(*) from TEST_KYLIN_FACT", "project":"learn_kylin" }' http://localhost:7070/kylin/api/query
-</code></pre>
-</div>
-
 <h2 id="list-queryable-tables">List queryable tables</h2>
 <p><code class="highlighter-rouge">GET /kylin/api/tables_and_columns</code></p>
 
@@ -3079,6 +3079,11 @@ Get descriptor for specified cube instan
   <li>buildType - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Supported build type: ‘BUILD’, ‘MERGE’, ‘REFRESH’</li>
 </ul>
 
+<h4 id="curl-example-2">Curl Example</h4>
+<div class="highlighter-rouge"><pre class="highlight"><code>curl -X PUT -H "Authorization: Basic XXXXXXXXX" -H 'Content-Type: application/json' -d '{"startTime":'1423526400000', "endTime":'1423526400', "buildType":"BUILD"}' http://&lt;host&gt;:&lt;port&gt;/kylin/api/cubes/{cubeName}/build
+</code></pre>
+</div>
+
 <h4 id="response-sample-6">Response Sample</h4>
 <div class="highlighter-rouge"><pre class="highlight"><code><span class="p">{</span><span class="w">  
    </span><span class="nt">"uuid"</span><span class="p">:</span><span class="s2">"c143e0e4-ac5f-434d-acf3-46b0d15e3dc6"</span><span class="p">,</span><span class="w">

Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1787557&r1=1787556&r2=1787557&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Sat Mar 18 14:00:11 2017
@@ -19,8 +19,8 @@
     <description>Apache Kylin Home</description>
     <link>http://kylin.apache.org/</link>
     <atom:link href="http://kylin.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Mon, 06 Mar 2017 17:18:54 -0800</pubDate>
-    <lastBuildDate>Mon, 06 Mar 2017 17:18:54 -0800</lastBuildDate>
+    <pubDate>Sat, 18 Mar 2017 06:59:07 -0700</pubDate>
+    <lastBuildDate>Sat, 18 Mar 2017 06:59:07 -0700</lastBuildDate>
     <generator>Jekyll v2.5.3</generator>
     
       <item>