vizualization-object

Save an insight as a report definition

Use this method to save an insight as a report definition. This is equivalent to clicking the Open as Report button from Analytical Designer.

The report definition is saved in the same project as the insight, under Reports. The report definition is saved as a hidden Untitled report. You can then rename it and make it visible for everybody.

post/gdc/projects/{project_id}/convertVisualizationObject

Request

  • Base URL
    https://secure.gooddata.com
  • Auth
    none declared

Path parameters

project_idstring required

ID of the project associated with the insight.

Request body

Example request

{
  "visualizationObject": {
    "meta": {
      "title": "Some title",
      "category": "metadataType",
      "tags": "tag1 tag2",
      "author": "/gdc/account/profile/p123",
      "created": "2020-01-08 15:44:23",
      "contributor": "/gdc/account/profile/p123",
      "updated": "2020-01-08 15:44:23",
      "identifier": "identifier123",
      "summary": "Object summary",
      "uri": "/gdc/uri/self"
    },
    "content": {
      "visualizationClass": {
        "uri": "/gdc/uri"
      },
      "buckets": [
        {
          "localIdentifier": "identifier123",
          "items": [
            {
              "visualizationAttribute": {
                "localIdentifier": "identifier123",
                "displayForm": {
                  "uri": "/gdc/uri"
                }
              }
            }
          ],
          "totals": {
            "measureIdentifier": "identifier123",
            "attributeIdentifier": "identifier123"
          }
        }
      ],
      "filters": [
        {
          "positiveAttributeFilter": {
            "displayForm": {
              "uri": "/gdc/uri"
            }
          }
        }
      ]
    }
  }
}

Response

_

uristring uri required

Example response

{
  "uri": "/gdc/uri"
}

Changes

No recorded changes to this operation across all 1 revision of this API.