You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by Orval TOUITOU <or...@iut-dijon.u-bourgogne.fr> on 2016/05/17 13:55:46 UTC

Re: Create model and cube using rest api

hello, 

I would like to create a cube the same way it is done using the web interface (create the model, create the cube and build it), but programmatically. Is it possible ? Because the rest api documentation on the website only explains how to build the cube, not how to create the model and the cube. 

Thanks 

Re: Create model and cube using rest api

Posted by hongbin ma <ma...@apache.org>.
take a look at CubeController#saveCubeDesc, you can use the API directly
however without the frontend wizard, your program needs to keep the request
in a valid format. Otherwise cube save will fail.

On Tue, May 17, 2016 at 9:55 PM, Orval TOUITOU <
orval.touitou@iut-dijon.u-bourgogne.fr> wrote:

> hello,
>
> I would like to create a cube the same way it is done using the web
> interface (create the model, create the cube and build it), but
> programmatically. Is it possible ? Because the rest api documentation on
> the website only explains how to build the cube, not how to create the
> model and the cube.
>
> Thanks
>



-- 
Regards,

*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone