Manny
02/06/2025, 5:51 AMMauricio Cabezas
02/06/2025, 8:53 AMGET /api/v1/layout/workspaces/{workspaceId}
This will not only export the logical model but the whole workspace (incl. all metrics, visualizations etc.) There you can see the the attributes for each dataset with their tag, for example:
"ldm": {
"datasets": [
{
"attributes": [
{
"description": "Age",
"id": "Age",
"labels": [],
"sourceColumn": "Age",
"sourceColumnDataType": "INT",
"tags": [
"Customerdata"
],
"title": "Age"
},
{
"description": "CustomerName",
"id": "CustomerName",
"labels": [],
"sourceColumn": "CustomerName",
"sourceColumnDataType": "STRING",
"tags": [
"Customerdata"
],
"title": "CustomerName"
},
They have the tag Customerdata which is what I currently see in the Analyse tab, then to change it, you have to copy the complete 'GET' response and paste it in the body of the PUT call;
PUT /api/v1/layout/workspaces/:workspaceId
and edit with the new 'name' or tag you want to see, like:
"ldm": {
"datasets": [
{
"attributes": [
{
"description": "Age",
"id": "Age",
"labels": [],
"sourceColumn": "Age",
"sourceColumnDataType": "INT",
"tags": [
"CustomerdataID"
],
"title": "Age"
},
{
"description": "CustomerName",
"id": "CustomerName",
"labels": [],
"sourceColumn": "CustomerName",
"sourceColumnDataType": "STRING",
"tags": [
"CustomerdataID"
],
"title": "CustomerName"
},
Then you will see this new tag and the 'name' in the left panel. Please, do not forget to paste the complete response of your GET in the body of your PUT call.Manny
02/06/2025, 10:59 PMManny
02/07/2025, 1:34 AMMauricio Cabezas
02/07/2025, 10:01 AMMauricio Cabezas
02/07/2025, 3:48 PM