Use RESTful API
This page lists the major RESTful APIs provided by Kylin.
- Authentication
- Query
- CUBE
- Create cube
- Update cube
- List cubes
- Get cube
- Get cube descriptor (dimension, measure info, etc)
- Get data model (fact and lookup table info)
- Build cube
- Enable cube
- Disable cube
- Purge cube
- Delete segment
- Auto-Merge segment
- Get sql of a cube
- Get sql of a cube segment
- Force rebuild lookup table snapshot
- Clone cube
- Delete Cube
- Get hbase info
- Get current cuboid
- Migrate cube
- MODEL
- JOB
- Metadata
- Cache
- Streaming
- ACL
- Metrics
Authentication
POST /kylin/api/user/authentication
Request Header
Authorization data encoded by basic auth is needed in the header, such as:
Authorization:Basic data
You can generate data by using below python script
python -c "import base64; print base64.standard_b64encode('$UserName:$Password')"