Repository: kylin Updated Branches: refs/heads/document 16b3809b2 -> bf5f126e0
echo KYLIN-2717 update Table API doc Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/bf5f126e Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/bf5f126e Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/bf5f126e Branch: refs/heads/document Commit: bf5f126e04a852d8b2808ec575ad3ed5d30dd2d4 Parents: 16b3809 Author: Billy Liu <[email protected]> Authored: Wed Nov 8 22:19:33 2017 +0800 Committer: Billy Liu <[email protected]> Committed: Wed Nov 8 22:19:33 2017 +0800 ---------------------------------------------------------------------- website/_docs21/howto/howto_use_restapi.md | 31 ++----------------------- 1 file changed, 2 insertions(+), 29 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/bf5f126e/website/_docs21/howto/howto_use_restapi.md ---------------------------------------------------------------------- diff --git a/website/_docs21/howto/howto_use_restapi.md b/website/_docs21/howto/howto_use_restapi.md index 3595d2e..1170d13 100644 --- a/website/_docs21/howto/howto_use_restapi.md +++ b/website/_docs21/howto/howto_use_restapi.md @@ -31,7 +31,6 @@ This page lists the major RESTful APIs provided by Kylin. * [Get job list](#get-job-list) * Metadata * [Get Hive Table](#get-hive-table) - * [Get Hive Table (Extend Info)](#get-hive-table-extend-info) * [Get Hive Tables](#get-hive-tables) * [Load Hive Tables](#load-hive-tables) * Cache @@ -972,9 +971,10 @@ curl -X PUT -H "Authorization: Basic XXXXXXXXX" -H 'Content-Type: application/js *** ## Get Hive Table -`GET /kylin/api/tables/{tableName}` +`GET /kylin/api/tables/{project}/{tableName}` #### Request Parameters +* project - `required` `string` project name * tableName - `required` `string` table name to find. #### Response Sample @@ -1004,33 +1004,6 @@ curl -X PUT -H "Authorization: Basic XXXXXXXXX" -H 'Content-Type: application/js } ``` -## Get Hive Table (Extend Info) -`GET /kylin/api/tables/{tableName}/exd-map` - -#### Request Parameters -* tableName - `optional` `string` table name to find. - -#### Response Sample -``` -{ - "minFileSize": "46055", - "totalNumberFiles": "1", - "location": "hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/sample_07", - "lastAccessTime": "1418374103365", - "lastUpdateTime": "1398176493340", - "columns": "struct columns { string code, string description, i32 total_emp, i32 salary}", - "partitionColumns": "", - "EXD_STATUS": "true", - "maxFileSize": "46055", - "inputformat": "org.apache.hadoop.mapred.TextInputFormat", - "partitioned": "false", - "tableName": "sample_07", - "owner": "hue", - "totalFileSize": "46055", - "outputformat": "org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat" -} -``` - ## Get Hive Tables `GET /kylin/api/tables`
