{
  "schemaVersion": 1,
  "operation": {
    "operationId": "listDashboardPublications",
    "method": "GET",
    "path": "/api/v1/workspaces/{workspace}/dashboard-publications",
    "summary": "List dashboard publications in a workspace",
    "description": "",
    "tags": [
      "Publications"
    ],
    "effect": "read",
    "confirmation": "never",
    "authorization": {
      "mode": "privilege",
      "privilege": "MANAGE_PUBLICATIONS"
    },
    "parameters": [
      {
        "name": "workspace",
        "in": "path",
        "required": true,
        "description": "",
        "schema": {
          "type": "string"
        }
      }
    ],
    "responses": [
      {
        "status": "200",
        "description": "The request has succeeded.",
        "content": [
          {
            "contentType": "application/json",
            "schema": {
              "$ref": "#/components/schemas/DashboardPublicationListResponse"
            }
          }
        ]
      },
      {
        "status": "400",
        "description": "The server could not understand the request due to invalid syntax.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "401",
        "description": "Access is unauthorized.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "403",
        "description": "Access is forbidden.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "404",
        "description": "The server cannot find the requested resource.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "409",
        "description": "The request conflicts with the current state of the server.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "412",
        "description": "Precondition failed.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "413",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "415",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "422",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "429",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "500",
        "description": "Server error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "502",
        "description": "Server error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "503",
        "description": "Service unavailable.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      }
    ]
  },
  "schemas": {
    "DashboardPublicationListResponse": {
      "example": {
        "items": [
          {
            "activeServingStateId": "example",
            "allowedOrigins": [
              "example"
            ],
            "configured": true,
            "configuredAt": "2026-01-02T15:04:05Z",
            "createdAt": "2026-01-02T15:04:05Z",
            "dashboard": "example",
            "defaultPage": "example",
            "disabledAt": "2026-01-02T15:04:05Z",
            "embedUrl": "example",
            "iframeSnippet": "example",
            "name": "example",
            "projectId": "example",
            "publicUrl": "example",
            "rotatedAt": "2026-01-02T15:04:05Z",
            "status": "active",
            "suspendedAt": "2026-01-02T15:04:05Z",
            "suspendedBy": "example",
            "updatedAt": "2026-01-02T15:04:05Z",
            "workspaceId": "example"
          }
        ]
      },
      "properties": {
        "items": {
          "example": [
            {
              "activeServingStateId": "example",
              "allowedOrigins": [
                "example"
              ],
              "configured": true,
              "configuredAt": "2026-01-02T15:04:05Z",
              "createdAt": "2026-01-02T15:04:05Z",
              "dashboard": "example",
              "defaultPage": "example",
              "disabledAt": "2026-01-02T15:04:05Z",
              "embedUrl": "example",
              "iframeSnippet": "example",
              "name": "example",
              "projectId": "example",
              "publicUrl": "example",
              "rotatedAt": "2026-01-02T15:04:05Z",
              "status": "active",
              "suspendedAt": "2026-01-02T15:04:05Z",
              "suspendedBy": "example",
              "updatedAt": "2026-01-02T15:04:05Z",
              "workspaceId": "example"
            }
          ],
          "items": {
            "$ref": "#/components/schemas/DashboardPublicationResponse"
          },
          "type": "array"
        }
      },
      "required": [
        "items"
      ],
      "type": "object"
    },
    "DashboardPublicationResponse": {
      "example": {
        "activeServingStateId": "example",
        "allowedOrigins": [
          "example"
        ],
        "configured": true,
        "configuredAt": "2026-01-02T15:04:05Z",
        "createdAt": "2026-01-02T15:04:05Z",
        "dashboard": "example",
        "defaultPage": "example",
        "disabledAt": "2026-01-02T15:04:05Z",
        "embedUrl": "example",
        "iframeSnippet": "example",
        "name": "example",
        "projectId": "example",
        "publicUrl": "example",
        "rotatedAt": "2026-01-02T15:04:05Z",
        "status": "active",
        "suspendedAt": "2026-01-02T15:04:05Z",
        "suspendedBy": "example",
        "updatedAt": "2026-01-02T15:04:05Z",
        "workspaceId": "example"
      },
      "properties": {
        "activeServingStateId": {
          "example": "example",
          "type": "string"
        },
        "allowedOrigins": {
          "example": [
            "example"
          ],
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "configured": {
          "example": true,
          "type": "boolean"
        },
        "configuredAt": {
          "example": "2026-01-02T15:04:05Z",
          "format": "date-time",
          "type": "string"
        },
        "createdAt": {
          "example": "2026-01-02T15:04:05Z",
          "format": "date-time",
          "type": "string"
        },
        "dashboard": {
          "example": "example",
          "type": "string"
        },
        "defaultPage": {
          "example": "example",
          "type": "string"
        },
        "disabledAt": {
          "example": "2026-01-02T15:04:05Z",
          "format": "date-time",
          "type": "string"
        },
        "embedUrl": {
          "example": "example",
          "type": "string"
        },
        "iframeSnippet": {
          "example": "example",
          "type": "string"
        },
        "name": {
          "example": "example",
          "type": "string"
        },
        "projectId": {
          "example": "example",
          "type": "string"
        },
        "publicUrl": {
          "example": "example",
          "type": "string"
        },
        "rotatedAt": {
          "example": "2026-01-02T15:04:05Z",
          "format": "date-time",
          "type": "string"
        },
        "status": {
          "$ref": "#/components/schemas/DashboardPublicationStatus"
        },
        "suspendedAt": {
          "example": "2026-01-02T15:04:05Z",
          "format": "date-time",
          "type": "string"
        },
        "suspendedBy": {
          "example": "example",
          "type": "string"
        },
        "updatedAt": {
          "example": "2026-01-02T15:04:05Z",
          "format": "date-time",
          "type": "string"
        },
        "workspaceId": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "name",
        "workspaceId",
        "projectId",
        "dashboard",
        "defaultPage",
        "status",
        "configured",
        "allowedOrigins",
        "publicUrl",
        "embedUrl",
        "iframeSnippet",
        "createdAt",
        "updatedAt"
      ],
      "type": "object"
    },
    "DashboardPublicationStatus": {
      "enum": [
        "active",
        "suspended",
        "unconfigured"
      ],
      "example": "active",
      "type": "string"
    },
    "ProblemDetails": {
      "example": {
        "code": "example",
        "detail": "example",
        "errors": [
          {
            "code": "example",
            "detail": "example",
            "field": "example"
          }
        ],
        "instance": "example",
        "requestId": "example",
        "status": 1,
        "title": "example",
        "type": "example"
      },
      "properties": {
        "code": {
          "example": "example",
          "type": "string"
        },
        "detail": {
          "example": "example",
          "type": "string"
        },
        "errors": {
          "example": [
            {
              "code": "example",
              "detail": "example",
              "field": "example"
            }
          ],
          "items": {
            "$ref": "#/components/schemas/ProblemFieldError"
          },
          "type": "array"
        },
        "instance": {
          "example": "example",
          "type": "string"
        },
        "requestId": {
          "example": "example",
          "type": "string"
        },
        "status": {
          "example": 1,
          "format": "int32",
          "type": "integer"
        },
        "title": {
          "example": "example",
          "type": "string"
        },
        "type": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "type",
        "title",
        "status",
        "detail",
        "instance",
        "code",
        "requestId",
        "errors"
      ],
      "type": "object"
    },
    "ProblemFieldError": {
      "example": {
        "code": "example",
        "detail": "example",
        "field": "example"
      },
      "properties": {
        "code": {
          "example": "example",
          "type": "string"
        },
        "detail": {
          "example": "example",
          "type": "string"
        },
        "field": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "field",
        "code",
        "detail"
      ],
      "type": "object"
    }
  }
}
