Hi Yaqian,

 

Thanks for your reply.

 

Could you provide more details for post request body?

Because I need post 100 aggregation groups,  I don’t want to do it on UI.

For example : how to post “dimensions, measures, aggregation groups, mandatory dimensions and so on… ”,

 

Thanks,

Qiuyu

 

发送自 Windows 10 邮件应用

 

发件人: Yaqian Zhang
发送时间: Thursday, October 10, 2019 8:41 PM
收件人: [email protected]
主题: Re: how to create cube or model with RESTful API

 

Hi

 

Sorry for the Kylin.apache.org web didn’t provide how to create cube or model with RESTful API.

 

Actually, you can create model and cube with RESTful API as follow:

 

1Create a cube with RESTful API:

 

     POST  http://host:port/kylin/api/cubes

     

     Request Body:{“cubeDescData”:

                              “cubeName”:

                              “projectName”:}

 

2Create a model with RESTful API:

 

      POST  http://host:port/kylin/api/models

     

      Request Body:{“modelDescData”:

                              “modelName”:

                              “projectName”:}

 



20191010日,19:58<[email protected]> <[email protected]> 写道:

 

Hi folks,

 

In Kylin.apache.org web, I can’t find any RESTful Api to create cube or model, only found “List cubes, build cube, disable cube …”.

So, how to create cube with Restful API, or other workarounds? Could you give me some documents as detailed as possible?

 

Thanks,

Qiuyu

 

发送自 Windows 10 邮件应用

 

 

Reply via email to