I am looking for cubejs API’s around model files on /playground/files probably. Basically to create yml and js files in conf/model/ folders. Is it available?
I could get the existing model files by doing GET API on /playground/files which gives me a response like with filename, content and abspath.
"files": [
{
"fileName": "cubes/cube1.yml",
"content": "cubes:rrn - name: cube1rrn ",
"absPath": "/cube/conf/model/cubes/cube1.yml"
} ]
I am trying to do a PUT with content, filename and path which would create a file and make the measures and dim in playground.
New contributor
jojos joy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.