Please help me with rest api url and json body for promoting a children to dataset ( example http://mydremio001:9047/api/v3/catalog/???).
Source:
{
“id”: “dremio:/my_dev/clusters/“my-project-dev01-us””,
“path”: [
“my_dev”,
“clusters”,
““my-project-dev01-us””
],
“type”: “CONTAINER”,
“containerType”: “FOLDER”
}
Just got the following error ( there is a spelling mistake in physical)
{
“errorMessage”: “Something went wrong”,
“moreInfo”: “Phyiscal Datasets can only be created by promoting other entities.”
}
I’m not sure I understand when you say you’re trying to promote a folder to dataset. Would you mind expanding on what you’re trying to achieve? Thanks, Christy.
Thanks for pointing that out, I missed that and edited the post to fix that. {id} is the id of the entity you are promoting. You can use the catalog endpoint to browse and find the entity and its id.