{
  "opencollection": "1.0.0",
  "info": {
    "name": "GoodData Cloud Dashboards Visualizations API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Visualizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all visualization objects (insights) in a workspace.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.gooddata.com/api/v1/entities/workspaces/:workspaceId/visualizationObjects",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "The id of the workspace."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "The number of objects to return. The default is 20."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The zero-based pagination index of the collection set to return."
              }
            ]
          },
          "docs": "List all visualization objects (insights) in a workspace."
        },
        {
          "info": {
            "name": "Create a visualization object (insight).",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.gooddata.com/api/v1/entities/workspaces/:workspaceId/visualizationObjects",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "The id of the workspace."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a visualization object (insight)."
        }
      ]
    }
  ],
  "bundled": true
}