openapi: 3.0.1 info: title: GoodData Cloud Dashboards Logical Data Model API description: REST API for GoodData Cloud, covering the Entity API (/api/v1/entities), the Declarative / Layout API (/api/v1/layout), and the Action API (/api/v1/actions). The API manages workspaces, data sources, the logical data model, metrics, visualizations, dashboards, AFM executions, users, and permissions. Authentication uses a Bearer API token in the Authorization header. termsOfService: https://www.gooddata.com/legal/ contact: name: GoodData Support url: https://support.gooddata.com version: '1.0' servers: - url: https://{domain}.gooddata.com description: GoodData Cloud organization host variables: domain: default: your-organization description: Your GoodData Cloud organization subdomain. security: - bearerAuth: [] tags: - name: Logical Data Model paths: /api/v1/layout/workspaces/{workspaceId}/logicalModel: parameters: - $ref: '#/components/parameters/WorkspaceId' get: operationId: getLogicalModel tags: - Logical Data Model summary: Get the declarative logical data model of a workspace. responses: '200': description: The workspace logical data model. put: operationId: setLogicalModel tags: - Logical Data Model summary: Set the declarative logical data model of a workspace. requestBody: required: true content: application/json: schema: type: object responses: '200': description: The updated logical data model. components: parameters: WorkspaceId: name: workspaceId in: path required: true description: The id of the workspace. schema: type: string securitySchemes: bearerAuth: type: http scheme: bearer description: 'GoodData Cloud API token passed as ''Authorization: Bearer ''.'