创建project
POST
http://192.168.88.132:7070/kylin/api/projects
接口描述
创建一个project
请求头
参数名
类型
描述
必填
Authorization
string
示例:Basic QURNSU46S1lMSU4=
必填
Content-Type
string
示例:application/json;charset=utf-8
必填
请求参数
参数名
类型
描述
必填
projectDescData
string
示例:{"name":"Test3","description":"123","override_kylin_properties":{}}
必填
响应参数
参数名
类型
描述
必填
code
string
示例:999
必填
data
object
示例:null
必填
msg
string
示例:Failed to deal with the request:null
必填
stacktrace
string
示例:org.apache.kylin.rest.exception.InternalErrorException: Failed to deal with the request:null
at org.apache.kylin.rest.controller.ProjectController.deserializeProjectDesc(ProjectController.java:185)
at org.apache.kylin.rest.controller.ProjectController.saveProject(ProjectController.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccesso...
必填
exception
string
示例:Failed to deal with the request:null
必填
url
string
示例:http://192.168.88.132:7070/kylin/api/projects
必填
code
string
示例:999
必填
data
object
示例:null
必填
msg
string
示例:The project named 'KylinAPITest' already exists.
必填
stacktrace
string
示例:org.apache.kylin.rest.exception.InternalErrorException: The project named 'KylinAPITest' already exists.
at org.apache.kylin.rest.controller.ProjectController.saveProject(ProjectController.java:141)
at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(M...
必填
exception
string
示例:The project named 'KylinAPITest' already exists.
必填
url
string
示例:http://192.168.88.132:7070/kylin/api/projects
必填
uuid
string
示例:2f80a984-fa01-288c-43bc-c3e1d7b31479
必填
last_modified
number
示例:1587965985437
必填
version
string
示例:2.6.0.20500
必填
name
string
示例:Test3
必填
tables
array
数据列表
必填
owner
string
示例:ADMIN
必填
status
string
示例:ENABLED
必填
create_time_utc
number
示例:1587965985436
必填
last_update_time
object
示例:null
必填
description
string
示例:123
必填
realizations
array
数据列表
必填
models
array
数据列表
必填
ext_filters
array
数据列表
必填
override_kylin_properties
object
数据字典
必填