Hi, we are using GoodData CN version 2.5.1, i am l...
# gooddata-cn
r
Hi, we are using GoodData CN version 2.5.1, i am looking for API to either create insights afresh or clone them from an existing workspace that already has a similar insight...Could someone guide me as the documentation has steps for cloning workspace but not insight or metrics?
m
If you want to create insights / visualizatoin objects, you need to use POST method on
/api/v1/entities/workspaces/{workspaceId}/visualizationObjects
endpoint (note the missing
{objectId}
in the URI: https://www.gooddata.com/docs/cloud-native/2.5/api-and-sdk/api/api_reference_all/#operation/createEntity@VisualizationObjects
r
@Michael Ullock how do I clone the visualization object say insight or metric from a different workspace?
m
Hi Rishi, sorry for the delay in getting back to you - We have the following article which will help with this: https://community.gooddata.com/administration-kb-articles-49/gooddata-cn-migrating-objects-between-workspaces-290 However, some of the images are broken in the article. I will need to reach out internally to see if we can get this updated.