The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Auto-update documentation for master (#69206)
github-automation-metabasec0ac8fdce68b
diff --git a/docs/api.json b/docs/api.jsonindex d6ef22dbd55..9add2603ee0 100644--- a/docs/api.json+++ b/docs/api.json@@ -1923,77 +1923,6 @@},"required" : [ "id", "type", "name", "display_name", "database_id", "database_engine", "fields" ]},- "metabase-enterprise.data-studio.api.table.bulk-table-info" : {- "description" : "Schema for table info in bulk operations. Matches frontend BulkTableInfo type.",- "type" : "object",- "properties" : {- "db_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "display_name" : {- "type" : "string"- },- "id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "is_published" : {- "type" : "boolean"- },- "name" : {- "type" : "string"- },- "schema" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }- },- "required" : [ "id", "db_id", "name", "display_name", "schema", "is_published" ]- },- "metabase-enterprise.data-studio.api.table.bulk-table-selection-info" : {- "description" : "Schema for /selection endpoint response. Matches frontend BulkTableSelectionInfo type.",- "type" : "object",- "properties" : {- "published_downstream_tables" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.bulk-table-info"- }- },- "selected_table" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.bulk-table-info"- }, {- "type" : "null"- } ]- },- "unpublished_upstream_tables" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.bulk-table-info"- }- }- },- "required" : [ "selected_table", "published_downstream_tables", "unpublished_upstream_tables" ]- },- "metabase-enterprise.data-studio.api.table.data-authorities" : {- "type" : "string",- "enum" : [ "computed", "authoritative", "unconfigured", "ingested" ]- },- "metabase-enterprise.data-studio.api.table.data-layers" : {- "type" : "string",- "enum" : [ "final", "internal", "hidden" ]- },- "metabase-enterprise.data-studio.api.table.data-sources" : {- "type" : "string",- "enum" : [ "source-data", "transform", "unknown", "ingested", "metabase-transform", "upload" ]- },"metabase-enterprise.data-studio.api.table.publish-tables-response" : {"description" : "Schema for /publish-tables endpoint response. Matches frontend PublishTablesResponse type.","type" : "object",@@ -2078,7 +2007,7 @@"bad_transforms" : {"type" : "array","items" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform"+ "$ref" : "#/components/schemas/metabase.transforms.schema.transform"}},"success" : {@@ -5247,10 +5176,10 @@"required" : [ "conversation_id" ]},"metabase-enterprise.metabot-v3.tools.transforms.transform-source" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.api.transform-source"+ "$ref" : "#/components/schemas/metabase.transforms.api.transform.transform-source"},"metabase-enterprise.metabot-v3.tools.transforms.transform-target" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.api.transform-target"+ "$ref" : "#/components/schemas/metabase.transforms.api.transform.transform-target"},"metabase-enterprise.permission-debug.impl.group-id" : {"type" : "integer"@@ -5461,210 +5390,6 @@"metabase-enterprise.support-access-grants.schema.timestamp" : {"anyOf" : [ { }, { } ]},- "metabase-enterprise.transforms.api.run-trigger" : {- "type" : "string",- "enum" : [ "none", "global-schedule" ]- },- "metabase-enterprise.transforms.api.transform-source" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-source"- },- "metabase-enterprise.transforms.api.transform-target" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-target"- },- "metabase-enterprise.transforms.schema.append-config" : {- "type" : "object",- "properties" : {- "type" : {- "const" : "append"- }- },- "required" : [ "type" ]- },- "metabase-enterprise.transforms.schema.checkpoint-strategy" : {- "type" : "object",- "properties" : {- "checkpoint-filter" : {- "type" : "string"- },- "checkpoint-filter-unique-key" : {- "$ref" : "#/components/schemas/metabase.lib.metadata.column.column-unique-key"- },- "type" : {- "const" : "checkpoint"- }- },- "required" : [ "type" ]- },- "metabase-enterprise.transforms.schema.id" : {- "type" : "integer",- "minimum" : 1- },- "metabase-enterprise.transforms.schema.source-incremental-strategy" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.checkpoint-strategy"- } ]- },- "metabase-enterprise.transforms.schema.source-table-ref" : {- "description" : "A reference to a source table by name, for cases where table_id may not exist yet.\n Also saves querying metadata in situations where we'll need the name.",- "type" : "object",- "properties" : {- "database_id" : {- "type" : "integer"- },- "schema" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "table" : {- "type" : "string"- },- "table_id" : {- "oneOf" : [ {- "type" : "integer"- }, {- "type" : "null"- } ]- }- },- "required" : [ "database_id", "table" ]- },- "metabase-enterprise.transforms.schema.source-table-value" : {- "description" : "Either a table ID (int) or a reference map.",- "anyOf" : [ {- "type" : "integer"- }, {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.source-table-ref"- } ]- },- "metabase-enterprise.transforms.schema.table-incremental-target" : {- "type" : "object",- "properties" : {- "database" : {- "type" : "integer"- },- "name" : {- "type" : "string"- },- "schema" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "target-incremental-strategy" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.target-incremental-strategy"- },- "type" : {- "const" : "table-incremental"- }- },- "required" : [ "type", "name", "target-incremental-strategy" ]- },- "metabase-enterprise.transforms.schema.table-target" : {- "type" : "object",- "properties" : {- "database" : {- "type" : "integer"- },- "name" : {- "type" : "string"- },- "schema" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "type" : {- "const" : "table"- }- },- "required" : [ "type", "name" ]- },- "metabase-enterprise.transforms.schema.target-incremental-strategy" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.append-config"- } ]- },- "metabase-enterprise.transforms.schema.transform" : {- "type" : "object",- "properties" : {- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.id"- },- "name" : {- "type" : "string"- },- "source" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-source"- },- "target" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-target"- }- },- "required" : [ "id", "name", "source", "target" ]- },- "metabase-enterprise.transforms.schema.transform-source" : {- "oneOf" : [ {- "type" : "object",- "properties" : {- "query" : {- "$ref" : "#/components/schemas/metabase.queries.schema.query"- },- "source-incremental-strategy" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.source-incremental-strategy"- },- "type" : {- "const" : "query"- }- },- "required" : [ "type", "query" ]- }, {- "type" : "object",- "properties" : {- "body" : {- "type" : "string"- },- "source-database" : {- "type" : "integer"- },- "source-incremental-strategy" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.source-incremental-strategy"- },- "source-tables" : {- "type" : "object",- "additionalProperties" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.source-table-value"- }- },- "type" : {- "const" : "python"- }- },- "required" : [ "source-tables", "type", "body" ]- } ]- },- "metabase-enterprise.transforms.schema.transform-target" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.table-target"- }, {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.table-incremental-target"- } ]- },"metabase-enterprise.workspaces.api.appdb-or-ref-id" : {"anyOf" : [ {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"@@ -7057,11 +6782,119 @@},"required" : [ "id", "email", "first_name", "last_name", "timestamp" ]},+ "metabase.data-studio.api.table.bulk-table-info" : {+ "description" : "Schema for table info in bulk operations. Matches frontend BulkTableInfo type.",+ "type" : "object",+ "properties" : {+ "db_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "display_name" : {+ "type" : "string"+ },+ "id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "is_published" : {+ "type" : "boolean"+ },+ "name" : {+ "type" : "string"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "db_id", "name", "display_name", "schema", "is_published" ]+ },+ "metabase.data-studio.api.table.bulk-table-selection-info" : {+ "description" : "Schema for /selection endpoint response. Matches frontend BulkTableSelectionInfo type.",+ "type" : "object",+ "properties" : {+ "published_downstream_tables" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-info"+ }+ },+ "selected_table" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-info"+ }, {+ "type" : "null"+ } ]+ },+ "unpublished_upstream_tables" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-info"+ }+ }+ },+ "required" : [ "selected_table", "published_downstream_tables", "unpublished_upstream_tables" ]+ },+ "metabase.data-studio.api.table.data-authorities" : {+ "type" : "string",+ "enum" : [ "computed", "authoritative", "unconfigured", "ingested" ]+ },+ "metabase.data-studio.api.table.data-layers" : {+ "type" : "string",+ "enum" : [ "final", "internal", "hidden" ]+ },+ "metabase.data-studio.api.table.data-sources" : {+ "type" : "string",+ "enum" : [ "source-data", "transform", "unknown", "ingested", "metabase-transform", "upload" ]+ },+ "metabase.data-studio.api.table.table-selectors" : {+ "type" : "object",+ "properties" : {+ "database_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "schema_ids" : {+ "type" : "array",+ "items" : {+ "type" : "string"+ }+ },+ "table_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ }+ }+ },"metabase.documents.schema..document.id" : {"description" : "Valid Document ID","type" : "integer","minimum" : 1},+ "metabase.documents.schema.document" : {+ "description" : "Schema for an instance of a `:model/Document`.",+ "type" : "object",+ "properties" : {+ "id" : {+ "$ref" : "#/components/schemas/metabase.documents.schema..document.id"+ }+ },+ "required" : [ "id" ]+ },"metabase.legacy-mbql.schema.!=" : {"description" : "schema for a valid MBQL 4 :!= clause","allOf" : [ ]@@ -13963,6 +13796,210 @@"type" : "string","enum" : [ "events" ]},+ "metabase.transforms.api.transform.run-trigger" : {+ "type" : "string",+ "enum" : [ "none", "global-schedule" ]+ },+ "metabase.transforms.api.transform.transform-source" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.transform-source"+ },+ "metabase.transforms.api.transform.transform-target" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.transform-target"+ },+ "metabase.transforms.schema.append-config" : {+ "type" : "object",+ "properties" : {+ "type" : {+ "const" : "append"+ }+ },+ "required" : [ "type" ]+ },+ "metabase.transforms.schema.checkpoint-strategy" : {+ "type" : "object",+ "properties" : {+ "checkpoint-filter" : {+ "type" : "string"+ },+ "checkpoint-filter-unique-key" : {+ "$ref" : "#/components/schemas/metabase.lib.metadata.column.column-unique-key"+ },+ "type" : {+ "const" : "checkpoint"+ }+ },+ "required" : [ "type" ]+ },+ "metabase.transforms.schema.id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "metabase.transforms.schema.source-incremental-strategy" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase.transforms.schema.checkpoint-strategy"+ } ]+ },+ "metabase.transforms.schema.source-table-ref" : {+ "description" : "A reference to a source table by name, for cases where table_id may not exist yet.\n Also saves querying metadata in situations where we'll need the name.",+ "type" : "object",+ "properties" : {+ "database_id" : {+ "type" : "integer"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "table" : {+ "type" : "string"+ },+ "table_id" : {+ "oneOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "database_id", "table" ]+ },+ "metabase.transforms.schema.source-table-value" : {+ "description" : "Either a table ID (int) or a reference map.",+ "anyOf" : [ {+ "type" : "integer"+ }, {+ "$ref" : "#/components/schemas/metabase.transforms.schema.source-table-ref"+ } ]+ },+ "metabase.transforms.schema.table-incremental-target" : {+ "type" : "object",+ "properties" : {+ "database" : {+ "type" : "integer"+ },+ "name" : {+ "type" : "string"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "target-incremental-strategy" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.target-incremental-strategy"+ },+ "type" : {+ "const" : "table-incremental"+ }+ },+ "required" : [ "type", "name", "target-incremental-strategy" ]+ },+ "metabase.transforms.schema.table-target" : {+ "type" : "object",+ "properties" : {+ "database" : {+ "type" : "integer"+ },+ "name" : {+ "type" : "string"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "type" : {+ "const" : "table"+ }+ },+ "required" : [ "type", "name" ]+ },+ "metabase.transforms.schema.target-incremental-strategy" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase.transforms.schema.append-config"+ } ]+ },+ "metabase.transforms.schema.transform" : {+ "type" : "object",+ "properties" : {+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.id"+ },+ "name" : {+ "type" : "string"+ },+ "source" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.transform-source"+ },+ "target" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.transform-target"+ }+ },+ "required" : [ "id", "name", "source", "target" ]+ },+ "metabase.transforms.schema.transform-source" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "query" : {+ "$ref" : "#/components/schemas/metabase.queries.schema.query"+ },+ "source-incremental-strategy" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"+ },+ "type" : {+ "const" : "query"+ }+ },+ "required" : [ "type", "query" ]+ }, {+ "type" : "object",+ "properties" : {+ "body" : {+ "type" : "string"+ },+ "source-database" : {+ "type" : "integer"+ },+ "source-incremental-strategy" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.source-incremental-strategy"+ },+ "source-tables" : {+ "type" : "object",+ "additionalProperties" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.source-table-value"+ }+ },+ "type" : {+ "const" : "python"+ }+ },+ "required" : [ "source-tables", "type", "body" ]+ } ]+ },+ "metabase.transforms.schema.transform-target" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase.transforms.schema.table-target"+ }, {+ "$ref" : "#/components/schemas/metabase.transforms.schema.table-incremental-target"+ } ]+ },"metabase.users-rest.api.user-group-membership" : {"description" : "Group Membership info of a User.\n In which :is_group_manager is only included if `advanced-permissions` is enabled.","type" : "object",@@ -20426,6 +20463,250 @@"tags" : [ "/api/dashboard" ]}},+ "/api/data-studio/table/discard-values" : {+ "post" : {+ "summary" : "POST /api/data-studio/table/discard-values",+ "description" : "Batch version of /table/:id/discard_values. Takes an abstract table selection as /table/edit does.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.table-selectors"+ }+ }+ }+ },+ "tags" : [ "/api/data-studio/table" ]+ }+ },+ "/api/data-studio/table/edit" : {+ "post" : {+ "summary" : "POST /api/data-studio/table/edit",+ "description" : "Bulk updating tables.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : { },+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "data_authority" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.data-authorities"+ }, {+ "type" : "null"+ } ]+ },+ "data_layer" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.data-layers"+ }, {+ "type" : "null"+ } ]+ },+ "table_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "owner_email" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "owner_user_id" : {+ "oneOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ },+ "data_source" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.data-sources"+ }, {+ "type" : "null"+ } ]+ },+ "schema_ids" : {+ "type" : "array",+ "items" : {+ "type" : "string"+ }+ },+ "entity_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "database_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ }+ },+ "additionalProperties" : false+ }+ }+ }+ },+ "tags" : [ "/api/data-studio/table" ]+ }+ },+ "/api/data-studio/table/rescan-values" : {+ "post" : {+ "summary" : "POST /api/data-studio/table/rescan-values",+ "description" : "Batch version of /table/:id/rescan_values. Takes an abstract table selection as /table/edit does.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.table-selectors"+ }+ }+ }+ },+ "tags" : [ "/api/data-studio/table" ]+ }+ },+ "/api/data-studio/table/selection" : {+ "post" : {+ "summary" : "POST /api/data-studio/table/selection",+ "description" : "Gets information about selected tables",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.bulk-table-selection-info"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.table-selectors"+ }+ }+ }+ },+ "tags" : [ "/api/data-studio/table" ]+ }+ },+ "/api/data-studio/table/sync-schema" : {+ "post" : {+ "summary" : "POST /api/data-studio/table/sync-schema",+ "description" : "Batch version of /table/:id/sync_schema. Takes an abstract table selection as /table/edit does.\n - Currently checks policy before returning (so you might receive a 4xx on e.g. AuthZ policy failure)\n - The sync itself is however, asynchronous. This call may return before all tables synced.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.data-studio.api.table.table-selectors"+ }+ }+ }+ },+ "tags" : [ "/api/data-studio/table" ]+ }+ },"/api/database/" : {"get" : {"summary" : "GET /api/database/",@@ -22746,6 +23027,78 @@"tags" : [ "/api/document" ]}},+ "/api/document/{from-document-id}/copy" : {+ "post" : {+ "summary" : "POST /api/document/{from-document-id}/copy",+ "description" : "Copy a Document.",+ "parameters" : [ {+ "in" : "path",+ "name" : "from-document-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.documents.schema.document"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "collection_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "collection_position" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/document" ]+ }+ },"/api/ee/action-v2/execute" : {"post" : {"summary" : "POST /api/ee/action-v2/execute",@@ -23673,145 +24026,6 @@"tags" : [ "/api/ee/content-translation" ]}},- "/api/ee/data-studio/table/discard-values" : {- "post" : {- "summary" : "POST /api/ee/data-studio/table/discard-values",- "description" : "Batch version of /table/:id/discard_values. Takes an abstract table selection as /table/edit does.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "null"- }- }- }- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.table-selectors"- }- }- }- },- "tags" : [ "/api/ee/data-studio/table" ]- }- },- "/api/ee/data-studio/table/edit" : {- "post" : {- "summary" : "POST /api/ee/data-studio/table/edit",- "description" : "Bulk updating tables.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : { },- "additionalProperties" : false- }- }- }- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "data_authority" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.data-authorities"- }, {- "type" : "null"- } ]- },- "data_layer" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.data-layers"- }, {- "type" : "null"- } ]- },- "table_ids" : {- "type" : "array",- "items" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }- },- "owner_email" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "owner_user_id" : {- "oneOf" : [ {- "type" : "integer"- }, {- "type" : "null"- } ]- },- "data_source" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.data-sources"- }, {- "type" : "null"- } ]- },- "schema_ids" : {- "type" : "array",- "items" : {- "type" : "string"- }- },- "entity_type" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "database_ids" : {- "type" : "array",- "items" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }- }- },- "additionalProperties" : false- }- }- }- },- "tags" : [ "/api/ee/data-studio/table" ]- }- },"/api/ee/data-studio/table/publish-tables" : {"post" : {"summary" : "POST /api/ee/data-studio/table/publish-tables",@@ -23847,111 +24061,6 @@"tags" : [ "/api/ee/data-studio/table" ]}},- "/api/ee/data-studio/table/rescan-values" : {- "post" : {- "summary" : "POST /api/ee/data-studio/table/rescan-values",- "description" : "Batch version of /table/:id/rescan_values. Takes an abstract table selection as /table/edit does.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "null"- }- }- }- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.table-selectors"- }- }- }- },- "tags" : [ "/api/ee/data-studio/table" ]- }- },- "/api/ee/data-studio/table/selection" : {- "post" : {- "summary" : "POST /api/ee/data-studio/table/selection",- "description" : "Gets information about selected tables",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.bulk-table-selection-info"- }- }- }- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.table-selectors"- }- }- }- },- "tags" : [ "/api/ee/data-studio/table" ]- }- },- "/api/ee/data-studio/table/sync-schema" : {- "post" : {- "summary" : "POST /api/ee/data-studio/table/sync-schema",- "description" : "Batch version of /table/:id/sync_schema. Takes an abstract table selection as /table/edit does.\n - Currently checks policy before returning (so you might receive a 4xx on e.g. AuthZ policy failure)\n - The sync itself is however, asynchronous. This call may return before all tables synced.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "null"- }- }- }- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.table-selectors"- }- }- }- },- "tags" : [ "/api/ee/data-studio/table" ]- }- },"/api/ee/data-studio/table/unpublish-tables" : {"post" : {"summary" : "POST /api/ee/data-studio/table/unpublish-tables",@@ -29462,122 +29571,17 @@"tags" : [ "/api/ee/tenant" ]}},- "/api/transform-job/" : {- "post" : {- "summary" : "POST /api/transform-job/",- "description" : "Create a new transform job.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "description" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string",- "minLength" : 1- },- "schedule" : {- "type" : "string",- "minLength" : 1- },- "tag_ids" : {- "type" : "array",- "items" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }- },- "ui_display_type" : {- "default" : "cron/raw",- "type" : "string",- "enum" : [ "cron/raw", "cron/builder" ]- }- },- "required" : [ "name", "schedule", "ui_display_type" ]- }- }- }- },- "tags" : [ "/api/transform-job" ]- },+ "/api/ee/transforms-python/library/{path}" : {"get" : {- "summary" : "GET /api/transform-job/",- "description" : "Get all transform jobs.",+ "summary" : "GET /api/ee/transforms-python/library/{path}",+ "description" : "Get the Python library for user modules.","parameters" : [ {- "in" : "query",- "name" : "last_run_start_time",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "next_run_start_time",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "last_run_statuses",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "type" : "string",- "enum" : [ "started", "succeeded", "failed", "timeout" ]- }- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "tag_ids",- "required" : false,+ "in" : "path",+ "name" : "path",+ "required" : true,"schema" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "description" : "value must be an integer greater or equal to than zero.",- "type" : "integer",- "minimum" : 0- }- }, {- "type" : "null"- } ]+ "type" : "string",+ "minLength" : 1}} ],"responses" : {@@ -29591,22 +29595,19 @@"description" : "Server error response"}},- "tags" : [ "/api/transform-job" ]- }- },- "/api/transform-job/{job-id}" : {+ "tags" : [ "/api/ee/transforms-python" ]+ },"put" : {- "summary" : "PUT /api/transform-job/{job-id}",- "description" : "Update a transform job.",+ "summary" : "PUT /api/ee/transforms-python/library/{path}",+ "description" : "Update the Python library source code for user modules.","parameters" : [ {"in" : "path",- "name" : "job-id",+ "name" : "path","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "type" : "string",+ "minLength" : 1+ }} ],"responses" : {"2XX" : {@@ -29625,57 +29626,71 @@"schema" : {"type" : "object","properties" : {- "description" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string",- "minLength" : 1- },- "schedule" : {- "type" : "string",- "minLength" : 1- },- "tag_ids" : {- "type" : "array",- "items" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }- },- "ui_display_type" : {- "type" : "string",- "enum" : [ "cron/raw", "cron/builder" ]+ "source" : {+ "type" : "string"}- }+ },+ "required" : [ "source" ],+ "additionalProperties" : false}}}},- "tags" : [ "/api/transform-job" ]- },- "delete" : {- "summary" : "DELETE /api/transform-job/{job-id}",- "description" : "Delete a transform job.",- "parameters" : [ {- "in" : "path",- "name" : "job-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "tags" : [ "/api/ee/transforms-python" ]+ }+ },+ "/api/ee/transforms-python/test-run" : {+ "post" : {+ "summary" : "POST /api/ee/transforms-python/test-run",+ "description" : "Evaluate an ad-hoc python transform on a sample of input data.\n Intended for short runs for early feedback. Input/output/timeout limits apply.",+ "parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "error" : {+ "type" : "object",+ "properties" : {+ "message" : {+ "anyOf" : [ { }, { } ]+ }+ },+ "required" : [ "message" ]+ },+ "logs" : {+ "type" : "string"+ },+ "output" : {+ "type" : "object",+ "properties" : {+ "cols" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "name" : {+ "type" : "string"+ }+ },+ "required" : [ "name" ]+ }+ },+ "rows" : {+ "type" : "array",+ "items" : { }+ }+ },+ "required" : [ "cols", "rows" ]+ }+ },+ "required" : [ "logs" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -29684,21 +29699,58 @@"description" : "Server error response"}},- "tags" : [ "/api/transform-job" ]- },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "code" : {+ "type" : "string"+ },+ "output_row_limit" : {+ "allOf" : [ {+ "type" : "integer"+ }, {+ "type" : "number",+ "exclusiveMinimum" : 1+ }, {+ "type" : "number",+ "maximum" : 100+ } ]+ },+ "per_input_row_limit" : {+ "allOf" : [ {+ "type" : "integer"+ }, {+ "type" : "number",+ "exclusiveMinimum" : 1+ }, {+ "type" : "number",+ "maximum" : 100+ } ]+ },+ "source_tables" : {+ "type" : "object",+ "additionalProperties" : {+ "type" : "integer"+ },+ "minProperties" : 1+ }+ },+ "required" : [ "code", "source_tables" ]+ }+ }+ }+ },+ "tags" : [ "/api/ee/transforms-python" ]+ }+ },+ "/api/ee/upload-management/tables" : {"get" : {- "summary" : "GET /api/transform-job/{job-id}",- "description" : "Get a transform job by ID.",- "parameters" : [ {- "in" : "path",- "name" : "job-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "summary" : "GET /api/ee/upload-management/tables",+ "description" : "Get all `Tables` visible to the current user which were created by uploading a file.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -29710,22 +29762,34 @@"description" : "Server error response"}},- "tags" : [ "/api/transform-job" ]+ "tags" : [ "/api/ee/upload-management" ]}},- "/api/transform-job/{job-id}/run" : {- "post" : {- "summary" : "POST /api/transform-job/{job-id}/run",- "description" : "Run a transform job manually.",+ "/api/ee/upload-management/tables/{id}" : {+ "delete" : {+ "summary" : "DELETE /api/ee/upload-management/tables/{id}",+ "description" : "Delete the uploaded table from the database, optionally archiving cards for which it is the primary source.","parameters" : [ {"in" : "path",- "name" : "job-id",+ "name" : "id","required" : true,"schema" : {"type" : "integer","minimum" : 1},"description" : "value must be an integer greater than zero."+ }, {+ "in" : "query",+ "name" : "archive-cards",+ "required" : false,+ "schema" : {+ "default" : false,+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ }} ],"responses" : {"2XX" : {@@ -29738,26 +29802,68 @@"description" : "Server error response"}},- "tags" : [ "/api/transform-job" ]+ "tags" : [ "/api/ee/upload-management" ]}},- "/api/transform-job/{job-id}/transforms" : {+ "/api/ee/workspace/" : {"get" : {- "summary" : "GET /api/transform-job/{job-id}/transforms",- "description" : "Get the transforms of job specified by the job's ID.",- "parameters" : [ {- "in" : "path",- "name" : "job-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "summary" : "GET /api/ee/workspace/",+ "description" : "Get a list of all workspaces",+ "parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "items" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "database_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "status" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ },+ "updated_at" : {+ "type" : "string",+ "format" : "date-time"+ }+ },+ "required" : [ "id", "database_id", "name", "status", "updated_at" ],+ "additionalProperties" : false+ }+ },+ "limit" : {+ "oneOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ },+ "offset" : {+ "oneOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "items", "limit", "offset" ],+ "additionalProperties" : false+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -29766,17 +29872,48 @@"description" : "Server error response"}},- "tags" : [ "/api/transform-job" ]- }- },- "/api/transform-tag/" : {+ "tags" : [ "/api/ee/workspace" ]+ },"post" : {- "summary" : "POST /api/transform-tag/",- "description" : "Create a new transform tag.",+ "summary" : "POST /api/ee/workspace/",+ "description" : "Create a new workspace\n\n Potential payload:\n {:name \"a\" :database_id 2}}","parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "collection_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "created_at" : {+ "type" : "string",+ "format" : "date-time"+ },+ "database_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "status" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ },+ "updated_at" : {+ "type" : "string",+ "format" : "date-time"+ }+ },+ "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -29791,43 +29928,28 @@"schema" : {"type" : "object","properties" : {+ "database_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },"name" : {"type" : "string","minLength" : 1}- },- "required" : [ "name" ]+ }}}}},- "tags" : [ "/api/transform-tag" ]- },- "get" : {- "summary" : "GET /api/transform-tag/",- "description" : "Get a list of all transform tags.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/transform-tag" ]+ "tags" : [ "/api/ee/workspace" ]}},- "/api/transform-tag/{tag-id}" : {- "put" : {- "summary" : "PUT /api/transform-tag/{tag-id}",- "description" : "Update a transform tag.",+ "/api/ee/workspace/checkout" : {+ "get" : {+ "summary" : "GET /api/ee/workspace/checkout",+ "description" : "Get checkout status for a global transform.\n\n Returns:\n - checkout_disabled: Why this transform cannot be checked out (nil if allowed)\n - workspaces: All workspaces for this transform's database, with checkout status\n - transforms: (DEPRECATED) Use :workspaces instead","parameters" : [ {- "in" : "path",- "name" : "tag-id",+ "in" : "query",+ "name" : "transform-id","required" : true,"schema" : {"type" : "integer",@@ -29837,40 +29959,171 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "name" : {- "type" : "string",- "minLength" : 1- }- },- "required" : [ "name" ]- }- }- }- },- "tags" : [ "/api/transform-tag" ]- },- "delete" : {- "summary" : "DELETE /api/transform-tag/{tag-id}",- "description" : "Delete a transform tag. Removes it from all transforms and jobs.",+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "checkout_disabled" : {+ "oneOf" : [ {+ "type" : "string",+ "enum" : [ "mbql", "card-reference", "unknown-type" ]+ }, {+ "type" : "null"+ } ]+ },+ "transforms" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ },+ "name" : {+ "type" : "string"+ },+ "workspace" : {+ "type" : "object",+ "properties" : {+ "id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "type" : "string"+ }+ },+ "required" : [ "id", "name" ]+ }+ },+ "required" : [ "id", "name", "workspace" ]+ }+ },+ "workspaces" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "existing" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "name" : {+ "type" : "string"+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ },+ "required" : [ "ref_id", "name" ]+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "status" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ }+ },+ "required" : [ "id", "name", "status", "existing" ]+ }+ }+ },+ "required" : [ "checkout_disabled", "workspaces", "transforms" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/ee/workspace" ]+ }+ },+ "/api/ee/workspace/database" : {+ "get" : {+ "summary" : "GET /api/ee/workspace/database",+ "description" : "Get a list supported databases, and whether they're enabled and have required permissions.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "databases" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "enabled" : {+ "type" : "boolean"+ },+ "id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "type" : "string"+ },+ "permissions_status" : {+ "type" : "object",+ "properties" : {+ "checked_at" : {+ "type" : "string"+ },+ "error" : {+ "type" : "string"+ },+ "status" : {+ "type" : "string"+ }+ },+ "required" : [ "status", "checked_at" ]+ }+ },+ "required" : [ "id", "name", "enabled" ]+ }+ }+ },+ "required" : [ "databases" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/ee/workspace" ]+ }+ },+ "/api/ee/workspace/enabled" : {+ "get" : {+ "summary" : "GET /api/ee/workspace/enabled",+ "description" : "Test whether the current user can use Workspaces. Optionally takes a specific database.\n Factors include: driver support, database user privileges, metabase permissions.","parameters" : [ {- "in" : "path",- "name" : "tag-id",- "required" : true,+ "in" : "query",+ "name" : "database-id",+ "required" : false,"schema" : {"type" : "integer","minimum" : 1@@ -29879,7 +30132,23 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "reason" : {+ "type" : "string"+ },+ "supported" : {+ "type" : "boolean"+ }+ },+ "required" : [ "supported" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -29888,73 +30157,59 @@"description" : "Server error response"}},- "tags" : [ "/api/transform-tag" ]+ "tags" : [ "/api/ee/workspace" ]}},- "/api/transform/" : {+ "/api/ee/workspace/{ws-id}" : {"get" : {- "summary" : "GET /api/transform/",- "description" : "Get a list of transforms.",+ "summary" : "GET /api/ee/workspace/{ws-id}",+ "description" : "Get a single workspace by ID","parameters" : [ {- "in" : "query",- "name" : "last_run_start_time",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "last_run_statuses",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "type" : "string",- "enum" : [ "started", "succeeded", "failed", "timeout" ]- }- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "tag_ids",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "description" : "value must be an integer greater or equal to than zero.",- "type" : "integer",- "minimum" : 0- }- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "database_id",- "required" : false,+ "in" : "path",+ "name" : "ws-id",+ "required" : true,"schema" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "collection_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "created_at" : {+ "type" : "string",+ "format" : "date-time"+ },+ "database_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "status" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ },+ "updated_at" : {+ "type" : "string",+ "format" : "date-time"+ }+ },+ "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -29963,15 +30218,57 @@"description" : "Server error response"}},- "tags" : [ "/api/transform" ]+ "tags" : [ "/api/ee/workspace" ]},- "post" : {- "summary" : "POST /api/transform/",- "description" : "Create a new transform.",- "parameters" : [ ],+ "put" : {+ "summary" : "PUT /api/ee/workspace/{ws-id}",+ "description" : "Update simple workspace properties.\n\n Can set database_id only on uninitialized workspaces.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "collection_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "created_at" : {+ "type" : "string",+ "format" : "date-time"+ },+ "database_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "status" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ },+ "updated_at" : {+ "type" : "string",+ "format" : "date-time"+ }+ },+ "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -29986,72 +30283,34 @@"schema" : {"type" : "object","properties" : {- "owner_email" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "owner_user_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]+ "database_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},"name" : {- "type" : "string"- },- "tag_ids" : {- "type" : "array",- "items" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }- },- "collection_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- },- "source" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-source"- },- "target" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-target"- },- "run_trigger" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.api.run-trigger"- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]+ "type" : "string",+ "minLength" : 1}},- "required" : [ "name", "source", "target" ]+ "additionalProperties" : false}}}},- "tags" : [ "/api/transform" ]- }- },- "/api/transform/extract-columns" : {- "post" : {- "summary" : "POST /api/transform/extract-columns",- "description" : "Extract column names suitable for incremental transform checkpoint filtering.\n\n This endpoint is specifically for populating the checkpoint column dropdown in\n incremental transforms. It only returns columns with types supported for checkpoint\n filtering: temporal (timestamp/tz) and numeric (int/float) types.\n\n Text, boolean, and other unsupported column types are filtered out.\n\n The query is compiled to native SQL using [[qp.compile/compile-with-inline-parameters]],\n which handles parameterized queries with template tags. Then extracts column names\n and types using PreparedStatement metadata.\n\n Returns a map with a :columns key containing a vector of column names (strings).\n If extraction fails, returns nil for :columns.",- "parameters" : [ ],+ "tags" : [ "/api/ee/workspace" ]+ },+ "delete" : {+ "summary" : "DELETE /api/ee/workspace/{ws-id}",+ "description" : "Delete a workspace and all its contents, including mirrored entities.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response",@@ -30060,18 +30319,11 @@"schema" : {"type" : "object","properties" : {- "columns" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "type" : "string"- }- }, {- "type" : "null"- } ]+ "ok" : {+ "const" : true}},- "required" : [ "columns" ]+ "required" : [ "ok" ]}}}@@ -30083,32 +30335,59 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "query" : {- "$ref" : "#/components/schemas/metabase.query-processor.schema.any-query"- }- },- "required" : [ "query" ]- }- }- }- },- "tags" : [ "/api/transform" ]+ "tags" : [ "/api/ee/workspace" ]}},- "/api/transform/is-simple-query" : {+ "/api/ee/workspace/{ws-id}/archive" : {"post" : {- "summary" : "POST /api/transform/is-simple-query",- "description" : "Checks if a native SQL query string is simple enough for automatic checkpoint insertion",- "parameters" : [ ],+ "summary" : "POST /api/ee/workspace/{ws-id}/archive",+ "description" : "Archive a workspace. Deletes the isolated schema and tables, but preserves mirrored entities.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "collection_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "created_at" : {+ "type" : "string",+ "format" : "date-time"+ },+ "database_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "status" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ },+ "updated_at" : {+ "type" : "string",+ "format" : "date-time"+ }+ },+ "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -30117,134 +30396,66 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "query" : {- "type" : "string"- }- },- "required" : [ "query" ]- }- }- }- },- "tags" : [ "/api/transform" ]+ "tags" : [ "/api/ee/workspace" ]}},- "/api/transform/run" : {+ "/api/ee/workspace/{ws-id}/external/transform" : {"get" : {- "summary" : "GET /api/transform/run",- "description" : "Get transform runs based on a set of filter params.",+ "summary" : "GET /api/ee/workspace/{ws-id}/external/transform",+ "description" : "Get transforms that are external to the workspace, i.e. no matching workspace_transform row exists.","parameters" : [ {- "in" : "query",- "name" : "sort_column",- "required" : false,- "schema" : {- "type" : "string",- "enum" : [ "transform-name", "start-time", "end-time", "status", "run-method", "transform-tags" ]- }- }, {- "in" : "query",- "name" : "sort_direction",- "required" : false,- "schema" : {- "type" : "string",- "enum" : [ "asc", "desc" ]- }- }, {- "in" : "query",- "name" : "transform_ids",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "description" : "value must be an integer greater or equal to than zero.",- "type" : "integer",- "minimum" : 0- }- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "statuses",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "type" : "string",- "enum" : [ "started", "succeeded", "failed", "timeout" ]- }- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "transform_tag_ids",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "description" : "value must be an integer greater or equal to than zero.",- "type" : "integer",- "minimum" : 0- }- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "start_time",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "end_time",- "required" : false,+ "in" : "path",+ "name" : "ws-id",+ "required" : true,"schema" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"}}, {"in" : "query",- "name" : "run_methods",+ "name" : "database-id","required" : false,"schema" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "type" : "string",- "enum" : [ "manual", "cron" ]- }- }, {- "type" : "null"- } ]+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"}} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "transforms" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "checkout_disabled" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "source_type" : {+ "type" : "string"+ }+ },+ "required" : [ "id", "name", "source_type", "checkout_disabled" ]+ }+ }+ },+ "required" : [ "transforms" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -30253,16 +30464,16 @@"description" : "Server error response"}},- "tags" : [ "/api/transform" ]+ "tags" : [ "/api/ee/workspace" ]}},- "/api/transform/{id}" : {+ "/api/ee/workspace/{ws-id}/graph" : {"get" : {- "summary" : "GET /api/transform/{id}",- "description" : "Get a specific transform.",+ "summary" : "GET /api/ee/workspace/{ws-id}/graph",+ "description" : "Display the dependency graph between the Changeset and the (potentially external) entities that they depend on.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "ws-id","required" : true,"schema" : {"type" : "integer",@@ -30272,7 +30483,29 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "edges" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.graph-edge"+ }+ },+ "nodes" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.graph-node"+ }+ }+ },+ "required" : [ "nodes", "edges" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -30281,14 +30514,16 @@"description" : "Server error response"}},- "tags" : [ "/api/transform" ]- },- "put" : {- "summary" : "PUT /api/transform/{id}",- "description" : "Update a transform.",+ "tags" : [ "/api/ee/workspace" ]+ }+ },+ "/api/ee/workspace/{ws-id}/log" : {+ "get" : {+ "summary" : "GET /api/ee/workspace/{ws-id}/log",+ "description" : "Get workspace creation status and recent log entries for polling during async setup","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "ws-id","required" : true,"schema" : {"type" : "integer",@@ -30298,96 +30533,70 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "owner_email" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "owner_user_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string"- },- "tag_ids" : {- "type" : "array",- "items" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "last_completed_at" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "logs" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "completed_at" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "description" : { },+ "id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "started_at" : { },+ "status" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "task" : {+ "type" : "string"+ },+ "updated_at" : { }+ },+ "required" : [ "id", "task", "description", "started_at", "updated_at", "completed_at", "status", "message" ]+ }+ },+ "status" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ },+ "updated_at" : { },+ "workspace_id" : {"description" : "value must be an integer greater than zero.","type" : "integer","minimum" : 1}},- "collection_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- },- "source" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-source"- },- "target" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-target"- },- "run_trigger" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.api.run-trigger"- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }+ "required" : [ "workspace_id", "status", "updated_at", "last_completed_at", "logs" ]}}}- }- },- "tags" : [ "/api/transform" ]- },- "delete" : {- "summary" : "DELETE /api/transform/{id}",- "description" : "Delete a transform.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -30396,26 +30605,102 @@"description" : "Server error response"}},- "tags" : [ "/api/transform" ]+ "tags" : [ "/api/ee/workspace" ]}},- "/api/transform/{id}/cancel" : {+ "/api/ee/workspace/{ws-id}/merge" : {"post" : {- "summary" : "POST /api/transform/{id}/cancel",- "description" : "Cancel the current run for a given transform.",+ "summary" : "POST /api/ee/workspace/{ws-id}/merge",+ "description" : "This will:\n 1. Update original transforms with workspace versions\n 2. Archive the workspace and clean up isolated resources\n Returns a report of merged entities, or error in errors key.\n\n Request body may include:\n - commit-message: A description of what changes are being merged (optional, will be required in future)","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "ws-id","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "anyOf" : [ {+ "type" : "object",+ "properties" : {+ "errors" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "op" : {+ "type" : "string",+ "enum" : [ "create", "delete", "update", "noop" ]+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ },+ "required" : [ "op", "ref_id" ]+ }+ },+ "merged" : {+ "type" : "object",+ "properties" : {+ "transforms" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "op" : {+ "type" : "string",+ "enum" : [ "create", "delete", "update", "noop" ]+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ },+ "required" : [ "op", "ref_id" ]+ }+ }+ },+ "required" : [ "transforms" ]+ },+ "workspace" : {+ "type" : "object",+ "properties" : {+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ }+ },+ "required" : [ "id", "name" ]+ }+ },+ "required" : [ "merged", "errors", "workspace" ]+ }, {+ "type" : "string"+ } ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -30424,16 +30709,31 @@"description" : "Server error response"}},- "tags" : [ "/api/transform" ]+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "commit-message" : {+ "type" : "string",+ "minLength" : 1+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/ee/workspace" ]}},- "/api/transform/{id}/dependencies" : {+ "/api/ee/workspace/{ws-id}/problem" : {"get" : {- "summary" : "GET /api/transform/{id}/dependencies",- "description" : "Get the dependencies of a specific transform.",+ "summary" : "GET /api/ee/workspace/{ws-id}/problem",+ "description" : "Detect problems in the workspace that would affect downstream transforms after merge.\n\n Returns a list of problems, each with:\n - category: the problem category (e.g. 'unused', 'internal-downstream', 'external-downstream')\n - problem: the specific problem (e.g. 'not-run', 'stale', 'removed-field')\n - severity: :error, :warning, or :info\n - block-merge: whether this problem prevents merging\n - data: extra information, shape depends on the problem type\n\n See `metabase-enterprise.workspaces.types/problem-types` for the full list.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "ws-id","required" : true,"schema" : {"type" : "integer",@@ -30443,7 +30743,17 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.problem"+ }+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -30452,22 +30762,20 @@"description" : "Server error response"}},- "tags" : [ "/api/transform" ]+ "tags" : [ "/api/ee/workspace" ]}},- "/api/transform/{id}/merge-history" : {- "get" : {- "summary" : "GET /api/ee/transform/{id}/merge-history",- "description" : "Get merge history for a transform. Returns all merge events that affected this transform,\n ordered by created_at descending (newest first).",+ "/api/ee/workspace/{ws-id}/run" : {+ "post" : {+ "summary" : "POST /api/ee/workspace/{ws-id}/run",+ "description" : "Execute all transforms in the workspace in dependency order.\n Returns which transforms succeeded, failed, and were not run.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "ws-id","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }} ],"responses" : {"2XX" : {@@ -30475,44 +30783,28 @@"content" : {"application/json" : {"schema" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "commit_message" : {- "type" : "string"- },- "created_at" : { },- "id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "merging_user_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "workspace_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- },- "workspace_merge_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "workspace_name" : {- "type" : "string"+ "type" : "object",+ "properties" : {+ "failed" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"}},- "required" : [ "id", "workspace_merge_id", "commit_message", "workspace_id", "workspace_name", "merging_user_id", "created_at" ]- }+ "not_run" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ },+ "succeeded" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ }+ },+ "required" : [ "succeeded", "failed", "not_run" ]}}}@@ -30524,44 +30816,34 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/transform" ]- }- },- "/api/transform/{id}/run" : {- "post" : {- "summary" : "POST /api/transform/{id}/run",- "description" : "Run a transform.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "stale_only" : {+ "anyOf" : [ {+ "const" : 1+ }, {+ "type" : "boolean"+ } ]+ }+ }+ }+ }}},- "tags" : [ "/api/transform" ]+ "tags" : [ "/api/ee/workspace" ]}},- "/api/transform/{id}/table" : {- "delete" : {- "summary" : "DELETE /api/transform/{id}/table",- "description" : "Delete a transform's output table.",+ "/api/ee/workspace/{ws-id}/table" : {+ "get" : {+ "summary" : "GET /api/ee/workspace/{ws-id}/table",+ "description" : "Get workspace tables","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "ws-id","required" : true,"schema" : {"type" : "integer",@@ -30571,7 +30853,30 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "inputs" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.input-table"+ }+ },+ "outputs" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.output-table"+ }+ }+ },+ "required" : [ "inputs", "outputs" ],+ "additionalProperties" : false+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -30580,82 +30885,21 @@"description" : "Server error response"}},- "tags" : [ "/api/transform" ]+ "tags" : [ "/api/ee/workspace" ]}},- "/api/ee/transforms-python/library/{path}" : {- "get" : {- "summary" : "GET /api/ee/transforms-python/library/{path}",- "description" : "Get the Python library for user modules.",- "parameters" : [ {- "in" : "path",- "name" : "path",- "required" : true,- "schema" : {- "type" : "string",- "minLength" : 1- }- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/ee/transforms-python" ]- },- "put" : {- "summary" : "PUT /api/ee/transforms-python/library/{path}",- "description" : "Update the Python library source code for user modules.",+ "/api/ee/workspace/{ws-id}/transform" : {+ "post" : {+ "summary" : "POST /api/ee/workspace/{ws-id}/transform",+ "description" : "Add another transform to the Changeset. This could be a fork of an existing global transform, or something new.","parameters" : [ {"in" : "path",- "name" : "path",+ "name" : "ws-id","required" : true,"schema" : {- "type" : "string",- "minLength" : 1+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"}} ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "source" : {- "type" : "string"- }- },- "required" : [ "source" ],- "additionalProperties" : false- }- }- }- },- "tags" : [ "/api/ee/transforms-python" ]- }- },- "/api/ee/transforms-python/test-run" : {- "post" : {- "summary" : "POST /api/ee/transforms-python/test-run",- "description" : "Evaluate an ad-hoc python transform on a sample of input data.\n Intended for short runs for early feedback. Input/output/timeout limits apply.",- "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response",@@ -30664,42 +30908,71 @@"schema" : {"type" : "object","properties" : {- "error" : {- "type" : "object",- "properties" : {- "message" : {- "anyOf" : [ { }, { } ]- }- },- "required" : [ "message" ]+ "last_run_at" : { },+ "target_stale" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]},- "logs" : {+ "name" : {"type" : "string"},- "output" : {+ "last_run_status" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "workspace_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "updated_at" : { },+ "archived_at" : { },+ "source" : {"type" : "object",- "properties" : {- "cols" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "name" : {- "type" : "string"- }- },- "required" : [ "name" ]- }- },- "rows" : {- "type" : "array",- "items" : { }- }- },- "required" : [ "cols", "rows" ]+ "properties" : { }+ },+ "last_run_message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target" : {+ "type" : "object",+ "properties" : { }+ },+ "created_at" : { },+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "creator_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]}},- "required" : [ "logs" ]+ "required" : [ "ref_id", "global_id", "name", "description", "source", "target", "target_stale", "workspace_id", "creator_id", "archived_at", "created_at", "updated_at", "last_run_at", "last_run_status", "last_run_message" ]}}}@@ -30717,111 +30990,38 @@"schema" : {"type" : "object","properties" : {- "code" : {- "type" : "string"- },- "output_row_limit" : {- "allOf" : [ {- "type" : "integer"- }, {- "type" : "number",- "exclusiveMinimum" : 1+ "description" : {+ "oneOf" : [ {+ "type" : "string"}, {- "type" : "number",- "maximum" : 100+ "type" : "null"} ]},- "per_input_row_limit" : {- "allOf" : [ {- "type" : "integer"- }, {- "type" : "number",- "exclusiveMinimum" : 1- }, {- "type" : "number",- "maximum" : 100- } ]+ "name" : {+ "type" : "string"},- "source_tables" : {- "type" : "object",- "additionalProperties" : {- "type" : "integer"- },- "minProperties" : 1+ "source" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.transform-source"}},- "required" : [ "code", "source_tables" ]+ "required" : [ "name", "source" ]}}}},- "tags" : [ "/api/ee/transforms-python" ]- }- },- "/api/ee/upload-management/tables" : {+ "tags" : [ "/api/ee/workspace" ]+ },"get" : {- "summary" : "GET /api/ee/upload-management/tables",- "description" : "Get all `Tables` visible to the current user which were created by uploading a file.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/ee/upload-management" ]- }- },- "/api/ee/upload-management/tables/{id}" : {- "delete" : {- "summary" : "DELETE /api/ee/upload-management/tables/{id}",- "description" : "Delete the uploaded table from the database, optionally archiving cards for which it is the primary source.",+ "summary" : "GET /api/ee/workspace/{ws-id}/transform",+ "description" : "Get all transforms in a workspace.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "ws-id","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "archive-cards",- "required" : false,- "schema" : {- "default" : false,- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"}} ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/ee/upload-management" ]- }- },- "/api/ee/workspace/" : {- "get" : {- "summary" : "GET /api/ee/workspace/",- "description" : "Get a list of all workspaces",- "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response",@@ -30830,49 +31030,45 @@"schema" : {"type" : "object","properties" : {- "items" : {+ "transforms" : {"type" : "array","items" : {"type" : "object","properties" : {- "database_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "creator_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]},- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]},"name" : {"type" : "string"},- "status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"},- "updated_at" : {- "type" : "string",- "format" : "date-time"+ "source_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]}},- "required" : [ "id", "database_id", "name", "status", "updated_at" ],+ "required" : [ "ref_id", "global_id", "name", "source_type", "creator_id" ],"additionalProperties" : false}- },- "limit" : {- "oneOf" : [ {- "type" : "integer"- }, {- "type" : "null"- } ]- },- "offset" : {- "oneOf" : [ {- "type" : "integer"- }, {- "type" : "null"- } ]}},- "required" : [ "items", "limit", "offset" ],- "additionalProperties" : false+ "required" : [ "transforms" ]}}}@@ -30885,11 +31081,27 @@}},"tags" : [ "/api/ee/workspace" ]- },+ }+ },+ "/api/ee/workspace/{ws-id}/transform/validate/target" : {"post" : {- "summary" : "POST /api/ee/workspace/",- "description" : "Create a new workspace\n\n Potential payload:\n {:name \"a\" :database_id 2}}",- "parameters" : [ ],+ "summary" : "POST /api/ee/workspace/{ws-id}/transform/validate/target",+ "description" : "Validate the target table for a workspace transform",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "query",+ "name" : "transform-id",+ "required" : false,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],"responses" : {"2XX" : {"description" : "Successful response",@@ -30898,31 +31110,18 @@"schema" : {"type" : "object","properties" : {- "collection_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "created_at" : {- "type" : "string",- "format" : "date-time"- },- "database_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "name" : {- "type" : "string"+ "body" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]},"status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"- },- "updated_at" : {- "type" : "string",- "format" : "date-time"+ "type" : "integer"}},- "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]+ "required" : [ "status", "body" ]}}}@@ -30940,14 +31139,33 @@"schema" : {"type" : "object","properties" : {- "database_id" : {+ "db_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},- "name" : {- "type" : "string",- "minLength" : 1+ "target" : {+ "type" : "object",+ "properties" : {+ "database" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "type" : {+ "type" : "string"+ }+ },+ "required" : [ "type", "schema", "name" ]}- }+ },+ "required" : [ "target" ]}}}@@ -30955,19 +31173,24 @@"tags" : [ "/api/ee/workspace" ]}},- "/api/ee/workspace/checkout" : {+ "/api/ee/workspace/{ws-id}/transform/{tx-id}" : {"get" : {- "summary" : "GET /api/ee/workspace/checkout",- "description" : "Get checkout status for a global transform.\n\n Returns:\n - checkout_disabled: Why this transform cannot be checked out (nil if allowed)\n - workspaces: All workspaces for this transform's database, with checkout status\n - transforms: (DEPRECATED) Use :workspaces instead",+ "summary" : "GET /api/ee/workspace/{ws-id}/transform/{tx-id}",+ "description" : "Get a specific transform in a workspace.","parameters" : [ {- "in" : "query",- "name" : "transform-id",+ "in" : "path",+ "name" : "ws-id","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }} ],"responses" : {"2XX" : {@@ -30977,79 +31200,71 @@"schema" : {"type" : "object","properties" : {- "checkout_disabled" : {+ "last_run_at" : { },+ "target_stale" : {"oneOf" : [ {- "type" : "string",- "enum" : [ "mbql", "card-reference", "unknown-type" ]+ "type" : "boolean"}, {"type" : "null"} ]},- "transforms" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- },- "name" : {- "type" : "string"- },- "workspace" : {- "type" : "object",- "properties" : {- "id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "name" : {- "type" : "string"- }- },- "required" : [ "id", "name" ]- }- },- "required" : [ "id", "name", "workspace" ]- }+ "name" : {+ "type" : "string"},- "workspaces" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "existing" : {- "oneOf" : [ {- "type" : "object",- "properties" : {- "name" : {- "type" : "string"- },- "ref_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }- },- "required" : [ "ref_id", "name" ]- }, {- "type" : "null"- } ]- },- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "name" : {- "type" : "string"- },- "status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"- }- },- "required" : [ "id", "name", "status", "existing" ]- }+ "last_run_status" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "workspace_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "updated_at" : { },+ "archived_at" : { },+ "source" : {+ "type" : "object",+ "properties" : { }+ },+ "last_run_message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target" : {+ "type" : "object",+ "properties" : { }+ },+ "created_at" : { },+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "creator_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]}},- "required" : [ "checkout_disabled", "workspaces", "transforms" ]+ "required" : [ "ref_id", "global_id", "name", "description", "source", "target", "target_stale", "workspace_id", "creator_id", "archived_at", "created_at", "updated_at", "last_run_at", "last_run_status", "last_run_message" ]}}}@@ -31062,13 +31277,25 @@}},"tags" : [ "/api/ee/workspace" ]- }- },- "/api/ee/workspace/database" : {- "get" : {- "summary" : "GET /api/ee/workspace/database",- "description" : "Get a list supported databases, and whether they're enabled and have required permissions.",- "parameters" : [ ],+ },+ "put" : {+ "summary" : "PUT /api/ee/workspace/{ws-id}/transform/{tx-id}",+ "description" : "Update a transform in a workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],"responses" : {"2XX" : {"description" : "Successful response",@@ -31077,43 +31304,136 @@"schema" : {"type" : "object","properties" : {- "databases" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "enabled" : {- "type" : "boolean"- },- "id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "name" : {- "type" : "string"- },- "permissions_status" : {- "type" : "object",- "properties" : {- "checked_at" : {- "type" : "string"- },- "error" : {- "type" : "string"- },- "status" : {- "type" : "string"- }- },- "required" : [ "status", "checked_at" ]- }- },- "required" : [ "id", "name", "enabled" ]- }+ "last_run_at" : { },+ "target_stale" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "last_run_status" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "workspace_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "updated_at" : { },+ "archived_at" : { },+ "source" : {+ "type" : "object",+ "properties" : { }+ },+ "last_run_message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target" : {+ "type" : "object",+ "properties" : { }+ },+ "created_at" : { },+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "creator_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]}},- "required" : [ "databases" ]+ "required" : [ "ref_id", "global_id", "name", "description", "source", "target", "target_stale", "workspace_id", "creator_id", "archived_at", "created_at", "updated_at", "last_run_at", "last_run_status", "last_run_message" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "source" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.transform-source"+ },+ "target" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.transform-target"+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/ee/workspace" ]+ },+ "delete" : {+ "summary" : "DELETE /api/ee/workspace/{ws-id}/transform/{tx-id}",+ "description" : "Discard a transform from the changeset.\n Equivalent to resetting a checked-out transform to its global definition, or deleting a provisional transform.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"}}}@@ -31128,19 +31448,24 @@"tags" : [ "/api/ee/workspace" ]}},- "/api/ee/workspace/enabled" : {- "get" : {- "summary" : "GET /api/ee/workspace/enabled",- "description" : "Test whether the current user can use Workspaces. Optionally takes a specific database.\n Factors include: driver support, database user privileges, metabase permissions.",+ "/api/ee/workspace/{ws-id}/transform/{tx-id}/archive" : {+ "post" : {+ "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/archive",+ "description" : "Mark the given transform to be archived when the workspace is merged.\n For provisional transforms we will skip even creating it in the first place.","parameters" : [ {- "in" : "query",- "name" : "database-id",- "required" : false,+ "in" : "path",+ "name" : "ws-id",+ "required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }} ],"responses" : {"2XX" : {@@ -31148,16 +31473,7 @@"content" : {"application/json" : {"schema" : {- "type" : "object",- "properties" : {- "reason" : {- "type" : "string"- },- "supported" : {- "type" : "boolean"- }- },- "required" : [ "supported" ]+ "type" : "null"}}}@@ -31172,19 +31488,24 @@"tags" : [ "/api/ee/workspace" ]}},- "/api/ee/workspace/{ws-id}" : {- "get" : {- "summary" : "GET /api/ee/workspace/{ws-id}",- "description" : "Get a single workspace by ID",+ "/api/ee/workspace/{ws-id}/transform/{tx-id}/dry-run" : {+ "post" : {+ "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/dry-run",+ "description" : "Dry-run a transform in a workspace without persisting to the target table.\n\n Returns the first 2000 rows of transform output for preview purposes.\n Does not update last_run_at or create any database tables.","parameters" : [ {"in" : "path","name" : "ws-id","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }} ],"responses" : {"2XX" : {@@ -31192,33 +31513,7 @@"content" : {"application/json" : {"schema" : {- "type" : "object",- "properties" : {- "collection_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "created_at" : {- "type" : "string",- "format" : "date-time"- },- "database_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "name" : {- "type" : "string"- },- "status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"- },- "updated_at" : {- "type" : "string",- "format" : "date-time"- }- },- "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.dry-run-result"}}}@@ -31231,19 +31526,26 @@}},"tags" : [ "/api/ee/workspace" ]- },- "put" : {- "summary" : "PUT /api/ee/workspace/{ws-id}",- "description" : "Update simple workspace properties.\n\n Can set database_id only on uninitialized workspaces.",+ }+ },+ "/api/ee/workspace/{ws-id}/transform/{tx-id}/merge" : {+ "post" : {+ "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/merge",+ "description" : "Merge single transform from workspace back to the core. If workspace transform is archived\n the corresponding core transform is deleted.\n\n Request body may include:\n - commit-message: A description of what changes are being merged (optional, will be required in future)","parameters" : [ {"in" : "path","name" : "ws-id","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }} ],"responses" : {"2XX" : {@@ -31253,31 +31555,25 @@"schema" : {"type" : "object","properties" : {- "collection_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "created_at" : {- "type" : "string",- "format" : "date-time"- },- "database_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]},- "name" : {+ "message" : {"type" : "string"},- "status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"- },- "updated_at" : {+ "op" : {"type" : "string",- "format" : "date-time"+ "enum" : [ "create", "delete", "update", "noop" ]+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"}},- "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]+ "required" : [ "op", "global_id", "ref_id" ]}}}@@ -31295,33 +31591,36 @@"schema" : {"type" : "object","properties" : {- "database_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "name" : {+ "commit-message" : {"type" : "string","minLength" : 1}- },- "additionalProperties" : false+ }}}}},"tags" : [ "/api/ee/workspace" ]- },- "delete" : {- "summary" : "DELETE /api/ee/workspace/{ws-id}",- "description" : "Delete a workspace and all its contents, including mirrored entities.",+ }+ },+ "/api/ee/workspace/{ws-id}/transform/{tx-id}/run" : {+ "post" : {+ "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/run",+ "description" : "Run a transform in a workspace.\n\n App DB changes are rolled back. Warehouse DB changes persist.","parameters" : [ {"in" : "path","name" : "ws-id","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }} ],"responses" : {"2XX" : {@@ -31329,13 +31628,7 @@"content" : {"application/json" : {"schema" : {- "type" : "object",- "properties" : {- "ok" : {- "const" : true- }- },- "required" : [ "ok" ]+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.execution-result"}}}@@ -31350,10 +31643,50 @@"tags" : [ "/api/ee/workspace" ]}},- "/api/ee/workspace/{ws-id}/archive" : {+ "/api/ee/workspace/{ws-id}/transform/{tx-id}/unarchive" : {"post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/archive",- "description" : "Archive a workspace. Deletes the isolated schema and tables, but preserves mirrored entities.",+ "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/unarchive",+ "description" : "Unmark the given transform for archival. This will recall the last definition it had within the workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/ee/workspace" ]+ }+ },+ "/api/ee/workspace/{ws-id}/unarchive" : {+ "post" : {+ "summary" : "POST /api/ee/workspace/{ws-id}/unarchive",+ "description" : "Restore an archived workspace. Recreates the isolated schema and tables.","parameters" : [ {"in" : "path","name" : "ws-id",@@ -31411,63 +31744,112 @@"tags" : [ "/api/ee/workspace" ]}},- "/api/ee/workspace/{ws-id}/external/transform" : {- "get" : {- "summary" : "GET /api/ee/workspace/{ws-id}/external/transform",- "description" : "Get transforms that are external to the workspace, i.e. no matching workspace_transform row exists.",- "parameters" : [ {- "in" : "path",- "name" : "ws-id",- "required" : true,- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "/api/eid-translation/translate" : {+ "post" : {+ "summary" : "POST /api/eid-translation/translate",+ "description" : "Translate entity IDs to model IDs.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"}- }, {- "in" : "query",- "name" : "database-id",- "required" : false,- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "entity_ids" : {+ "type" : "object",+ "properties" : { }+ }+ },+ "required" : [ "entity_ids" ]+ }+ }}- } ],+ },+ "tags" : [ "/api/eid-translation" ]+ }+ },+ "/api/email/" : {+ "put" : {+ "summary" : "PUT /api/email/",+ "description" : "Update multiple email Settings. You must be a superuser or have `setting` permission to do this.",+ "parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "transforms" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "checkout_disabled" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "name" : {- "type" : "string"- },- "source_type" : {- "type" : "string"- }- },- "required" : [ "id", "name", "source_type", "checkout_disabled" ]- }- }+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "email-smtp-host" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]},- "required" : [ "transforms" ]+ "email-smtp-password" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "email-smtp-port" : {+ "anyOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ },+ "email-smtp-security" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "email-smtp-username" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }}}}+ }+ },+ "tags" : [ "/api/email" ]+ },+ "delete" : {+ "summary" : "DELETE /api/email/",+ "description" : "Clear all email related settings. You must be a superuser or have `setting` permission to do this.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -31476,48 +31858,17 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/email" ]}},- "/api/ee/workspace/{ws-id}/graph" : {- "get" : {- "summary" : "GET /api/ee/workspace/{ws-id}/graph",- "description" : "Display the dependency graph between the Changeset and the (potentially external) entities that they depend on.",- "parameters" : [ {- "in" : "path",- "name" : "ws-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "/api/email/test" : {+ "post" : {+ "summary" : "POST /api/email/test",+ "description" : "Send a test email using the SMTP Settings. You must be a superuser or have `setting` permission to do this.\n Returns `{:ok true}` if we were able to send the message successfully, otherwise a standard 400 error response.",+ "parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "edges" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.graph-edge"- }- },- "nodes" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.graph-node"- }- }- },- "required" : [ "nodes", "edges" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -31526,89 +31877,24 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/email" ]}},- "/api/ee/workspace/{ws-id}/log" : {+ "/api/embed/card/{token}" : {"get" : {- "summary" : "GET /api/ee/workspace/{ws-id}/log",- "description" : "Get workspace creation status and recent log entries for polling during async setup",+ "summary" : "GET /api/embed/card/{token}",+ "description" : "Fetch a Card via a JSON Web Token signed with the `embedding-secret-key`.\n\n Token should have the following format:\n\n {:resource {:question <card-id>}}","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "type" : "string"+ }} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "last_completed_at" : {- "oneOf" : [ { }, {- "type" : "null"- } ]- },- "logs" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "completed_at" : {- "oneOf" : [ { }, {- "type" : "null"- } ]- },- "description" : { },- "id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "message" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "started_at" : { },- "status" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "task" : {- "type" : "string"- },- "updated_at" : { }- },- "required" : [ "id", "task", "description", "started_at", "updated_at", "completed_at", "status", "message" ]- }- },- "status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"- },- "updated_at" : { },- "workspace_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }- },- "required" : [ "workspace_id", "status", "updated_at", "last_completed_at", "logs" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -31617,102 +31903,39 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/merge" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/merge",- "description" : "This will:\n 1. Update original transforms with workspace versions\n 2. Archive the workspace and clean up isolated resources\n Returns a report of merged entities, or error in errors key.\n\n Request body may include:\n - commit-message: A description of what changes are being merged (optional, will be required in future)",+ "/api/embed/card/{token}/params/{param-key}/remapping" : {+ "get" : {+ "summary" : "GET /api/embed/card/{token}/params/{param-key}/remapping",+ "description" : "Embedded version of api.card filter values endpoint.","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"+ }+ }, {+ "in" : "path",+ "name" : "param-key",+ "required" : true,+ "schema" : {+ "type" : "string",+ "minLength" : 1+ }+ }, {+ "in" : "query",+ "name" : "value",+ "required" : true,+ "schema" : {+ "type" : "string"}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "anyOf" : [ {- "type" : "object",- "properties" : {- "errors" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "global_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "op" : {- "type" : "string",- "enum" : [ "create", "delete", "update", "noop" ]- },- "ref_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }- },- "required" : [ "op", "ref_id" ]- }- },- "merged" : {- "type" : "object",- "properties" : {- "transforms" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "global_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "op" : {- "type" : "string",- "enum" : [ "create", "delete", "update", "noop" ]- },- "ref_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }- },- "required" : [ "op", "ref_id" ]- }- }- },- "required" : [ "transforms" ]- },- "workspace" : {- "type" : "object",- "properties" : {- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "name" : {- "type" : "string"- }- },- "required" : [ "id", "name" ]- }- },- "required" : [ "merged", "errors", "workspace" ]- }, {- "type" : "string"- } ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -31721,51 +31944,40 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "commit-message" : {- "type" : "string",- "minLength" : 1- }- }- }- }- }- },- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/problem" : {+ "/api/embed/card/{token}/params/{param-key}/search/{prefix}" : {"get" : {- "summary" : "GET /api/ee/workspace/{ws-id}/problem",- "description" : "Detect problems in the workspace that would affect downstream transforms after merge.\n\n Returns a list of problems, each with:\n - category: the problem category (e.g. 'unused', 'internal-downstream', 'external-downstream')\n - problem: the specific problem (e.g. 'not-run', 'stale', 'removed-field')\n - severity: :error, :warning, or :info\n - block-merge: whether this problem prevents merging\n - data: extra information, shape depends on the problem type\n\n See `metabase-enterprise.workspaces.types/problem-types` for the full list.",+ "summary" : "GET /api/embed/card/{token}/params/{param-key}/search/{prefix}",+ "description" : "Embedded version of chain filter search endpoint.","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "type" : "string"+ }+ }, {+ "in" : "path",+ "name" : "param-key",+ "required" : true,+ "schema" : {+ "type" : "string",+ "minLength" : 1+ }+ }, {+ "in" : "path",+ "name" : "prefix",+ "required" : true,+ "schema" : {+ "type" : "string",+ "minLength" : 1+ }} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.problem"- }- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -31774,52 +31986,32 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/run" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/run",- "description" : "Execute all transforms in the workspace in dependency order.\n Returns which transforms succeeded, failed, and were not run.",+ "/api/embed/card/{token}/params/{param-key}/values" : {+ "get" : {+ "summary" : "GET /api/embed/card/{token}/params/{param-key}/values",+ "description" : "Embedded version of api.card filter values endpoint.","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"+ }+ }, {+ "in" : "path",+ "name" : "param-key",+ "required" : true,+ "schema" : {+ "type" : "string",+ "minLength" : 1}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "failed" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }- },- "not_run" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }- },- "succeeded" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }- }- },- "required" : [ "succeeded", "failed", "not_run" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -31828,67 +32020,24 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "stale_only" : {- "anyOf" : [ {- "const" : 1- }, {- "type" : "boolean"- } ]- }- }- }- }- }- },- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/table" : {+ "/api/embed/card/{token}/query" : {"get" : {- "summary" : "GET /api/ee/workspace/{ws-id}/table",- "description" : "Get workspace tables",+ "summary" : "GET /api/embed/card/{token}/query",+ "description" : "Fetch the results of running a Card using a JSON Web Token signed with the `embedding-secret-key`.\n\n Token should have the following format:\n\n {:resource {:question <card-id>}\n :params <parameters>}","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "type" : "string"+ }} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "inputs" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.input-table"- }- },- "outputs" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.output-table"- }- }- },- "required" : [ "inputs", "outputs" ],- "additionalProperties" : false- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -31897,97 +32046,47 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/transform" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/transform",- "description" : "Add another transform to the Changeset. This could be a fork of an existing global transform, or something new.",+ "/api/embed/card/{token}/query/{export-format}" : {+ "get" : {+ "summary" : "GET /api/embed/card/{token}/query/{export-format}",+ "description" : "Like `GET /api/embed/card/query`, but returns the results as a file in the specified format.","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"+ }+ }, {+ "in" : "path",+ "name" : "export-format",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase.query-processor.schema.export-format"+ }+ }, {+ "in" : "query",+ "name" : "format_rows",+ "required" : true,+ "schema" : {+ "default" : false,+ "type" : "boolean"+ }+ }, {+ "in" : "query",+ "name" : "pivot_results",+ "required" : true,+ "schema" : {+ "default" : false,+ "type" : "boolean"}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "last_run_at" : { },- "target_stale" : {- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string"- },- "last_run_status" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "workspace_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "updated_at" : { },- "archived_at" : { },- "source" : {- "type" : "object",- "properties" : { }- },- "last_run_message" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "target" : {- "type" : "object",- "properties" : { }- },- "created_at" : { },- "global_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "creator_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "ref_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }- },- "required" : [ "ref_id", "global_id", "name", "description", "source", "target", "target_stale", "workspace_id", "creator_id", "archived_at", "created_at", "updated_at", "last_run_at", "last_run_status", "last_run_message" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -31996,94 +32095,24 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string"- },- "source" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.transform-source"- }- },- "required" : [ "name", "source" ]- }- }- }- },- "tags" : [ "/api/ee/workspace" ]- },+ "tags" : [ "/api/embed" ]+ }+ },+ "/api/embed/dashboard/{token}" : {"get" : {- "summary" : "GET /api/ee/workspace/{ws-id}/transform",- "description" : "Get all transforms in a workspace.",+ "summary" : "GET /api/embed/dashboard/{token}",+ "description" : "Fetch a Dashboard via a JSON Web Token signed with the `embedding-secret-key`.\n\n Token should have the following format:\n\n {:resource {:dashboard <dashboard-id>}}","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "transforms" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "creator_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "global_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string"- },- "ref_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- },- "source_type" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }- },- "required" : [ "ref_id", "global_id", "name", "source_type", "creator_id" ],- "additionalProperties" : false- }- }- },- "required" : [ "transforms" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32092,51 +32121,42 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/transform/validate/target" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/transform/validate/target",- "description" : "Validate the target table for a workspace transform",+ "/api/embed/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}" : {+ "get" : {+ "summary" : "GET /api/embed/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}",+ "description" : "Fetch the results of running a Card belonging to a Dashboard using a JSON Web Token signed with the\n `embedding-secret-key`","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"}}, {- "in" : "query",- "name" : "transform-id",- "required" : false,+ "in" : "path",+ "name" : "dashcard-id",+ "required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "path",+ "name" : "card-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "body" : {- "anyOf" : [ {- "type" : "string"- }, {- "anyOf" : [ { }, { } ]- } ]- },- "status" : {- "type" : "integer"- }- },- "required" : [ "status", "body" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32145,245 +32165,65 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "db_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "target" : {- "type" : "object",- "properties" : {- "database" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "name" : {- "type" : "string"- },- "schema" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "type" : {- "type" : "string"- }- },- "required" : [ "type", "schema", "name" ]- }- },- "required" : [ "target" ]- }- }- }- },- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/transform/{tx-id}" : {+ "/api/embed/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}/{export-format}" : {"get" : {- "summary" : "GET /api/ee/workspace/{ws-id}/transform/{tx-id}",- "description" : "Get a specific transform in a workspace.",+ "summary" : "GET /api/embed/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}/{export-format}",+ "description" : "Fetch the results of running a Card belonging to a Dashboard using a JSON Web Token signed with the\n `embedding-secret-key` return the data in one of the export formats","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"}}, {"in" : "path",- "name" : "tx-id",+ "name" : "dashcard-id","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }- } ],- "responses" : {- "2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "last_run_at" : { },- "target_stale" : {- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string"- },- "last_run_status" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "workspace_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "updated_at" : { },- "archived_at" : { },- "source" : {- "type" : "object",- "properties" : { }- },- "last_run_message" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "target" : {- "type" : "object",- "properties" : { }- },- "created_at" : { },- "global_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "creator_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "ref_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }- },- "required" : [ "ref_id", "global_id", "name", "description", "source", "target", "target_stale", "workspace_id", "creator_id", "archived_at", "created_at", "updated_at", "last_run_at", "last_run_status", "last_run_message" ]- }- }- }+ "type" : "integer",+ "minimum" : 1},- "4XX" : {- "description" : "Client error response"+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "path",+ "name" : "card-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1},- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/ee/workspace" ]- },- "put" : {- "summary" : "PUT /api/ee/workspace/{ws-id}/transform/{tx-id}",- "description" : "Update a transform in a workspace.",- "parameters" : [ {+ "description" : "value must be an integer greater than zero."+ }, {"in" : "path",- "name" : "ws-id",+ "name" : "export-format","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "$ref" : "#/components/schemas/metabase.query-processor.schema.export-format"}}, {- "in" : "path",- "name" : "tx-id",+ "in" : "query",+ "name" : "format_rows","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ "default" : false,+ "type" : "boolean"+ }+ }, {+ "in" : "query",+ "name" : "pivot_results",+ "required" : true,+ "schema" : {+ "default" : false,+ "type" : "boolean"}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "last_run_at" : { },- "target_stale" : {- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string"- },- "last_run_status" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "workspace_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "updated_at" : { },- "archived_at" : { },- "source" : {- "type" : "object",- "properties" : { }- },- "last_run_message" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "target" : {- "type" : "object",- "properties" : { }- },- "created_at" : { },- "global_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "creator_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "ref_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }- },- "required" : [ "ref_id", "global_id", "name", "description", "source", "target", "target_stale", "workspace_id", "creator_id", "archived_at", "created_at", "updated_at", "last_run_at", "last_run_status", "last_run_message" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32392,63 +32232,32 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string"- },- "source" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.transform-source"- },- "target" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.transform-target"- }- }- }- }- }- },- "tags" : [ "/api/ee/workspace" ]- },- "delete" : {- "summary" : "DELETE /api/ee/workspace/{ws-id}/transform/{tx-id}",- "description" : "Discard a transform from the changeset.\n Equivalent to resetting a checked-out transform to its global definition, or deleting a provisional transform.",+ "tags" : [ "/api/embed" ]+ }+ },+ "/api/embed/dashboard/{token}/params/{param-key}/remapping" : {+ "get" : {+ "summary" : "GET /api/embed/dashboard/{token}/params/{param-key}/remapping",+ "description" : "Embedded version of the remapped dashboard param value endpoint.","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"}}, {"in" : "path",- "name" : "tx-id",+ "name" : "param-key","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ "type" : "string",+ "minLength" : 1}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "null"- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32457,38 +32266,40 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/transform/{tx-id}/archive" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/archive",- "description" : "Mark the given transform to be archived when the workspace is merged.\n For provisional transforms we will skip even creating it in the first place.",+ "/api/embed/dashboard/{token}/params/{param-key}/search/{prefix}" : {+ "get" : {+ "summary" : "GET /api/embed/dashboard/{token}/params/{param-key}/search/{prefix}",+ "description" : "Embedded version of chain filter search endpoint.","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"}}, {"in" : "path",- "name" : "tx-id",+ "name" : "param-key","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ "type" : "string",+ "minLength" : 1+ }+ }, {+ "in" : "path",+ "name" : "prefix",+ "required" : true,+ "schema" : {+ "type" : "string",+ "minLength" : 1}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "null"- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32497,38 +32308,32 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/transform/{tx-id}/dry-run" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/dry-run",- "description" : "Dry-run a transform in a workspace without persisting to the target table.\n\n Returns the first 2000 rows of transform output for preview purposes.\n Does not update last_run_at or create any database tables.",+ "/api/embed/dashboard/{token}/params/{param-key}/values" : {+ "get" : {+ "summary" : "GET /api/embed/dashboard/{token}/params/{param-key}/values",+ "description" : "Embedded version of chain filter values endpoint.","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"}}, {"in" : "path",- "name" : "tx-id",+ "name" : "param-key","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ "type" : "string",+ "minLength" : 1}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.dry-run-result"- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32537,58 +32342,24 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/transform/{tx-id}/merge" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/merge",- "description" : "Merge single transform from workspace back to the core. If workspace transform is archived\n the corresponding core transform is deleted.\n\n Request body may include:\n - commit-message: A description of what changes are being merged (optional, will be required in future)",+ "/api/embed/pivot/card/{token}/query" : {+ "get" : {+ "summary" : "GET /api/embed/pivot/card/{token}/query",+ "description" : "Fetch the results of running a Card using a JSON Web Token signed with the `embedding-secret-key`.\n\n Token should have the following format:\n\n {:resource {:question <card-id>}\n :params <parameters>}","parameters" : [ {"in" : "path",- "name" : "ws-id",- "required" : true,- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }- }, {- "in" : "path",- "name" : "tx-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ "type" : "string"}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "global_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "message" : {- "type" : "string"- },- "op" : {- "type" : "string",- "enum" : [ "create", "delete", "update", "noop" ]- },- "ref_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }- },- "required" : [ "op", "global_id", "ref_id" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32597,53 +32368,42 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "commit-message" : {- "type" : "string",- "minLength" : 1- }- }- }- }- }- },- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/transform/{tx-id}/run" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/run",- "description" : "Run a transform in a workspace.\n\n App DB changes are rolled back. Warehouse DB changes persist.",+ "/api/embed/pivot/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}" : {+ "get" : {+ "summary" : "GET /api/embed/pivot/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}",+ "description" : "Fetch the results of running a Card belonging to a Dashboard using a JSON Web Token signed with the\n `embedding-secret-key`","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"}}, {"in" : "path",- "name" : "tx-id",+ "name" : "dashcard-id","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "path",+ "name" : "card-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.execution-result"- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32652,38 +32412,70 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/transform/{tx-id}/unarchive" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/unarchive",- "description" : "Unmark the given transform for archival. This will recall the last definition it had within the workspace.",+ "/api/embed/tiles/card/{token}/{zoom}/{x}/{y}" : {+ "get" : {+ "summary" : "GET /api/embed/tiles/card/{token}/{zoom}/{x}/{y}",+ "description" : "Generates a single tile image for an embedded Card using the map visualization.","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ "type" : "string"}}, {"in" : "path",- "name" : "tx-id",+ "name" : "zoom","required" : true,"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ "type" : "integer"+ },+ "description" : "value must be an integer."+ }, {+ "in" : "path",+ "name" : "x",+ "required" : true,+ "schema" : {+ "type" : "integer"+ },+ "description" : "value must be an integer."+ }, {+ "in" : "path",+ "name" : "y",+ "required" : true,+ "schema" : {+ "type" : "integer"+ },+ "description" : "value must be an integer."+ }, {+ "in" : "query",+ "name" : "parameters",+ "required" : false,+ "schema" : {+ "type" : "string"+ },+ "description" : "value must be a valid JSON string."+ }, {+ "in" : "query",+ "name" : "latField",+ "required" : true,+ "schema" : {+ "type" : "string"+ }+ }, {+ "in" : "query",+ "name" : "lonField",+ "required" : true,+ "schema" : {+ "type" : "string"}} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "null"- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32692,59 +32484,88 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/ee/workspace/{ws-id}/unarchive" : {- "post" : {- "summary" : "POST /api/ee/workspace/{ws-id}/unarchive",- "description" : "Restore an archived workspace. Recreates the isolated schema and tables.",+ "/api/embed/tiles/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}/{zoom}/{x}/{y}" : {+ "get" : {+ "summary" : "GET /api/embed/tiles/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}/{zoom}/{x}/{y}",+ "description" : "Generates a single tile image for a Card on an embedded Dashboard using the map visualization.","parameters" : [ {"in" : "path",- "name" : "ws-id",+ "name" : "token",+ "required" : true,+ "schema" : {+ "type" : "string"+ }+ }, {+ "in" : "path",+ "name" : "dashcard-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "path",+ "name" : "card-id","required" : true,"schema" : {"type" : "integer","minimum" : 1},"description" : "value must be an integer greater than zero."+ }, {+ "in" : "path",+ "name" : "zoom",+ "required" : true,+ "schema" : {+ "type" : "integer"+ },+ "description" : "value must be an integer."+ }, {+ "in" : "path",+ "name" : "x",+ "required" : true,+ "schema" : {+ "type" : "integer"+ },+ "description" : "value must be an integer."+ }, {+ "in" : "path",+ "name" : "y",+ "required" : true,+ "schema" : {+ "type" : "integer"+ },+ "description" : "value must be an integer."+ }, {+ "in" : "query",+ "name" : "parameters",+ "required" : false,+ "schema" : {+ "type" : "string"+ },+ "description" : "value must be a valid JSON string."+ }, {+ "in" : "query",+ "name" : "latField",+ "required" : true,+ "schema" : {+ "type" : "string"+ }+ }, {+ "in" : "query",+ "name" : "lonField",+ "required" : true,+ "schema" : {+ "type" : "string"+ }} ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "collection_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "created_at" : {- "type" : "string",- "format" : "date-time"- },- "database_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "name" : {- "type" : "string"- },- "status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"- },- "updated_at" : {- "type" : "string",- "format" : "date-time"- }- },- "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -32753,14 +32574,31 @@"description" : "Server error response"}},- "tags" : [ "/api/ee/workspace" ]+ "tags" : [ "/api/embed" ]}},- "/api/eid-translation/translate" : {- "post" : {- "summary" : "POST /api/eid-translation/translate",- "description" : "Translate entity IDs to model IDs.",- "parameters" : [ ],+ "/api/field/{id}" : {+ "get" : {+ "summary" : "GET /api/field/{id}",+ "description" : "Get `Field` with ID.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "query",+ "name" : "include_editable_data_model",+ "required" : true,+ "schema" : {+ "default" : false,+ "type" : "boolean"+ }+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -32772,30 +32610,21 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "entity_ids" : {- "type" : "object",- "properties" : { }- }- },- "required" : [ "entity_ids" ]- }- }- }- },- "tags" : [ "/api/eid-translation" ]- }- },- "/api/email/" : {+ "tags" : [ "/api/field" ]+ },"put" : {- "summary" : "PUT /api/email/",- "description" : "Update multiple email Settings. You must be a superuser or have `setting` permission to do this.",- "parameters" : [ ],+ "summary" : "PUT /api/field/{id}",+ "description" : "Update `Field` with ID.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -32813,37 +32642,99 @@"schema" : {"type" : "object","properties" : {- "email-smtp-host" : {- "anyOf" : [ {- "type" : "string"+ "points_of_interest" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1}, {"type" : "null"} ]},- "email-smtp-password" : {- "anyOf" : [ {- "type" : "string"+ "settings" : {+ "oneOf" : [ {+ "description" : "Value must be a map.",+ "type" : "object",+ "properties" : { }}, {"type" : "null"} ]},- "email-smtp-port" : {- "anyOf" : [ {- "type" : "integer"+ "visibility_type" : {+ "oneOf" : [ {+ "type" : "string",+ "enum" : [ "retired", "sensitive", "normal", "hidden", "details-only" ]}, {"type" : "null"} ]},- "email-smtp-security" : {- "anyOf" : [ {- "type" : "string"+ "coercion_strategy" : {+ "oneOf" : [ {+ "description" : "value must be a valid coercion strategy (keyword or string)."}, {"type" : "null"} ]},- "email-smtp-username" : {- "anyOf" : [ {- "type" : "string"+ "json_unfolding" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "semantic_type" : {+ "oneOf" : [ {+ "description" : "value must be a valid field semantic or relation type (keyword or string)."+ }, {+ "type" : "null"+ } ]+ },+ "has_field_values" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"+ }, {+ "type" : "null"+ } ]+ },+ "display_name" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "nfc_path" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "type" : "string",+ "minLength" : 1+ }+ }, {+ "type" : "null"+ } ]+ },+ "caveats" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "fk_target_field_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1}, {"type" : "null"} ]@@ -32853,31 +32744,23 @@}}},- "tags" : [ "/api/email" ]- },- "delete" : {- "summary" : "DELETE /api/email/",- "description" : "Clear all email related settings. You must be a superuser or have `setting` permission to do this.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/email" ]+ "tags" : [ "/api/field" ]}},- "/api/email/test" : {+ "/api/field/{id}/dimension" : {"post" : {- "summary" : "POST /api/email/test",- "description" : "Send a test email using the SMTP Settings. You must be a superuser or have `setting` permission to do this.\n Returns `{:ok true}` if we were able to send the message successfully, otherwise a standard 400 error response.",- "parameters" : [ ],+ "summary" : "POST /api/field/{id}/dimension",+ "description" : "Sets the dimension for the given field at ID",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -32889,20 +32772,49 @@"description" : "Server error response"}},- "tags" : [ "/api/email" ]- }- },- "/api/embed/card/{token}" : {- "get" : {- "summary" : "GET /api/embed/card/{token}",- "description" : "Fetch a Card via a JSON Web Token signed with the `embedding-secret-key`.\n\n Token should have the following format:\n\n {:resource {:question <card-id>}}",+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "human_readable_field_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string",+ "minLength" : 1+ },+ "type" : {+ "type" : "string",+ "enum" : [ "internal", "external" ]+ }+ },+ "required" : [ "type", "name" ]+ }+ }+ }+ },+ "tags" : [ "/api/field" ]+ },+ "delete" : {+ "summary" : "DELETE /api/field/{id}/dimension",+ "description" : "Remove the dimension associated to field at ID","parameters" : [ {"in" : "path",- "name" : "token",+ "name" : "id","required" : true,"schema" : {- "type" : "string"- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -32915,35 +32827,22 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/field" ]}},- "/api/embed/card/{token}/params/{param-key}/remapping" : {- "get" : {- "summary" : "GET /api/embed/card/{token}/params/{param-key}/remapping",- "description" : "Embedded version of api.card filter values endpoint.",+ "/api/field/{id}/discard_values" : {+ "post" : {+ "summary" : "POST /api/field/{id}/discard_values",+ "description" : "Discard the FieldValues belonging to this Field. Only applies to fields that have FieldValues. If this Field's\n Database is set up to automatically sync FieldValues, they will be recreated during the next cycle.","parameters" : [ {"in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "param-key",- "required" : true,- "schema" : {- "type" : "string",- "minLength" : 1- }- }, {- "in" : "query",- "name" : "value",+ "name" : "id","required" : true,"schema" : {- "type" : "string"- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -32956,36 +32855,22 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/field" ]}},- "/api/embed/card/{token}/params/{param-key}/search/{prefix}" : {+ "/api/field/{id}/related" : {"get" : {- "summary" : "GET /api/embed/card/{token}/params/{param-key}/search/{prefix}",- "description" : "Embedded version of chain filter search endpoint.",+ "summary" : "GET /api/field/{id}/related",+ "description" : "Return related entities.","parameters" : [ {"in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "param-key",- "required" : true,- "schema" : {- "type" : "string",- "minLength" : 1- }- }, {- "in" : "path",- "name" : "prefix",+ "name" : "id","required" : true,"schema" : {- "type" : "string",- "minLength" : 1- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -32998,23 +32883,34 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/field" ]}},- "/api/embed/card/{token}/params/{param-key}/values" : {+ "/api/field/{id}/remapping/{remapped-id}" : {"get" : {- "summary" : "GET /api/embed/card/{token}/params/{param-key}/values",- "description" : "Embedded version of api.card filter values endpoint.",+ "summary" : "GET /api/field/{id}/remapping/{remapped-id}",+ "description" : "Fetch remapped Field values.","parameters" : [ {"in" : "path",- "name" : "token",+ "name" : "id","required" : true,"schema" : {- "type" : "string"- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."}, {"in" : "path",- "name" : "param-key",+ "name" : "remapped-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "query",+ "name" : "value","required" : true,"schema" : {"type" : "string",@@ -33032,20 +32928,22 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/field" ]}},- "/api/embed/card/{token}/query" : {- "get" : {- "summary" : "GET /api/embed/card/{token}/query",- "description" : "Fetch the results of running a Card using a JSON Web Token signed with the `embedding-secret-key`.\n\n Token should have the following format:\n\n {:resource {:question <card-id>}\n :params <parameters>}",+ "/api/field/{id}/rescan_values" : {+ "post" : {+ "summary" : "POST /api/field/{id}/rescan_values",+ "description" : "Manually trigger an update for the FieldValues for this Field. Only applies to Fields that are eligible for\n FieldValues.","parameters" : [ {"in" : "path",- "name" : "token",+ "name" : "id","required" : true,"schema" : {- "type" : "string"- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -33058,42 +32956,38 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/field" ]}},- "/api/embed/card/{token}/query/{export-format}" : {+ "/api/field/{id}/search/{search-id}" : {"get" : {- "summary" : "GET /api/embed/card/{token}/query/{export-format}",- "description" : "Like `GET /api/embed/card/query`, but returns the results as a file in the specified format.",+ "summary" : "GET /api/field/{id}/search/{search-id}",+ "description" : "Search for values of a Field with `search-id` that start with `value`. See docstring for\n [[metabase.parameters.field/search-values]] for a more detailed explanation.","parameters" : [ {"in" : "path",- "name" : "token",+ "name" : "id","required" : true,"schema" : {- "type" : "string"- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."}, {"in" : "path",- "name" : "export-format",- "required" : true,- "schema" : {- "$ref" : "#/components/schemas/metabase.query-processor.schema.export-format"- }- }, {- "in" : "query",- "name" : "format_rows",+ "name" : "search-id","required" : true,"schema" : {- "default" : false,- "type" : "boolean"- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."}, {"in" : "query",- "name" : "pivot_results",- "required" : true,+ "name" : "value",+ "required" : false,"schema" : {- "default" : false,- "type" : "boolean"+ "type" : "string",+ "minLength" : 1}} ],"responses" : {@@ -33107,20 +33001,22 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/field" ]}},- "/api/embed/dashboard/{token}" : {+ "/api/field/{id}/summary" : {"get" : {- "summary" : "GET /api/embed/dashboard/{token}",- "description" : "Fetch a Dashboard via a JSON Web Token signed with the `embedding-secret-key`.\n\n Token should have the following format:\n\n {:resource {:dashboard <dashboard-id>}}",+ "summary" : "GET /api/field/{id}/summary",+ "description" : "Get the count and distinct count of `Field` with ID.","parameters" : [ {"in" : "path",- "name" : "token",+ "name" : "id","required" : true,"schema" : {- "type" : "string"- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -33133,32 +33029,16 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/field" ]}},- "/api/embed/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}" : {+ "/api/field/{id}/values" : {"get" : {- "summary" : "GET /api/embed/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}",- "description" : "Fetch the results of running a Card belonging to a Dashboard using a JSON Web Token signed with the\n `embedding-secret-key`",+ "summary" : "GET /api/field/{id}/values",+ "description" : "If a Field's value of `has_field_values` is `:list`, return a list of all the distinct values of the Field (or\n remapped Field), and (if defined by a User) a map of human-readable remapped values. If `has_field_values` is not\n `:list`, checks whether we should create FieldValues for this Field; if so, creates and returns them.","parameters" : [ {"in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "dashcard-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "path",- "name" : "card-id",+ "name" : "id","required" : true,"schema" : {"type" : "integer",@@ -33177,60 +33057,73 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]- }- },- "/api/embed/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}/{export-format}" : {- "get" : {- "summary" : "GET /api/embed/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}/{export-format}",- "description" : "Fetch the results of running a Card belonging to a Dashboard using a JSON Web Token signed with the\n `embedding-secret-key` return the data in one of the export formats",+ "tags" : [ "/api/field" ]+ },+ "post" : {+ "summary" : "POST /api/field/{id}/values",+ "description" : "Update the fields values and human-readable values for a `Field` whose semantic type is\n `category`/`city`/`state`/`country` or whose base type is `type/Boolean`. The human-readable values are optional.","parameters" : [ {"in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "dashcard-id",+ "name" : "id","required" : true,"schema" : {"type" : "integer","minimum" : 1},"description" : "value must be an integer greater than zero."- }, {- "in" : "path",- "name" : "card-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"},- "description" : "value must be an integer greater than zero."- }, {- "in" : "path",- "name" : "export-format",- "required" : true,- "schema" : {- "$ref" : "#/components/schemas/metabase.query-processor.schema.export-format"+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"}- }, {- "in" : "query",- "name" : "format_rows",- "required" : true,- "schema" : {- "default" : false,- "type" : "boolean"+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "values" : {+ "type" : "array",+ "items" : {+ "anyOf" : [ {+ "type" : "array",+ "prefixItems" : [ { } ]+ }, {+ "type" : "array",+ "prefixItems" : [ { }, {+ "type" : "string",+ "minLength" : 1+ } ]+ } ]+ }+ }+ },+ "required" : [ "values" ]+ }+ }}- }, {+ },+ "tags" : [ "/api/field" ]+ }+ },+ "/api/geojson/" : {+ "get" : {+ "summary" : "GET /api/geojson/",+ "description" : "Load a custom GeoJSON file based on a URL or file path provided as a query parameter.\n This behaves similarly to /api/geojson/:key but doesn't require the custom map to be saved to the DB first.",+ "parameters" : [ {"in" : "query",- "name" : "pivot_results",+ "name" : "url","required" : true,"schema" : {- "default" : false,- "type" : "boolean"+ "type" : "string",+ "minLength" : 1}} ],"responses" : {@@ -33244,23 +33137,16 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/geojson" ]}},- "/api/embed/dashboard/{token}/params/{param-key}/remapping" : {+ "/api/geojson/{key}" : {"get" : {- "summary" : "GET /api/embed/dashboard/{token}/params/{param-key}/remapping",- "description" : "Embedded version of the remapped dashboard param value endpoint.",+ "summary" : "GET /api/geojson/{key}",+ "description" : "Fetch a custom GeoJSON file as defined in the [[metabase.geojson.settings/custom-geojson]] setting. (This just acts\n as a simple proxy for the file specified for `key`).","parameters" : [ {"in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "param-key",+ "name" : "key","required" : true,"schema" : {"type" : "string",@@ -33278,37 +33164,14 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/geojson" ]}},- "/api/embed/dashboard/{token}/params/{param-key}/search/{prefix}" : {+ "/api/glossary/" : {"get" : {- "summary" : "GET /api/embed/dashboard/{token}/params/{param-key}/search/{prefix}",- "description" : "Embedded version of chain filter search endpoint.",- "parameters" : [ {- "in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "param-key",- "required" : true,- "schema" : {- "type" : "string",- "minLength" : 1- }- }, {- "in" : "path",- "name" : "prefix",- "required" : true,- "schema" : {- "type" : "string",- "minLength" : 1- }- } ],+ "summary" : "GET /api/glossary/",+ "description" : "Fetch all glossary entries, optionally filtered by search term.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -33320,29 +33183,12 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]- }- },- "/api/embed/dashboard/{token}/params/{param-key}/values" : {- "get" : {- "summary" : "GET /api/embed/dashboard/{token}/params/{param-key}/values",- "description" : "Embedded version of chain filter values endpoint.",- "parameters" : [ {- "in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "param-key",- "required" : true,- "schema" : {- "type" : "string",- "minLength" : 1- }- } ],+ "tags" : [ "/api/glossary" ]+ },+ "post" : {+ "summary" : "POST /api/glossary/",+ "description" : "Create a new glossary entry.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -33354,58 +33200,36 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]- }- },- "/api/embed/pivot/card/{token}/query" : {- "get" : {- "summary" : "GET /api/embed/pivot/card/{token}/query",- "description" : "Fetch the results of running a Card using a JSON Web Token signed with the `embedding-secret-key`.\n\n Token should have the following format:\n\n {:resource {:question <card-id>}\n :params <parameters>}",- "parameters" : [ {- "in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "definition" : {+ "type" : "string",+ "minLength" : 1+ },+ "term" : {+ "type" : "string",+ "minLength" : 1+ }+ },+ "required" : [ "term", "definition" ]+ }+ }}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/glossary" ]}},- "/api/embed/pivot/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}" : {- "get" : {- "summary" : "GET /api/embed/pivot/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}",- "description" : "Fetch the results of running a Card belonging to a Dashboard using a JSON Web Token signed with the\n `embedding-secret-key`",+ "/api/glossary/{id}" : {+ "put" : {+ "summary" : "PUT /api/glossary/{id}",+ "description" : "Update an existing glossary entry.","parameters" : [ {"in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "dashcard-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "path",- "name" : "card-id",+ "name" : "id","required" : true,"schema" : {"type" : "integer",@@ -33424,156 +33248,40 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]- }- },- "/api/embed/tiles/card/{token}/{zoom}/{x}/{y}" : {- "get" : {- "summary" : "GET /api/embed/tiles/card/{token}/{zoom}/{x}/{y}",- "description" : "Generates a single tile image for an embedded Card using the map visualization.",- "parameters" : [ {- "in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "zoom",- "required" : true,- "schema" : {- "type" : "integer"- },- "description" : "value must be an integer."- }, {- "in" : "path",- "name" : "x",- "required" : true,- "schema" : {- "type" : "integer"- },- "description" : "value must be an integer."- }, {- "in" : "path",- "name" : "y",- "required" : true,- "schema" : {- "type" : "integer"- },- "description" : "value must be an integer."- }, {- "in" : "query",- "name" : "parameters",- "required" : false,- "schema" : {- "type" : "string"- },- "description" : "value must be a valid JSON string."- }, {- "in" : "query",- "name" : "latField",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "query",- "name" : "lonField",- "required" : true,- "schema" : {- "type" : "string"- }- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "definition" : {+ "type" : "string",+ "minLength" : 1+ },+ "term" : {+ "type" : "string",+ "minLength" : 1+ }+ },+ "required" : [ "term", "definition" ]+ }+ }}},- "tags" : [ "/api/embed" ]- }- },- "/api/embed/tiles/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}/{zoom}/{x}/{y}" : {- "get" : {- "summary" : "GET /api/embed/tiles/dashboard/{token}/dashcard/{dashcard-id}/card/{card-id}/{zoom}/{x}/{y}",- "description" : "Generates a single tile image for a Card on an embedded Dashboard using the map visualization.",+ "tags" : [ "/api/glossary" ]+ },+ "delete" : {+ "summary" : "DELETE /api/glossary/{id}",+ "description" : "Delete a glossary entry.","parameters" : [ {"in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "dashcard-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "path",- "name" : "card-id",+ "name" : "id","required" : true,"schema" : {"type" : "integer","minimum" : 1},"description" : "value must be an integer greater than zero."- }, {- "in" : "path",- "name" : "zoom",- "required" : true,- "schema" : {- "type" : "integer"- },- "description" : "value must be an integer."- }, {- "in" : "path",- "name" : "x",- "required" : true,- "schema" : {- "type" : "integer"- },- "description" : "value must be an integer."- }, {- "in" : "path",- "name" : "y",- "required" : true,- "schema" : {- "type" : "integer"- },- "description" : "value must be an integer."- }, {- "in" : "query",- "name" : "parameters",- "required" : false,- "schema" : {- "type" : "string"- },- "description" : "value must be a valid JSON string."- }, {- "in" : "query",- "name" : "latField",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "query",- "name" : "lonField",- "required" : true,- "schema" : {- "type" : "string"- }} ],"responses" : {"2XX" : {@@ -33586,57 +33294,14 @@"description" : "Server error response"}},- "tags" : [ "/api/embed" ]+ "tags" : [ "/api/glossary" ]}},- "/api/field/{id}" : {- "get" : {- "summary" : "GET /api/field/{id}",- "description" : "Get `Field` with ID.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "include_editable_data_model",- "required" : true,- "schema" : {- "default" : false,- "type" : "boolean"- }- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/field" ]- },+ "/api/google/settings" : {"put" : {- "summary" : "PUT /api/field/{id}",- "description" : "Update `Field` with ID.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "summary" : "PUT /api/google/settings",+ "description" : "Update Google Sign-In related settings. You must be a superuser to do this.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -33654,125 +33319,40 @@"schema" : {"type" : "object","properties" : {- "points_of_interest" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "settings" : {- "oneOf" : [ {- "description" : "Value must be a map.",- "type" : "object",- "properties" : { }- }, {- "type" : "null"- } ]- },- "visibility_type" : {+ "google-auth-auto-create-accounts-domain" : {"oneOf" : [ {- "type" : "string",- "enum" : [ "retired", "sensitive", "normal", "hidden", "details-only" ]+ "type" : "string"}, {"type" : "null"} ]},- "coercion_strategy" : {+ "google-auth-client-id" : {"oneOf" : [ {- "description" : "value must be a valid coercion strategy (keyword or string)."+ "type" : "string"}, {"type" : "null"} ]},- "json_unfolding" : {+ "google-auth-enabled" : {"oneOf" : [ {"type" : "boolean"}, {"type" : "null"} ]- },- "semantic_type" : {- "oneOf" : [ {- "description" : "value must be a valid field semantic or relation type (keyword or string)."- }, {- "type" : "null"- } ]- },- "has_field_values" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase.lib.schema.metadata..column.has-field-values"- }, {- "type" : "null"- } ]- },- "display_name" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "nfc_path" : {- "oneOf" : [ {- "type" : "array",- "items" : {- "type" : "string",- "minLength" : 1- }- }, {- "type" : "null"- } ]- },- "caveats" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "description" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "fk_target_field_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]}}}}}},- "tags" : [ "/api/field" ]+ "tags" : [ "/api/google" ]}},- "/api/field/{id}/dimension" : {- "post" : {- "summary" : "POST /api/field/{id}/dimension",- "description" : "Sets the dimension for the given field at ID",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "/api/ldap/settings" : {+ "put" : {+ "summary" : "PUT /api/ldap/settings",+ "description" : "Update LDAP related settings. You must be a superuser to do this.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -33790,47 +33370,147 @@"schema" : {"type" : "object","properties" : {- "human_readable_field_id" : {+ "ldap-enabled" : {"oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1+ "type" : "boolean"}, {"type" : "null"} ]},- "name" : {- "type" : "string",- "minLength" : 1+ "ldap-host" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]},- "type" : {- "type" : "string",- "enum" : [ "internal", "external" ]+ "ldap-password" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "ldap-port" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]}- },- "required" : [ "type", "name" ]+ }}}}},- "tags" : [ "/api/field" ]- },- "delete" : {- "summary" : "DELETE /api/field/{id}/dimension",- "description" : "Remove the dimension associated to field at ID",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "tags" : [ "/api/ldap" ]+ }+ },+ "/api/llm/extract-tables" : {+ "post" : {+ "summary" : "POST /api/llm/extract-tables",+ "description" : "Parse SQL and return referenced tables with their columns.\n\n Uses Macaw to parse the SQL, resolves table names to IDs,\n and returns permission-filtered tables with column metadata.\n\n This is a lightweight endpoint that does not trigger fingerprinting\n or field value fetching.",+ "parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "tables" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "columns" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "database_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "fk_target" : {+ "type" : "object",+ "properties" : {+ "field_name" : {+ "type" : "string"+ },+ "table_name" : {+ "type" : "string"+ }+ },+ "required" : [ "table_name", "field_name" ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "type" : "string"+ },+ "semantic_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name" ]+ }+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "display_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "type" : "string"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "columns" ]+ }+ }+ },+ "required" : [ "tables" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -33839,26 +33519,138 @@"description" : "Server error response"}},- "tags" : [ "/api/field" ]+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "database_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "sql" : {+ "type" : "string"+ }+ },+ "required" : [ "database_id", "sql" ]+ }+ }+ }+ },+ "tags" : [ "/api/llm" ]}},- "/api/field/{id}/discard_values" : {+ "/api/llm/generate-sql" : {"post" : {- "summary" : "POST /api/field/{id}/discard_values",- "description" : "Discard the FieldValues belonging to this Field. Only applies to fields that have FieldValues. If this Field's\n Database is set up to automatically sync FieldValues, they will be recreated during the next cycle.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "summary" : "POST /api/llm/generate-sql",+ "description" : "Generate SQL from a natural language prompt.\n\n Requires:\n - LLM to be configured (Anthropic API key set in admin settings)\n - At least one table reference (explicit @mention or implicit from source_sql)\n - A database_id parameter\n\n Returns generated SQL and the list of tables used for context.",+ "parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "referenced_entities" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "columns" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "database_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "fk_target" : {+ "type" : "object",+ "properties" : {+ "field_name" : {+ "type" : "string"+ },+ "table_name" : {+ "type" : "string"+ }+ },+ "required" : [ "table_name", "field_name" ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "type" : "string"+ },+ "semantic_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name" ]+ }+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "display_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "model" : {+ "type" : "string"+ },+ "name" : {+ "type" : "string"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "model", "id", "name", "columns" ]+ }+ },+ "sql" : {+ "type" : "string"+ }+ },+ "required" : [ "sql", "referenced_entities" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -33867,26 +33659,80 @@"description" : "Server error response"}},- "tags" : [ "/api/field" ]+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "database_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "prompt" : {+ "type" : "string"+ },+ "referenced_entities" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "model" : {+ "type" : "string"+ }+ },+ "required" : [ "model", "id" ]+ }+ },+ "source_sql" : {+ "type" : "string"+ }+ },+ "required" : [ "prompt", "database_id" ]+ }+ }+ }+ },+ "tags" : [ "/api/llm" ]}},- "/api/field/{id}/related" : {+ "/api/llm/list-models" : {"get" : {- "summary" : "GET /api/field/{id}/related",- "description" : "Return related entities.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "summary" : "GET /api/llm/list-models",+ "description" : "List available LLM models from the configured provider.\n\n Requires LLM to be configured (Anthropic API key set in admin settings).",+ "parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "models" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "display_name" : {+ "type" : "string"+ },+ "id" : {+ "type" : "string"+ }+ },+ "required" : [ "id", "display_name" ]+ }+ }+ },+ "required" : [ "models" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -33895,40 +33741,50 @@"description" : "Server error response"}},- "tags" : [ "/api/field" ]+ "tags" : [ "/api/llm" ]}},- "/api/field/{id}/remapping/{remapped-id}" : {- "get" : {- "summary" : "GET /api/field/{id}/remapping/{remapped-id}",- "description" : "Fetch remapped Field values.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1+ "/api/logger/adjustment" : {+ "post" : {+ "summary" : "POST /api/logger/adjustment",+ "description" : "Temporarily adjust the log levels.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"},- "description" : "value must be an integer greater than zero."- }, {- "in" : "path",- "name" : "remapped-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1+ "4XX" : {+ "description" : "Client error response"},- "description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "value",- "required" : true,- "schema" : {- "type" : "string",- "minLength" : 1+ "5XX" : {+ "description" : "Server error response"}- } ],+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "duration" : {+ "type" : "integer"+ },+ "duration_unit" : {+ "$ref" : "#/components/schemas/metabase.logger.api.time-unit"+ },+ "log_levels" : { }+ },+ "required" : [ "duration", "duration_unit", "log_levels" ]+ }+ }+ }+ },+ "tags" : [ "/api/logger" ]+ },+ "delete" : {+ "summary" : "DELETE /api/logger/adjustment",+ "description" : "Undo any log level adjustments.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -33940,23 +33796,14 @@"description" : "Server error response"}},- "tags" : [ "/api/field" ]+ "tags" : [ "/api/logger" ]}},- "/api/field/{id}/rescan_values" : {- "post" : {- "summary" : "POST /api/field/{id}/rescan_values",- "description" : "Manually trigger an update for the FieldValues for this Field. Only applies to Fields that are eligible for\n FieldValues.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "/api/logger/logs" : {+ "get" : {+ "summary" : "GET /api/logger/logs",+ "description" : "Logs.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -33968,43 +33815,51 @@"description" : "Server error response"}},- "tags" : [ "/api/field" ]+ "tags" : [ "/api/logger" ]}},- "/api/field/{id}/search/{search-id}" : {+ "/api/logger/presets" : {"get" : {- "summary" : "GET /api/field/{id}/search/{search-id}",- "description" : "Search for values of a Field with `search-id` that start with `value`. See docstring for\n [[metabase.parameters.field/search-values]] for a more detailed explanation.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "path",- "name" : "search-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "value",- "required" : false,- "schema" : {- "type" : "string",- "minLength" : 1- }- } ],+ "summary" : "GET /api/logger/presets",+ "description" : "Get all known presets.",+ "parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "display_name" : {+ "type" : "string"+ },+ "id" : {+ "type" : "string"+ },+ "loggers" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "level" : {+ "$ref" : "#/components/schemas/metabase.logger.api.log-level"+ },+ "name" : {+ "type" : "string"+ }+ },+ "required" : [ "name", "level" ]+ }+ }+ },+ "required" : [ "id", "display_name", "loggers" ]+ }+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -34013,23 +33868,14 @@"description" : "Server error response"}},- "tags" : [ "/api/field" ]+ "tags" : [ "/api/logger" ]}},- "/api/field/{id}/summary" : {+ "/api/login-history/current" : {"get" : {- "summary" : "GET /api/field/{id}/summary",- "description" : "Get the count and distinct count of `Field` with ID.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "summary" : "GET /api/login-history/current",+ "description" : "Fetch recent logins for the current user.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -34041,16 +33887,102 @@"description" : "Server error response"}},- "tags" : [ "/api/field" ]+ "tags" : [ "/api/login-history" ]}},- "/api/field/{id}/values" : {- "get" : {- "summary" : "GET /api/field/{id}/values",- "description" : "If a Field's value of `has_field_values` is `:list`, return a list of all the distinct values of the Field (or\n remapped Field), and (if defined by a User) a map of human-readable remapped values. If `has_field_values` is not\n `:list`, checks whether we should create FieldValues for this Field; if so, creates and returns them.",- "parameters" : [ {- "in" : "path",- "name" : "id",+ "/api/measure/" : {+ "post" : {+ "summary" : "POST /api/measure/",+ "description" : "Create a new `Measure`.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.measures.api.measure"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "definition" : {+ "description" : "Value must be a map.",+ "type" : "object",+ "properties" : { }+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string",+ "minLength" : 1+ },+ "table_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "required" : [ "name", "table_id", "definition" ]+ }+ }+ }+ },+ "tags" : [ "/api/measure" ]+ },+ "get" : {+ "summary" : "GET /api/measure/",+ "description" : "Fetch *all* `Measures`.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase.measures.api.measure"+ }+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/measure" ]+ }+ },+ "/api/measure/{id}" : {+ "get" : {+ "summary" : "GET /api/measure/{id}",+ "description" : "Fetch `Measure` with ID.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id","required" : true,"schema" : {"type" : "integer",@@ -34060,7 +33992,14 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.measures.api.measure"+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -34069,11 +34008,11 @@"description" : "Server error response"}},- "tags" : [ "/api/field" ]+ "tags" : [ "/api/measure" ]},- "post" : {- "summary" : "POST /api/field/{id}/values",- "description" : "Update the fields values and human-readable values for a `Field` whose semantic type is\n `category`/`city`/`state`/`country` or whose base type is `type/Boolean`. The human-readable values are optional.",+ "put" : {+ "summary" : "PUT /api/measure/{id}",+ "description" : "Update a `Measure` with ID.","parameters" : [ {"in" : "path","name" : "id",@@ -34086,7 +34025,14 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.measures.api.measure"+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -34101,42 +34047,98 @@"schema" : {"type" : "object","properties" : {- "values" : {- "type" : "array",- "items" : {- "anyOf" : [ {- "type" : "array",- "prefixItems" : [ { } ]- }, {- "type" : "array",- "prefixItems" : [ { }, {- "type" : "string",- "minLength" : 1- } ]- } ]- }+ "archived" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "definition" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : { }+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "revision_message" : {+ "type" : "string",+ "minLength" : 1}},- "required" : [ "values" ]+ "required" : [ "revision_message" ]}}}},- "tags" : [ "/api/field" ]+ "tags" : [ "/api/measure" ]}},- "/api/geojson/" : {+ "/api/model-index/" : {+ "post" : {+ "summary" : "POST /api/model-index/",+ "description" : "Create ModelIndex.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "model_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "pk_ref" : { },+ "value_ref" : { }+ },+ "required" : [ "model_id", "pk_ref", "value_ref" ]+ }+ }+ }+ },+ "tags" : [ "/api/model-index" ]+ },"get" : {- "summary" : "GET /api/geojson/",- "description" : "Load a custom GeoJSON file based on a URL or file path provided as a query parameter.\n This behaves similarly to /api/geojson/:key but doesn't require the custom map to be saved to the DB first.",+ "summary" : "GET /api/model-index/",+ "description" : "Retrieve list of ModelIndex.","parameters" : [ {"in" : "query",- "name" : "url",+ "name" : "model_id","required" : true,"schema" : {- "type" : "string",- "minLength" : 1- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -34149,21 +34151,48 @@"description" : "Server error response"}},- "tags" : [ "/api/geojson" ]+ "tags" : [ "/api/model-index" ]}},- "/api/geojson/{key}" : {+ "/api/model-index/{id}" : {"get" : {- "summary" : "GET /api/geojson/{key}",- "description" : "Fetch a custom GeoJSON file as defined in the [[metabase.geojson.settings/custom-geojson]] setting. (This just acts\n as a simple proxy for the file specified for `key`).",+ "summary" : "GET /api/model-index/{id}",+ "description" : "Retrieve ModelIndex.","parameters" : [ {"in" : "path",- "name" : "key",+ "name" : "id","required" : true,"schema" : {- "type" : "string",- "minLength" : 1+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"}+ },+ "tags" : [ "/api/model-index" ]+ },+ "delete" : {+ "summary" : "DELETE /api/model-index/{id}",+ "description" : "Delete ModelIndex.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -34176,13 +34205,13 @@"description" : "Server error response"}},- "tags" : [ "/api/geojson" ]+ "tags" : [ "/api/model-index" ]}},- "/api/glossary/" : {- "get" : {- "summary" : "GET /api/glossary/",- "description" : "Fetch all glossary entries, optionally filtered by search term.",+ "/api/moderation-review/" : {+ "post" : {+ "summary" : "POST /api/moderation-review/",+ "description" : "Create a new `ModerationReview`.","parameters" : [ ],"responses" : {"2XX" : {@@ -34195,11 +34224,95 @@"description" : "Server error response"}},- "tags" : [ "/api/glossary" ]+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "moderated_item_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "moderated_item_type" : {+ "enum" : [ "card", "card", "dashboard", "dashboard" ]+ },+ "status" : {+ "oneOf" : [ {+ "oneOf" : [ {+ "type" : "string",+ "enum" : [ "verified" ]+ }, {+ "type" : "null"+ } ]+ }, {+ "type" : "null"+ } ]+ },+ "text" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "moderated_item_id", "moderated_item_type" ]+ }+ }+ }+ },+ "tags" : [ "/api/moderation-review" ]+ }+ },+ "/api/mt/gtap/" : {+ "get" : {+ "summary" : "GET /api/mt/gtap/",+ "description" : "Fetch a list of all GTAPs currently in use, or a single GTAP if both `group_id` and `table_id` are provided.",+ "parameters" : [ {+ "in" : "query",+ "name" : "group_id",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "table_id",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/mt/gtap" ]},"post" : {- "summary" : "POST /api/glossary/",- "description" : "Create a new glossary entry.",+ "summary" : "POST /api/mt/gtap/",+ "description" : "Create a new GTAP.","parameters" : [ ],"responses" : {"2XX" : {@@ -34218,37 +34331,42 @@"schema" : {"type" : "object","properties" : {- "definition" : {- "type" : "string",- "minLength" : 1+ "attribute_remappings" : {+ "$ref" : "#/components/schemas/metabase-enterprise.sandbox.schema.attribute-remappings"},- "term" : {- "type" : "string",- "minLength" : 1+ "card_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "group_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "table_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1}},- "required" : [ "term", "definition" ]+ "required" : [ "table_id", "group_id" ]}}}},- "tags" : [ "/api/glossary" ]+ "tags" : [ "/api/mt/gtap" ]}},- "/api/glossary/{id}" : {- "put" : {- "summary" : "PUT /api/glossary/{id}",- "description" : "Update an existing glossary entry.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "/api/mt/gtap/validate" : {+ "post" : {+ "summary" : "POST /api/mt/gtap/validate",+ "description" : "Validate a sandbox which may not have yet been saved. This runs the same validation that is performed when the\n sandbox is saved, but doesn't actually save the sandbox.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -34266,25 +34384,33 @@"schema" : {"type" : "object","properties" : {- "definition" : {- "type" : "string",- "minLength" : 1+ "card_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]},- "term" : {- "type" : "string",- "minLength" : 1+ "table_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1}},- "required" : [ "term", "definition" ]+ "required" : [ "table_id" ]}}}},- "tags" : [ "/api/glossary" ]- },- "delete" : {- "summary" : "DELETE /api/glossary/{id}",- "description" : "Delete a glossary entry.",+ "tags" : [ "/api/mt/gtap" ]+ }+ },+ "/api/mt/gtap/{id}" : {+ "get" : {+ "summary" : "GET /api/mt/gtap/{id}",+ "description" : "Fetch GTAP by `id`","parameters" : [ {"in" : "path","name" : "id",@@ -34306,14 +34432,21 @@"description" : "Server error response"}},- "tags" : [ "/api/glossary" ]- }- },- "/api/google/settings" : {+ "tags" : [ "/api/mt/gtap" ]+ },"put" : {- "summary" : "PUT /api/google/settings",- "description" : "Update Google Sign-In related settings. You must be a superuser to do this.",- "parameters" : [ ],+ "summary" : "PUT /api/mt/gtap/{id}",+ "description" : "Update a GTAP entry. The only things you're allowed to update for a GTAP are the Card being used (`card_id`) or the\n parameter mappings; changing `table_id` or `group_id` would effectively be deleting this entry and creating a new\n one. If that's what you want to do, do so explicitly with appropriate calls to the `DELETE` and `POST` endpoints.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -34331,23 +34464,14 @@"schema" : {"type" : "object","properties" : {- "google-auth-auto-create-accounts-domain" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "google-auth-client-id" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]+ "attribute_remappings" : {+ "$ref" : "#/components/schemas/metabase-enterprise.sandbox.schema.attribute-remappings"},- "google-auth-enabled" : {+ "card_id" : {"oneOf" : [ {- "type" : "boolean"+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1}, {"type" : "null"} ]@@ -34357,14 +34481,21 @@}}},- "tags" : [ "/api/google" ]- }- },- "/api/ldap/settings" : {- "put" : {- "summary" : "PUT /api/ldap/settings",- "description" : "Update LDAP related settings. You must be a superuser to do this.",- "parameters" : [ ],+ "tags" : [ "/api/mt/gtap" ]+ },+ "delete" : {+ "summary" : "DELETE /api/mt/gtap/{id}",+ "description" : "Delete a GTAP entry.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -34376,153 +34507,17 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "ldap-enabled" : {- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "ldap-host" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "ldap-password" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "ldap-port" : {- "oneOf" : [ {- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- }- }- }- }- }- },- "tags" : [ "/api/ldap" ]+ "tags" : [ "/api/mt/gtap" ]}},- "/api/llm/extract-tables" : {- "post" : {- "summary" : "POST /api/llm/extract-tables",- "description" : "Parse SQL and return referenced tables with their columns.\n\n Uses Macaw to parse the SQL, resolves table names to IDs,\n and returns permission-filtered tables with column metadata.\n\n This is a lightweight endpoint that does not trigger fingerprinting\n or field value fetching.",+ "/api/mt/user/attributes" : {+ "get" : {+ "summary" : "GET /api/mt/user/attributes",+ "description" : "Fetch a list of possible keys for User `login_attributes`. This includes keys from tenant model\n attributes and keys that have already been set for existing Users.","parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "tables" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "columns" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "database_type" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "fk_target" : {- "type" : "object",- "properties" : {- "field_name" : {- "type" : "string"- },- "table_name" : {- "type" : "string"- }- },- "required" : [ "table_name", "field_name" ]- },- "id" : {- "type" : "integer",- "minimum" : 1- },- "name" : {- "type" : "string"- },- "semantic_type" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }- },- "required" : [ "id", "name" ]- }- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "display_name" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "id" : {- "type" : "integer",- "minimum" : 1- },- "name" : {- "type" : "string"- },- "schema" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }- },- "required" : [ "id", "name", "columns" ]- }- }- },- "required" : [ "tables" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -34531,138 +34526,26 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "database_id" : {- "type" : "integer",- "minimum" : 1- },- "sql" : {- "type" : "string"- }- },- "required" : [ "database_id", "sql" ]- }- }- }- },- "tags" : [ "/api/llm" ]+ "tags" : [ "/api/mt/user" ]}},- "/api/llm/generate-sql" : {- "post" : {- "summary" : "POST /api/llm/generate-sql",- "description" : "Generate SQL from a natural language prompt.\n\n Requires:\n - LLM to be configured (Anthropic API key set in admin settings)\n - At least one table reference (explicit @mention or implicit from source_sql)\n - A database_id parameter\n\n Returns generated SQL and the list of tables used for context.",- "parameters" : [ ],+ "/api/mt/user/{id}/attributes" : {+ "put" : {+ "summary" : "PUT /api/mt/user/{id}/attributes",+ "description" : "Update the `login_attributes` for a User.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "referenced_entities" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "columns" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "database_type" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "fk_target" : {- "type" : "object",- "properties" : {- "field_name" : {- "type" : "string"- },- "table_name" : {- "type" : "string"- }- },- "required" : [ "table_name", "field_name" ]- },- "id" : {- "type" : "integer",- "minimum" : 1- },- "name" : {- "type" : "string"- },- "semantic_type" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }- },- "required" : [ "id", "name" ]- }- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "display_name" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "id" : {- "type" : "integer",- "minimum" : 1- },- "model" : {- "type" : "string"- },- "name" : {- "type" : "string"- },- "schema" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- }- },- "required" : [ "model", "id", "name", "columns" ]- }- },- "sql" : {- "type" : "string"- }- },- "required" : [ "sql", "referenced_entities" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -34677,74 +34560,43 @@"schema" : {"type" : "object","properties" : {- "database_id" : {- "type" : "integer",- "minimum" : 1- },- "prompt" : {- "type" : "string"- },- "referenced_entities" : {- "type" : "array",- "items" : {+ "login_attributes" : {+ "oneOf" : [ {+ "description" : "value must be a valid user attributes map (name -> value)","type" : "object",- "properties" : {- "id" : {- "type" : "integer",- "minimum" : 1- },- "model" : {- "type" : "string"- }- },- "required" : [ "model", "id" ]- }- },- "source_sql" : {- "type" : "string"+ "additionalProperties" : { }+ }, {+ "type" : "null"+ } ]}- },- "required" : [ "prompt", "database_id" ]+ }}}}},- "tags" : [ "/api/llm" ]+ "tags" : [ "/api/mt/user" ]}},- "/api/llm/list-models" : {+ "/api/native-query-snippet/" : {"get" : {- "summary" : "GET /api/llm/list-models",- "description" : "List available LLM models from the configured provider.\n\n Requires LLM to be configured (Anthropic API key set in admin settings).",- "parameters" : [ ],+ "summary" : "GET /api/native-query-snippet/",+ "description" : "Fetch all snippets",+ "parameters" : [ {+ "in" : "query",+ "name" : "archived",+ "required" : true,+ "schema" : {+ "default" : false,+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ }+ } ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "models" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "display_name" : {- "type" : "string"- },- "id" : {- "type" : "string"- }- },- "required" : [ "id", "display_name" ]- }- }- },- "required" : [ "models" ]- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -34753,13 +34605,11 @@"description" : "Server error response"}},- "tags" : [ "/api/llm" ]- }- },- "/api/logger/adjustment" : {+ "tags" : [ "/api/native-query-snippet" ]+ },"post" : {- "summary" : "POST /api/logger/adjustment",- "description" : "Temporarily adjust the log levels.",+ "summary" : "POST /api/native-query-snippet/",+ "description" : "Create a new `NativeQuerySnippet`.","parameters" : [ ],"responses" : {"2XX" : {@@ -34778,25 +34628,51 @@"schema" : {"type" : "object","properties" : {- "duration" : {- "type" : "integer"+ "collection_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]},- "duration_unit" : {- "$ref" : "#/components/schemas/metabase.logger.api.time-unit"+ "content" : {+ "type" : "string"},- "log_levels" : { }+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "description" : "snippet names cannot include '}' or start with spaces"+ }},- "required" : [ "duration", "duration_unit", "log_levels" ]+ "required" : [ "content", "name" ]}}}},- "tags" : [ "/api/logger" ]- },- "delete" : {- "summary" : "DELETE /api/logger/adjustment",- "description" : "Undo any log level adjustments.",- "parameters" : [ ],+ "tags" : [ "/api/native-query-snippet" ]+ }+ },+ "/api/native-query-snippet/{id}" : {+ "get" : {+ "summary" : "GET /api/native-query-snippet/{id}",+ "description" : "Fetch native query snippet with ID.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -34808,14 +34684,21 @@"description" : "Server error response"}},- "tags" : [ "/api/logger" ]- }- },- "/api/logger/logs" : {- "get" : {- "summary" : "GET /api/logger/logs",- "description" : "Logs.",- "parameters" : [ ],+ "tags" : [ "/api/native-query-snippet" ]+ },+ "put" : {+ "summary" : "PUT /api/native-query-snippet/{id}",+ "description" : "Update an existing `NativeQuerySnippet`.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -34827,67 +34710,117 @@"description" : "Server error response"}},- "tags" : [ "/api/logger" ]+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "archived" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "collection_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "content" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "oneOf" : [ {+ "description" : "snippet names cannot include '}' or start with spaces"+ }, {+ "type" : "null"+ } ]+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/native-query-snippet" ]}},- "/api/logger/presets" : {+ "/api/notification/" : {"get" : {- "summary" : "GET /api/logger/presets",- "description" : "Get all known presets.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "display_name" : {- "type" : "string"- },- "id" : {- "type" : "string"- },- "loggers" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "level" : {- "$ref" : "#/components/schemas/metabase.logger.api.log-level"- },- "name" : {- "type" : "string"- }- },- "required" : [ "name", "level" ]- }- }- },- "required" : [ "id", "display_name", "loggers" ]- }- }- }- }+ "summary" : "GET /api/notification/",+ "description" : "List notifications.\n - `creator_id`: if provided returns only notifications created by this user\n - `recipient_id`: if provided returns only notification that has recipient_id as a recipient\n - `creator_or_recipient_id`: if provided returns only notification that has user_id as creator or recipient\n - `card_id`: if provided returns only notification that has card_id as payload",+ "parameters" : [ {+ "in" : "query",+ "name" : "creator_id",+ "required" : false,+ "schema" : {+ "type" : "integer",+ "minimum" : 1},- "4XX" : {- "description" : "Client error response"+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "query",+ "name" : "recipient_id",+ "required" : false,+ "schema" : {+ "type" : "integer",+ "minimum" : 1},- "5XX" : {- "description" : "Server error response"+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "query",+ "name" : "creator_or_recipient_id",+ "required" : false,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "query",+ "name" : "card_id",+ "required" : false,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "query",+ "name" : "include_inactive",+ "required" : false,+ "schema" : {+ "type" : "boolean"}- },- "tags" : [ "/api/logger" ]- }- },- "/api/login-history/current" : {- "get" : {- "summary" : "GET /api/login-history/current",- "description" : "Fetch recent logins for the current user.",- "parameters" : [ ],+ }, {+ "in" : "query",+ "name" : "payload_type",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]+ }, {+ "type" : "null"+ } ]+ }+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -34899,24 +34832,15 @@"description" : "Server error response"}},- "tags" : [ "/api/login-history" ]- }- },- "/api/measure/" : {+ "tags" : [ "/api/notification" ]+ },"post" : {- "summary" : "POST /api/measure/",- "description" : "Create a new `Measure`.",+ "summary" : "POST /api/notification/",+ "description" : "Create a new notification, return the created notification.","parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase.measures.api.measure"- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -34929,54 +34853,22 @@"content" : {"application/json" : {"schema" : {- "type" : "object",- "properties" : {- "definition" : {- "description" : "Value must be a map.",- "type" : "object",- "properties" : { }- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string",- "minLength" : 1- },- "table_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }- },- "required" : [ "name", "table_id", "definition" ]+ "$ref" : "#/components/schemas/metabase.notification.models.FullyHydratedNotification"}}}},- "tags" : [ "/api/measure" ]- },- "get" : {- "summary" : "GET /api/measure/",- "description" : "Fetch *all* `Measures`.",+ "tags" : [ "/api/notification" ]+ }+ },+ "/api/notification/send" : {+ "post" : {+ "summary" : "POST /api/notification/send",+ "description" : "Send an unsaved notification.","parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase.measures.api.measure"- }- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -34985,66 +34877,26 @@"description" : "Server error response"}},- "tags" : [ "/api/measure" ]- }- },- "/api/measure/{id}" : {- "get" : {- "summary" : "GET /api/measure/{id}",- "description" : "Fetch `Measure` with ID.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase.measures.api.measure"- }+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.notification.models.FullyHydratedNotification"}}- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"}},- "tags" : [ "/api/measure" ]- },- "put" : {- "summary" : "PUT /api/measure/{id}",- "description" : "Update a `Measure` with ID.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "tags" : [ "/api/notification" ]+ }+ },+ "/api/notification/unsubscribe/" : {+ "post" : {+ "summary" : "POST /api/notification/unsubscribe/",+ "description" : "Allow non-users to unsubscribe from notifications, with the hash given through email.",+ "parameters" : [ ],"responses" : {"2XX" : {- "description" : "Successful response",- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase.measures.api.measure"- }- }- }+ "description" : "Successful response"},"4XX" : {"description" : "Client error response"@@ -35059,53 +34911,30 @@"schema" : {"type" : "object","properties" : {- "archived" : {- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "definition" : {- "oneOf" : [ {- "type" : "object",- "properties" : { }- }, {- "type" : "null"- } ]- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]+ "email" : {+ "type" : "string"},- "name" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]+ "hash" : {+ "type" : "string"},- "revision_message" : {- "type" : "string",- "minLength" : 1+ "notification-handler-id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1}},- "required" : [ "revision_message" ]+ "required" : [ "notification-handler-id", "email", "hash" ]}}}},- "tags" : [ "/api/measure" ]+ "tags" : [ "/api/notification/unsubscribe" ]}},- "/api/model-index/" : {+ "/api/notification/unsubscribe/undo" : {"post" : {- "summary" : "POST /api/model-index/",- "description" : "Create ModelIndex.",+ "summary" : "POST /api/notification/unsubscribe/undo",+ "description" : "Allow non-users to undo an unsubscribe from notifications, with the hash given through email.","parameters" : [ ],"responses" : {"2XX" : {@@ -35124,27 +34953,33 @@"schema" : {"type" : "object","properties" : {- "model_id" : {+ "email" : {+ "type" : "string"+ },+ "hash" : {+ "type" : "string"+ },+ "notification-handler-id" : {"description" : "value must be an integer greater than zero.","type" : "integer","minimum" : 1- },- "pk_ref" : { },- "value_ref" : { }+ }},- "required" : [ "model_id", "pk_ref", "value_ref" ]+ "required" : [ "notification-handler-id", "email", "hash" ]}}}},- "tags" : [ "/api/model-index" ]- },+ "tags" : [ "/api/notification/unsubscribe" ]+ }+ },+ "/api/notification/{id}" : {"get" : {- "summary" : "GET /api/model-index/",- "description" : "Retrieve list of ModelIndex.",+ "summary" : "GET /api/notification/{id}",+ "description" : "Get a notification by id.","parameters" : [ {- "in" : "query",- "name" : "model_id",+ "in" : "path",+ "name" : "id","required" : true,"schema" : {"type" : "integer",@@ -35163,13 +34998,11 @@"description" : "Server error response"}},- "tags" : [ "/api/model-index" ]- }- },- "/api/model-index/{id}" : {- "get" : {- "summary" : "GET /api/model-index/{id}",- "description" : "Retrieve ModelIndex.",+ "tags" : [ "/api/notification" ]+ },+ "put" : {+ "summary" : "PUT /api/notification/{id}",+ "description" : "Update a notification, can also update its subscriptions, handlers.\n Return the updated notification.","parameters" : [ {"in" : "path","name" : "id",@@ -35191,11 +35024,22 @@"description" : "Server error response"}},- "tags" : [ "/api/model-index" ]- },- "delete" : {- "summary" : "DELETE /api/model-index/{id}",- "description" : "Delete ModelIndex.",+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.notification.models.FullyHydratedNotification"+ }+ }+ }+ },+ "tags" : [ "/api/notification" ]+ }+ },+ "/api/notification/{id}/send" : {+ "post" : {+ "summary" : "POST /api/notification/{id}/send",+ "description" : "Send a notification by id.","parameters" : [ {"in" : "path","name" : "id",@@ -35217,97 +35061,41 @@"description" : "Server error response"}},- "tags" : [ "/api/model-index" ]- }- },- "/api/moderation-review/" : {- "post" : {- "summary" : "POST /api/moderation-review/",- "description" : "Create a new `ModerationReview`.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },"requestBody" : {"content" : {"application/json" : {"schema" : {"type" : "object","properties" : {- "moderated_item_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "moderated_item_type" : {- "enum" : [ "card", "card", "dashboard", "dashboard" ]- },- "status" : {- "oneOf" : [ {- "oneOf" : [ {- "type" : "string",- "enum" : [ "verified" ]- }, {- "type" : "null"- } ]- }, {- "type" : "null"- } ]- },- "text" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]+ "handler_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }}- },- "required" : [ "moderated_item_id", "moderated_item_type" ]+ }}}}},- "tags" : [ "/api/moderation-review" ]+ "tags" : [ "/api/notification" ]}},- "/api/mt/gtap/" : {- "get" : {- "summary" : "GET /api/mt/gtap/",- "description" : "Fetch a list of all GTAPs currently in use, or a single GTAP if both `group_id` and `table_id` are provided.",+ "/api/notification/{id}/unsubscribe" : {+ "post" : {+ "summary" : "POST /api/notification/{id}/unsubscribe",+ "description" : "Unsubscribe current user from a notification.","parameters" : [ {- "in" : "query",- "name" : "group_id",- "required" : false,- "schema" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "table_id",- "required" : false,+ "in" : "path",+ "name" : "id",+ "required" : true,"schema" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -35320,11 +35108,13 @@"description" : "Server error response"}},- "tags" : [ "/api/mt/gtap" ]- },+ "tags" : [ "/api/notification" ]+ }+ },+ "/api/notify/db/attached_datawarehouse" : {"post" : {- "summary" : "POST /api/mt/gtap/",- "description" : "Create a new GTAP.",+ "summary" : "POST /api/notify/db/attached_datawarehouse",+ "description" : "Sync the attached datawarehouse. Can provide in the body:\n - table_name and schema_name: both strings. Will look for an existing table and sync it, otherwise will try to find a\n new table with that name and sync it. If it cannot find a table it will throw an error. If table_name is empty or\n blank, will sync the entire database.\n - synchronous?: is a boolean value to indicate if this should block on the result.","parameters" : [ ],"responses" : {"2XX" : {@@ -35343,42 +35133,52 @@"schema" : {"type" : "object","properties" : {- "attribute_remappings" : {- "$ref" : "#/components/schemas/metabase-enterprise.sandbox.schema.attribute-remappings"- },- "card_id" : {+ "schema_name" : {"oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1+ "type" : "string"}, {"type" : "null"} ]},- "group_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1+ "synchronous?" : {+ "default" : false,+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]},- "table_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1+ "table_name" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]}},- "required" : [ "table_id", "group_id" ]+ "required" : [ "synchronous?" ]}}}},- "tags" : [ "/api/mt/gtap" ]+ "tags" : [ "/api/notify" ]}},- "/api/mt/gtap/validate" : {+ "/api/notify/db/{id}" : {"post" : {- "summary" : "POST /api/mt/gtap/validate",- "description" : "Validate a sandbox which may not have yet been saved. This runs the same validation that is performed when the\n sandbox is saved, but doesn't actually save the sandbox.",- "parameters" : [ ],+ "summary" : "POST /api/notify/db/{id}",+ "description" : "Notification about a potential schema change to one of our `Databases`.\n Caller can optionally specify a `:table_id` or `:table_name` in the body to limit updates to a single\n `Table`. Optional Parameter `:scan` can be `\"full\"` or `\"schema\"` for a full sync or a schema sync, available\n regardless if a `:table_id` or `:table_name` is passed.\n This endpoint is secured by an API key that needs to be passed as a `X-METABASE-APIKEY` header which needs to be defined in\n the `MB_API_KEY` [environment variable](https://www.metabase.com/docs/latest/configuring-metabase/environment-variables.html#mb_api_key)",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -35396,33 +35196,43 @@"schema" : {"type" : "object","properties" : {- "card_id" : {+ "scan" : {"oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1+ "type" : "string",+ "enum" : [ "full", "schema" ]}, {"type" : "null"} ]},"table_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "table_name" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]}- },- "required" : [ "table_id" ]+ }}}}},- "tags" : [ "/api/mt/gtap" ]+ "tags" : [ "/api/notify" ]}},- "/api/mt/gtap/{id}" : {- "get" : {- "summary" : "GET /api/mt/gtap/{id}",- "description" : "Fetch GTAP by `id`",+ "/api/notify/db/{id}/new-table" : {+ "post" : {+ "summary" : "POST /api/notify/db/{id}/new-table",+ "description" : "Sync a new table without running a full database sync. Requires `schema_name` and `table_name`. Will throw an error\n if the table already exists in Metabase or cannot be found.","parameters" : [ {"in" : "path","name" : "id",@@ -35444,20 +35254,74 @@"description" : "Server error response"}},- "tags" : [ "/api/mt/gtap" ]+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "schema_name" : {+ "type" : "string",+ "minLength" : 1+ },+ "table_name" : {+ "type" : "string",+ "minLength" : 1+ }+ },+ "required" : [ "schema_name", "table_name" ]+ }+ }+ }+ },+ "tags" : [ "/api/notify" ]+ }+ },+ "/api/permissions/graph" : {+ "get" : {+ "summary" : "GET /api/permissions/graph",+ "description" : "Fetch a graph of all Permissions.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/permissions" ]},"put" : {- "summary" : "PUT /api/mt/gtap/{id}",- "description" : "Update a GTAP entry. The only things you're allowed to update for a GTAP are the Card being used (`card_id`) or the\n parameter mappings; changing `table_id` or `group_id` would effectively be deleting this entry and creating a new\n one. If that's what you want to do, do so explicitly with appropriate calls to the `DELETE` and `POST` endpoints.",+ "summary" : "PUT /api/permissions/graph",+ "description" : "Do a batch update of Permissions by passing in a modified graph. This should return the same graph, in the same\n format, that you got from `GET /api/permissions/graph`, with any changes made in the wherever necessary. This\n modified graph must correspond to the `PermissionsGraph` schema. If successful, this endpoint returns the updated\n permissions graph; use this as a base for any further modifications.\n\n Revisions to the permissions graph are tracked. If you fetch the permissions graph and some other third-party\n modifies it before you can submit you revisions, the endpoint will instead make no changes and return a\n 409 (Conflict) response. In this case, you should fetch the updated graph and make desired changes to that.\n\n The optional `sandboxes` key contains a list of sandboxes that should be created or modified in conjunction with\n this permissions graph update. Since data sandboxing is an Enterprise Edition-only feature, a 402 (Payment Required)\n response will be returned if this key is present and the server is not running the Enterprise Edition, and/or the\n `:sandboxes` feature flag is not present.\n\n If the skip-graph query param is truthy, then the graph will not be returned.","parameters" : [ {- "in" : "path",- "name" : "id",+ "in" : "query",+ "name" : "skip-graph","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "default" : false,+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "force",+ "required" : true,+ "schema" : {+ "default" : false,+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ }} ],"responses" : {"2XX" : {@@ -35475,32 +35339,21 @@"application/json" : {"schema" : {"type" : "object",- "properties" : {- "attribute_remappings" : {- "$ref" : "#/components/schemas/metabase-enterprise.sandbox.schema.attribute-remappings"- },- "card_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- }- }+ "properties" : { }}}}},- "tags" : [ "/api/mt/gtap" ]- },- "delete" : {- "summary" : "DELETE /api/mt/gtap/{id}",- "description" : "Delete a GTAP entry.",+ "tags" : [ "/api/permissions" ]+ }+ },+ "/api/permissions/graph/db/{db-id}" : {+ "get" : {+ "summary" : "GET /api/permissions/graph/db/{db-id}",+ "description" : "Fetch a graph of all Permissions for db-id `db-id`.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "db-id","required" : true,"schema" : {"type" : "integer",@@ -35519,35 +35372,16 @@"description" : "Server error response"}},- "tags" : [ "/api/mt/gtap" ]+ "tags" : [ "/api/permissions" ]}},- "/api/mt/user/attributes" : {+ "/api/permissions/graph/group/{group-id}" : {"get" : {- "summary" : "GET /api/mt/user/attributes",- "description" : "Fetch a list of possible keys for User `login_attributes`. This includes keys from tenant model\n attributes and keys that have already been set for existing Users.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/mt/user" ]- }- },- "/api/mt/user/{id}/attributes" : {- "put" : {- "summary" : "PUT /api/mt/user/{id}/attributes",- "description" : "Update the `login_attributes` for a User.",+ "summary" : "GET /api/permissions/graph/group/{group-id}",+ "description" : "Fetch a graph of all Permissions for group-id `group-id`.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "group-id","required" : true,"schema" : {"type" : "integer",@@ -35566,44 +35400,20 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "login_attributes" : {- "oneOf" : [ {- "description" : "value must be a valid user attributes map (name -> value)",- "type" : "object",- "additionalProperties" : { }- }, {- "type" : "null"- } ]- }- }- }- }- }- },- "tags" : [ "/api/mt/user" ]+ "tags" : [ "/api/permissions" ]}},- "/api/native-query-snippet/" : {+ "/api/permissions/group" : {"get" : {- "summary" : "GET /api/native-query-snippet/",- "description" : "Fetch all snippets",+ "summary" : "GET /api/permissions/group",+ "description" : "Fetch all `PermissionsGroups`, including a count of the number of `:members` in that group.\n This API requires superuser or group manager of more than one group.\n Group manager is only available if `advanced-permissions` is enabled and returns only groups that user\n is manager of.\n\n Optional query parameter `tenancy` can be used to filter groups:\n - `tenancy=external`: Returns only tenant groups (where `is_tenant_group = true`)\n - `tenancy=internal`: Returns only non-tenant groups (where `is_tenant_group = false`)\n - No `tenancy` parameter: Returns all groups (default behavior)","parameters" : [ {"in" : "query",- "name" : "archived",- "required" : true,+ "name" : "tenancy",+ "required" : false,"schema" : {- "default" : false,- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]+ "type" : "string",+ "enum" : [ "external", "internal" ]}} ],"responses" : {@@ -35617,11 +35427,11 @@"description" : "Server error response"}},- "tags" : [ "/api/native-query-snippet" ]+ "tags" : [ "/api/permissions" ]},"post" : {- "summary" : "POST /api/native-query-snippet/",- "description" : "Create a new `NativeQuerySnippet`.",+ "summary" : "POST /api/permissions/group",+ "description" : "Create a new `PermissionsGroup`.","parameters" : [ ],"responses" : {"2XX" : {@@ -35640,70 +35450,33 @@"schema" : {"type" : "object","properties" : {- "collection_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- },- "content" : {- "type" : "string"- },- "description" : {+ "is_tenant_group" : {"oneOf" : [ {- "type" : "string"+ "type" : "boolean"}, {"type" : "null"} ]},"name" : {- "description" : "snippet names cannot include '}' or start with spaces"+ "type" : "string",+ "minLength" : 1}},- "required" : [ "content", "name" ]+ "required" : [ "name" ]}}}},- "tags" : [ "/api/native-query-snippet" ]+ "tags" : [ "/api/permissions" ]}},- "/api/native-query-snippet/{id}" : {- "get" : {- "summary" : "GET /api/native-query-snippet/{id}",- "description" : "Fetch native query snippet with ID.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/native-query-snippet" ]- },+ "/api/permissions/group/{group-id}" : {"put" : {- "summary" : "PUT /api/native-query-snippet/{id}",- "description" : "Update an existing `NativeQuerySnippet`.",+ "summary" : "PUT /api/permissions/group/{group-id}",+ "description" : "Update the name of a `PermissionsGroup`.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "group-id","required" : true,"schema" : {"type" : "integer",@@ -35728,110 +35501,30 @@"schema" : {"type" : "object","properties" : {- "archived" : {- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "collection_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- },- "content" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },"name" : {- "oneOf" : [ {- "description" : "snippet names cannot include '}' or start with spaces"- }, {- "type" : "null"- } ]+ "type" : "string",+ "minLength" : 1}- }+ },+ "required" : [ "name" ]}}}},- "tags" : [ "/api/native-query-snippet" ]- }- },- "/api/notification/" : {- "get" : {- "summary" : "GET /api/notification/",- "description" : "List notifications.\n - `creator_id`: if provided returns only notifications created by this user\n - `recipient_id`: if provided returns only notification that has recipient_id as a recipient\n - `creator_or_recipient_id`: if provided returns only notification that has user_id as creator or recipient\n - `card_id`: if provided returns only notification that has card_id as payload",+ "tags" : [ "/api/permissions" ]+ },+ "delete" : {+ "summary" : "DELETE /api/permissions/group/{group-id}",+ "description" : "Delete a specific `PermissionsGroup`.","parameters" : [ {- "in" : "query",- "name" : "creator_id",- "required" : false,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "recipient_id",- "required" : false,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "creator_or_recipient_id",- "required" : false,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "card_id",- "required" : false,+ "in" : "path",+ "name" : "group-id",+ "required" : true,"schema" : {"type" : "integer","minimum" : 1},"description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "include_inactive",- "required" : false,- "schema" : {- "type" : "boolean"- }- }, {- "in" : "query",- "name" : "payload_type",- "required" : false,- "schema" : {- "oneOf" : [ {- "type" : "string",- "enum" : [ "notification/dashboard", "notification/system-event", "notification/testing", "notification/card" ]- }, {- "type" : "null"- } ]- }} ],"responses" : {"2XX" : {@@ -35844,12 +35537,23 @@"description" : "Server error response"}},- "tags" : [ "/api/notification" ]- },- "post" : {- "summary" : "POST /api/notification/",- "description" : "Create a new notification, return the created notification.",- "parameters" : [ ],+ "tags" : [ "/api/permissions" ]+ }+ },+ "/api/permissions/group/{id}" : {+ "get" : {+ "summary" : "GET /api/permissions/group/{id}",+ "description" : "Fetch the details for a certain permissions group.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -35861,22 +35565,13 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase.notification.models.FullyHydratedNotification"- }- }- }- },- "tags" : [ "/api/notification" ]+ "tags" : [ "/api/permissions" ]}},- "/api/notification/send" : {- "post" : {- "summary" : "POST /api/notification/send",- "description" : "Send an unsaved notification.",+ "/api/permissions/membership" : {+ "get" : {+ "summary" : "GET /api/permissions/membership",+ "description" : "Fetch a map describing the group memberships of various users.\n This map's format is:\n\n {<user-id> [{:membership_id <id>\n :group_id <id>\n :is_group_manager boolean}]}","parameters" : [ ],"responses" : {"2XX" : {@@ -35889,22 +35584,11 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase.notification.models.FullyHydratedNotification"- }- }- }- },- "tags" : [ "/api/notification" ]- }- },- "/api/notification/unsubscribe/" : {+ "tags" : [ "/api/permissions" ]+ },"post" : {- "summary" : "POST /api/notification/unsubscribe/",- "description" : "Allow non-users to unsubscribe from notifications, with the hash given through email.",+ "summary" : "POST /api/permissions/membership",+ "description" : "Add a `User` to a `PermissionsGroup`. Returns updated list of members belonging to the group.","parameters" : [ ],"responses" : {"2XX" : {@@ -35923,75 +35607,40 @@"schema" : {"type" : "object","properties" : {- "email" : {- "type" : "string"- },- "hash" : {- "type" : "string"- },- "notification-handler-id" : {+ "group_id" : {"description" : "value must be an integer greater than zero.","type" : "integer","minimum" : 1- }- },- "required" : [ "notification-handler-id", "email", "hash" ]- }- }- }- },- "tags" : [ "/api/notification/unsubscribe" ]- }- },- "/api/notification/unsubscribe/undo" : {- "post" : {- "summary" : "POST /api/notification/unsubscribe/undo",- "description" : "Allow non-users to undo an unsubscribe from notifications, with the hash given through email.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "email" : {- "type" : "string"},- "hash" : {- "type" : "string"+ "is_group_manager" : {+ "default" : false,+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]},- "notification-handler-id" : {+ "user_id" : {"description" : "value must be an integer greater than zero.","type" : "integer","minimum" : 1}},- "required" : [ "notification-handler-id", "email", "hash" ]+ "required" : [ "group_id", "user_id", "is_group_manager" ]}}}},- "tags" : [ "/api/notification/unsubscribe" ]+ "tags" : [ "/api/permissions" ]}},- "/api/notification/{id}" : {- "get" : {- "summary" : "GET /api/notification/{id}",- "description" : "Get a notification by id.",+ "/api/permissions/membership/{group-id}/clear" : {+ "put" : {+ "summary" : "PUT /api/permissions/membership/{group-id}/clear",+ "description" : "Remove all members from a `PermissionsGroup`. Returns a 400 (Bad Request) if the group ID is for the admin group.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "group-id","required" : true,"schema" : {"type" : "integer",@@ -36010,48 +35659,13 @@"description" : "Server error response"}},- "tags" : [ "/api/notification" ]- },+ "tags" : [ "/api/permissions" ]+ }+ },+ "/api/permissions/membership/{id}" : {"put" : {- "summary" : "PUT /api/notification/{id}",- "description" : "Update a notification, can also update its subscriptions, handlers.\n Return the updated notification.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "$ref" : "#/components/schemas/metabase.notification.models.FullyHydratedNotification"- }- }- }- },- "tags" : [ "/api/notification" ]- }- },- "/api/notification/{id}/send" : {- "post" : {- "summary" : "POST /api/notification/{id}/send",- "description" : "Send a notification by id.",+ "summary" : "PUT /api/permissions/membership/{id}",+ "description" : "Update a Permission Group membership. Returns the updated record.","parameters" : [ {"in" : "path","name" : "id",@@ -36079,26 +35693,20 @@"schema" : {"type" : "object","properties" : {- "handler_ids" : {- "type" : "array",- "items" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }+ "is_group_manager" : {+ "type" : "boolean"}- }+ },+ "required" : [ "is_group_manager" ]}}}},- "tags" : [ "/api/notification" ]- }- },- "/api/notification/{id}/unsubscribe" : {- "post" : {- "summary" : "POST /api/notification/{id}/unsubscribe",- "description" : "Unsubscribe current user from a notification.",+ "tags" : [ "/api/permissions" ]+ },+ "delete" : {+ "summary" : "DELETE /api/permissions/membership/{id}",+ "description" : "Remove a User from a PermissionsGroup (delete their membership).","parameters" : [ {"in" : "path","name" : "id",@@ -36120,13 +35728,13 @@"description" : "Server error response"}},- "tags" : [ "/api/notification" ]+ "tags" : [ "/api/permissions" ]}},- "/api/notify/db/attached_datawarehouse" : {- "post" : {- "summary" : "POST /api/notify/db/attached_datawarehouse",- "description" : "Sync the attached datawarehouse. Can provide in the body:\n - table_name and schema_name: both strings. Will look for an existing table and sync it, otherwise will try to find a\n new table with that name and sync it. If it cannot find a table it will throw an error. If table_name is empty or\n blank, will sync the entire database.\n - synchronous?: is a boolean value to indicate if this should block on the result.",+ "/api/persist/" : {+ "get" : {+ "summary" : "GET /api/persist/",+ "description" : "List the entries of [[PersistedInfo]] in order to show a status page.","parameters" : [ ],"responses" : {"2XX" : {@@ -36139,51 +35747,16 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "schema_name" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "synchronous?" : {- "default" : false,- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "table_name" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- }- },- "required" : [ "synchronous?" ]- }- }- }- },- "tags" : [ "/api/notify" ]+ "tags" : [ "/api/persist" ]}},- "/api/notify/db/{id}" : {- "post" : {- "summary" : "POST /api/notify/db/{id}",- "description" : "Notification about a potential schema change to one of our `Databases`.\n Caller can optionally specify a `:table_id` or `:table_name` in the body to limit updates to a single\n `Table`. Optional Parameter `:scan` can be `\"full\"` or `\"schema\"` for a full sync or a schema sync, available\n regardless if a `:table_id` or `:table_name` is passed.\n This endpoint is secured by an API key that needs to be passed as a `X-METABASE-APIKEY` header which needs to be defined in\n the `MB_API_KEY` [environment variable](https://www.metabase.com/docs/latest/configuring-metabase/environment-variables.html#mb_api_key)",+ "/api/persist/card/{card-id}" : {+ "get" : {+ "summary" : "GET /api/persist/card/{card-id}",+ "description" : "Fetch a particular [[PersistedInfo]] by card-id.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "card-id","required" : true,"schema" : {"type" : "integer",@@ -36202,52 +35775,16 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "scan" : {- "oneOf" : [ {- "type" : "string",- "enum" : [ "full", "schema" ]- }, {- "type" : "null"- } ]- },- "table_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- },- "table_name" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- }- }- }- }- }- },- "tags" : [ "/api/notify" ]+ "tags" : [ "/api/persist" ]}},- "/api/notify/db/{id}/new-table" : {+ "/api/persist/card/{card-id}/persist" : {"post" : {- "summary" : "POST /api/notify/db/{id}/new-table",- "description" : "Sync a new table without running a full database sync. Requires `schema_name` and `table_name`. Will throw an error\n if the table already exists in Metabase or cannot be found.",+ "summary" : "POST /api/persist/card/{card-id}/persist",+ "description" : "Mark the model (card) as persisted. Runs the query and saves it to the database backing the card and hot swaps this\n query in place of the model's query.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "card-id","required" : true,"schema" : {"type" : "integer",@@ -36266,34 +35803,23 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "schema_name" : {- "type" : "string",- "minLength" : 1- },- "table_name" : {- "type" : "string",- "minLength" : 1- }- },- "required" : [ "schema_name", "table_name" ]- }- }- }- },- "tags" : [ "/api/notify" ]+ "tags" : [ "/api/persist" ]}},- "/api/permissions/graph" : {- "get" : {- "summary" : "GET /api/permissions/graph",- "description" : "Fetch a graph of all Permissions.",- "parameters" : [ ],+ "/api/persist/card/{card-id}/refresh" : {+ "post" : {+ "summary" : "POST /api/persist/card/{card-id}/refresh",+ "description" : "Refresh the persisted model caching `card-id`.",+ "parameters" : [ {+ "in" : "path",+ "name" : "card-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -36305,35 +35831,22 @@"description" : "Server error response"}},- "tags" : [ "/api/permissions" ]- },- "put" : {- "summary" : "PUT /api/permissions/graph",- "description" : "Do a batch update of Permissions by passing in a modified graph. This should return the same graph, in the same\n format, that you got from `GET /api/permissions/graph`, with any changes made in the wherever necessary. This\n modified graph must correspond to the `PermissionsGraph` schema. If successful, this endpoint returns the updated\n permissions graph; use this as a base for any further modifications.\n\n Revisions to the permissions graph are tracked. If you fetch the permissions graph and some other third-party\n modifies it before you can submit you revisions, the endpoint will instead make no changes and return a\n 409 (Conflict) response. In this case, you should fetch the updated graph and make desired changes to that.\n\n The optional `sandboxes` key contains a list of sandboxes that should be created or modified in conjunction with\n this permissions graph update. Since data sandboxing is an Enterprise Edition-only feature, a 402 (Payment Required)\n response will be returned if this key is present and the server is not running the Enterprise Edition, and/or the\n `:sandboxes` feature flag is not present.\n\n If the skip-graph query param is truthy, then the graph will not be returned.",+ "tags" : [ "/api/persist" ]+ }+ },+ "/api/persist/card/{card-id}/unpersist" : {+ "post" : {+ "summary" : "POST /api/persist/card/{card-id}/unpersist",+ "description" : "Unpersist this model. Deletes the persisted table backing the model and all queries after this will use the card's\n query rather than the saved version of the query.","parameters" : [ {- "in" : "query",- "name" : "skip-graph",- "required" : true,- "schema" : {- "default" : false,- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "force",+ "in" : "path",+ "name" : "card-id","required" : true,"schema" : {- "default" : false,- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -36346,26 +35859,16 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : { }- }- }- }- },- "tags" : [ "/api/permissions" ]+ "tags" : [ "/api/persist" ]}},- "/api/permissions/graph/db/{db-id}" : {- "get" : {- "summary" : "GET /api/permissions/graph/db/{db-id}",- "description" : "Fetch a graph of all Permissions for db-id `db-id`.",+ "/api/persist/database/{id}/persist" : {+ "post" : {+ "summary" : "POST /api/persist/database/{id}/persist",+ "description" : "Attempt to enable model persistence for a database. If already enabled returns a generic 204.","parameters" : [ {"in" : "path",- "name" : "db-id",+ "name" : "id","required" : true,"schema" : {"type" : "integer",@@ -36384,16 +35887,16 @@"description" : "Server error response"}},- "tags" : [ "/api/permissions" ]+ "tags" : [ "/api/persist" ]}},- "/api/permissions/graph/group/{group-id}" : {- "get" : {- "summary" : "GET /api/permissions/graph/group/{group-id}",- "description" : "Fetch a graph of all Permissions for group-id `group-id`.",+ "/api/persist/database/{id}/unpersist" : {+ "post" : {+ "summary" : "POST /api/persist/database/{id}/unpersist",+ "description" : "Attempt to disable model persistence for a database. If already not enabled, just returns a generic 204.","parameters" : [ {"in" : "path",- "name" : "group-id",+ "name" : "id","required" : true,"schema" : {"type" : "integer",@@ -36412,22 +35915,14 @@"description" : "Server error response"}},- "tags" : [ "/api/permissions" ]+ "tags" : [ "/api/persist" ]}},- "/api/permissions/group" : {- "get" : {- "summary" : "GET /api/permissions/group",- "description" : "Fetch all `PermissionsGroups`, including a count of the number of `:members` in that group.\n This API requires superuser or group manager of more than one group.\n Group manager is only available if `advanced-permissions` is enabled and returns only groups that user\n is manager of.\n\n Optional query parameter `tenancy` can be used to filter groups:\n - `tenancy=external`: Returns only tenant groups (where `is_tenant_group = true`)\n - `tenancy=internal`: Returns only non-tenant groups (where `is_tenant_group = false`)\n - No `tenancy` parameter: Returns all groups (default behavior)",- "parameters" : [ {- "in" : "query",- "name" : "tenancy",- "required" : false,- "schema" : {- "type" : "string",- "enum" : [ "external", "internal" ]- }- } ],+ "/api/persist/disable" : {+ "post" : {+ "summary" : "POST /api/persist/disable",+ "description" : "Disable global setting to allow databases to persist models. This will remove all tasks to refresh tables, remove\n that option from databases which might have it enabled, and delete all cached tables.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -36439,11 +35934,13 @@"description" : "Server error response"}},- "tags" : [ "/api/permissions" ]- },+ "tags" : [ "/api/persist" ]+ }+ },+ "/api/persist/enable" : {"post" : {- "summary" : "POST /api/permissions/group",- "description" : "Create a new `PermissionsGroup`.",+ "summary" : "POST /api/persist/enable",+ "description" : "Enable global setting to allow databases to persist models.","parameters" : [ ],"responses" : {"2XX" : {@@ -36456,46 +35953,14 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "is_tenant_group" : {- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "name" : {- "type" : "string",- "minLength" : 1- }- },- "required" : [ "name" ]- }- }- }- },- "tags" : [ "/api/permissions" ]+ "tags" : [ "/api/persist" ]}},- "/api/permissions/group/{group-id}" : {- "put" : {- "summary" : "PUT /api/permissions/group/{group-id}",- "description" : "Update the name of a `PermissionsGroup`.",- "parameters" : [ {- "in" : "path",- "name" : "group-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],+ "/api/persist/set-refresh-schedule" : {+ "post" : {+ "summary" : "POST /api/persist/set-refresh-schedule",+ "description" : "Set the cron schedule to refresh persisted models.\n Shape should be JSON like {cron: \"0 30 1/8 * * ? *\"}.",+ "parameters" : [ ],"responses" : {"2XX" : {"description" : "Successful response"@@ -36513,52 +35978,27 @@"schema" : {"type" : "object","properties" : {- "name" : {+ "cron" : {+ "description" : "Value must be a string representing a cron schedule of format <seconds> <minutes> <hours> <day of month> <month> <day of week> <year>","type" : "string","minLength" : 1}},- "required" : [ "name" ]+ "required" : [ "cron" ]}}}},- "tags" : [ "/api/permissions" ]- },- "delete" : {- "summary" : "DELETE /api/permissions/group/{group-id}",- "description" : "Delete a specific `PermissionsGroup`.",- "parameters" : [ {- "in" : "path",- "name" : "group-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/permissions" ]+ "tags" : [ "/api/persist" ]}},- "/api/permissions/group/{id}" : {+ "/api/persist/{persisted-info-id}" : {"get" : {- "summary" : "GET /api/permissions/group/{id}",- "description" : "Fetch the details for a certain permissions group.",+ "summary" : "GET /api/persist/{persisted-info-id}",+ "description" : "Fetch a particular [[PersistedInfo]] by id.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "persisted-info-id","required" : true,"schema" : {"type" : "integer",@@ -36577,13 +36017,13 @@"description" : "Server error response"}},- "tags" : [ "/api/permissions" ]+ "tags" : [ "/api/persist" ]}},- "/api/permissions/membership" : {+ "/api/premium-features/token/status" : {"get" : {- "summary" : "GET /api/permissions/membership",- "description" : "Fetch a map describing the group memberships of various users.\n This map's format is:\n\n {<user-id> [{:membership_id <id>\n :group_id <id>\n :is_group_manager boolean}]}",+ "summary" : "GET /api/premium-features/token/status",+ "description" : "Fetch info about the current Premium-Features premium features token including whether it is `valid`, a `trial` token, its\n `features`, when it is `valid-thru`, and the `status` of the account.","parameters" : [ ],"responses" : {"2XX" : {@@ -36596,12 +36036,21 @@"description" : "Server error response"}},- "tags" : [ "/api/permissions" ]- },- "post" : {- "summary" : "POST /api/permissions/membership",- "description" : "Add a `User` to a `PermissionsGroup`. Returns updated list of members belonging to the group.",- "parameters" : [ ],+ "tags" : [ "/api/premium-features" ]+ }+ },+ "/api/preview_embed/card/{token}" : {+ "get" : {+ "summary" : "GET /api/preview_embed/card/{token}",+ "description" : "Fetch a Card you're considering embedding by passing a JWT `token`.",+ "parameters" : [ {+ "in" : "path",+ "name" : "token",+ "required" : true,+ "schema" : {+ "type" : "string"+ }+ } ],"responses" : {"2XX" : {"description" : "Successful response"@@ -36613,52 +36062,35 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "group_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "is_group_manager" : {- "default" : false,- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "user_id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }- },- "required" : [ "group_id", "user_id", "is_group_manager" ]- }- }- }- },- "tags" : [ "/api/permissions" ]+ "tags" : [ "/api/preview_embed" ]}},- "/api/permissions/membership/{group-id}/clear" : {- "put" : {- "summary" : "PUT /api/permissions/membership/{group-id}/clear",- "description" : "Remove all members from a `PermissionsGroup`. Returns a 400 (Bad Request) if the group ID is for the admin group.",+ "/api/preview_embed/card/{token}/params/{param-key}/remapping" : {+ "get" : {+ "summary" : "GET /api/preview_embed/card/{token}/params/{param-key}/remapping",+ "description" : "Embedded version of api.card filter values endpoint.","parameters" : [ {"in" : "path",- "name" : "group-id",+ "name" : "token","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "type" : "string"+ }+ }, {+ "in" : "path",+ "name" : "param-key",+ "required" : true,+ "schema" : {+ "type" : "string",+ "minLength" : 1+ }+ }, {+ "in" : "query",+ "name" : "value",+ "required" : true,+ "schema" : {+ "type" : "string"+ }} ],"responses" : {"2XX" : {@@ -36671,471 +36103,27 @@"description" : "Server error response"}},- "tags" : [ "/api/permissions" ]+ "tags" : [ "/api/preview_embed" ]}},- "/api/permissions/membership/{id}" : {- "put" : {- "summary" : "PUT /api/permissions/membership/{id}",- "description" : "Update a Permission Group membership. Returns the updated record.",+ "/api/preview_embed/card/{token}/params/{param-key}/values" : {+ "get" : {+ "summary" : "GET /api/preview_embed/card/{token}/params/{param-key}/values",+ "description" : "Embedded version of api.card filter values endpoint.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "token","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "is_group_manager" : {- "type" : "boolean"- }- },- "required" : [ "is_group_manager" ]- }- }- }- },- "tags" : [ "/api/permissions" ]- },- "delete" : {- "summary" : "DELETE /api/permissions/membership/{id}",- "description" : "Remove a User from a PermissionsGroup (delete their membership).",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/permissions" ]- }- },- "/api/persist/" : {- "get" : {- "summary" : "GET /api/persist/",- "description" : "List the entries of [[PersistedInfo]] in order to show a status page.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/card/{card-id}" : {- "get" : {- "summary" : "GET /api/persist/card/{card-id}",- "description" : "Fetch a particular [[PersistedInfo]] by card-id.",- "parameters" : [ {- "in" : "path",- "name" : "card-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/card/{card-id}/persist" : {- "post" : {- "summary" : "POST /api/persist/card/{card-id}/persist",- "description" : "Mark the model (card) as persisted. Runs the query and saves it to the database backing the card and hot swaps this\n query in place of the model's query.",- "parameters" : [ {- "in" : "path",- "name" : "card-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/card/{card-id}/refresh" : {- "post" : {- "summary" : "POST /api/persist/card/{card-id}/refresh",- "description" : "Refresh the persisted model caching `card-id`.",- "parameters" : [ {- "in" : "path",- "name" : "card-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/card/{card-id}/unpersist" : {- "post" : {- "summary" : "POST /api/persist/card/{card-id}/unpersist",- "description" : "Unpersist this model. Deletes the persisted table backing the model and all queries after this will use the card's\n query rather than the saved version of the query.",- "parameters" : [ {- "in" : "path",- "name" : "card-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/database/{id}/persist" : {- "post" : {- "summary" : "POST /api/persist/database/{id}/persist",- "description" : "Attempt to enable model persistence for a database. If already enabled returns a generic 204.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/database/{id}/unpersist" : {- "post" : {- "summary" : "POST /api/persist/database/{id}/unpersist",- "description" : "Attempt to disable model persistence for a database. If already not enabled, just returns a generic 204.",- "parameters" : [ {- "in" : "path",- "name" : "id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/disable" : {- "post" : {- "summary" : "POST /api/persist/disable",- "description" : "Disable global setting to allow databases to persist models. This will remove all tasks to refresh tables, remove\n that option from databases which might have it enabled, and delete all cached tables.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/enable" : {- "post" : {- "summary" : "POST /api/persist/enable",- "description" : "Enable global setting to allow databases to persist models.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/set-refresh-schedule" : {- "post" : {- "summary" : "POST /api/persist/set-refresh-schedule",- "description" : "Set the cron schedule to refresh persisted models.\n Shape should be JSON like {cron: \"0 30 1/8 * * ? *\"}.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "cron" : {- "description" : "Value must be a string representing a cron schedule of format <seconds> <minutes> <hours> <day of month> <month> <day of week> <year>",- "type" : "string",- "minLength" : 1- }- },- "required" : [ "cron" ]- }- }- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/persist/{persisted-info-id}" : {- "get" : {- "summary" : "GET /api/persist/{persisted-info-id}",- "description" : "Fetch a particular [[PersistedInfo]] by id.",- "parameters" : [ {- "in" : "path",- "name" : "persisted-info-id",- "required" : true,- "schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/persist" ]- }- },- "/api/premium-features/token/status" : {- "get" : {- "summary" : "GET /api/premium-features/token/status",- "description" : "Fetch info about the current Premium-Features premium features token including whether it is `valid`, a `trial` token, its\n `features`, when it is `valid-thru`, and the `status` of the account.",- "parameters" : [ ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/premium-features" ]- }- },- "/api/preview_embed/card/{token}" : {- "get" : {- "summary" : "GET /api/preview_embed/card/{token}",- "description" : "Fetch a Card you're considering embedding by passing a JWT `token`.",- "parameters" : [ {- "in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/preview_embed" ]- }- },- "/api/preview_embed/card/{token}/params/{param-key}/remapping" : {- "get" : {- "summary" : "GET /api/preview_embed/card/{token}/params/{param-key}/remapping",- "description" : "Embedded version of api.card filter values endpoint.",- "parameters" : [ {- "in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "param-key",- "required" : true,- "schema" : {- "type" : "string",- "minLength" : 1- }- }, {- "in" : "query",- "name" : "value",- "required" : true,- "schema" : {- "type" : "string"- }- } ],- "responses" : {- "2XX" : {- "description" : "Successful response"- },- "4XX" : {- "description" : "Client error response"- },- "5XX" : {- "description" : "Server error response"- }- },- "tags" : [ "/api/preview_embed" ]- }- },- "/api/preview_embed/card/{token}/params/{param-key}/values" : {- "get" : {- "summary" : "GET /api/preview_embed/card/{token}/params/{param-key}/values",- "description" : "Embedded version of api.card filter values endpoint.",- "parameters" : [ {- "in" : "path",- "name" : "token",- "required" : true,- "schema" : {- "type" : "string"- }- }, {- "in" : "path",- "name" : "param-key",- "required" : true,- "schema" : {- "type" : "string"- }+ "type" : "string"+ }+ }, {+ "in" : "path",+ "name" : "param-key",+ "required" : true,+ "schema" : {+ "type" : "string"+ }} ],"responses" : {"2XX" : {@@ -42351,9 +41339,3231 @@"name" : "archived","required" : true,"schema" : {- "default" : false,- "type" : "boolean"- }+ "default" : false,+ "type" : "boolean"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase.timeline.api.timeline.Timeline"+ }+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/timeline" ]+ }+ },+ "/api/timeline/collection/root" : {+ "get" : {+ "summary" : "GET /api/timeline/collection/root",+ "description" : "Fetch the root Collection's timelines.",+ "parameters" : [ {+ "in" : "query",+ "name" : "include",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "const" : "events"+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "archived",+ "required" : true,+ "schema" : {+ "default" : false,+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/timeline" ]+ }+ },+ "/api/timeline/collection/{id}" : {+ "get" : {+ "summary" : "GET /api/timeline/collection/{id}",+ "description" : "Fetch a specific Collection's timelines.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "query",+ "name" : "include",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "const" : "events"+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "archived",+ "required" : true,+ "schema" : {+ "default" : false,+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/timeline" ]+ }+ },+ "/api/timeline/{id}" : {+ "get" : {+ "summary" : "GET /api/timeline/{id}",+ "description" : "Fetch the `Timeline` with `id`. Include `include=events` to unarchived events included on the timeline. Add\n `archived=true` to return all events on the timeline, both archived and unarchived.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "query",+ "name" : "include",+ "required" : false,+ "schema" : {+ "$ref" : "#/components/schemas/metabase.timeline.api.timeline.include"+ }+ }, {+ "in" : "query",+ "name" : "archived",+ "required" : true,+ "schema" : {+ "default" : "false",+ "type" : "boolean"+ }+ }, {+ "in" : "query",+ "name" : "start",+ "required" : false,+ "schema" : {+ "type" : "string"+ },+ "description" : "value must be a valid date string"+ }, {+ "in" : "query",+ "name" : "end",+ "required" : false,+ "schema" : {+ "type" : "string"+ },+ "description" : "value must be a valid date string"+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase.timeline.api.timeline.Timeline"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/timeline" ]+ },+ "put" : {+ "summary" : "PUT /api/timeline/{id}",+ "description" : "Update the [[Timeline]] with `id`. Returns the timeline without events. Archiving a timeline will archive all of the\n events in that timeline.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "archived" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "collection_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "default" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "icon" : {+ "oneOf" : [ {+ "type" : "string",+ "enum" : [ "star", "cake", "mail", "warning", "bell", "cloud" ]+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/timeline" ]+ },+ "delete" : {+ "summary" : "DELETE /api/timeline/{id}",+ "description" : "Delete a [[Timeline]]. Will cascade delete its events as well.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/timeline" ]+ }+ },+ "/api/transform-job/" : {+ "post" : {+ "summary" : "POST /api/transform-job/",+ "description" : "Create a new transform job.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "built_in_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_method" : {+ "type" : "string"+ },+ "updated_at" : { },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout" ]+ },+ "job_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "created_at" : { },+ "start_time" : { }+ },+ "required" : [ "id", "job_id", "run_method", "status", "is_active", "start_time", "message", "created_at", "updated_at" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "ui_display_type" : {+ "type" : "string",+ "enum" : [ "cron/raw", "cron/builder" ]+ },+ "next_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "start_time" : { }+ },+ "required" : [ "start_time" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ },+ "schedule" : {+ "type" : "string"+ },+ "updated_at" : { },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ },+ "created_at" : { },+ "description" : {+ "oneOf" : [ {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "schedule", "ui_display_type", "entity_id", "created_at", "updated_at" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "description" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string",+ "minLength" : 1+ },+ "schedule" : {+ "type" : "string",+ "minLength" : 1+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "ui_display_type" : {+ "default" : "cron/raw",+ "type" : "string",+ "enum" : [ "cron/raw", "cron/builder" ]+ }+ },+ "required" : [ "name", "schedule", "ui_display_type" ]+ }+ }+ }+ },+ "tags" : [ "/api/transform-job" ]+ },+ "get" : {+ "summary" : "GET /api/transform-job/",+ "description" : "Get all transform jobs.",+ "parameters" : [ {+ "in" : "query",+ "name" : "last_run_start_time",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "next_run_start_time",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "last_run_statuses",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout" ]+ }+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "tag_ids",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater or equal to than zero.",+ "type" : "integer",+ "minimum" : 0+ }+ }, {+ "type" : "null"+ } ]+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "built_in_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_method" : {+ "type" : "string"+ },+ "updated_at" : { },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout" ]+ },+ "job_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "created_at" : { },+ "start_time" : { }+ },+ "required" : [ "id", "job_id", "run_method", "status", "is_active", "start_time", "message", "created_at", "updated_at" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "ui_display_type" : {+ "type" : "string",+ "enum" : [ "cron/raw", "cron/builder" ]+ },+ "next_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "start_time" : { }+ },+ "required" : [ "start_time" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ },+ "schedule" : {+ "type" : "string"+ },+ "updated_at" : { },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ },+ "created_at" : { },+ "description" : {+ "oneOf" : [ {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "schedule", "ui_display_type", "entity_id", "created_at", "updated_at" ],+ "additionalProperties" : false+ }+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform-job" ]+ }+ },+ "/api/transform-job/{job-id}" : {+ "put" : {+ "summary" : "PUT /api/transform-job/{job-id}",+ "description" : "Update a transform job.",+ "parameters" : [ {+ "in" : "path",+ "name" : "job-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "built_in_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_method" : {+ "type" : "string"+ },+ "updated_at" : { },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout" ]+ },+ "job_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "created_at" : { },+ "start_time" : { }+ },+ "required" : [ "id", "job_id", "run_method", "status", "is_active", "start_time", "message", "created_at", "updated_at" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "ui_display_type" : {+ "type" : "string",+ "enum" : [ "cron/raw", "cron/builder" ]+ },+ "next_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "start_time" : { }+ },+ "required" : [ "start_time" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ },+ "schedule" : {+ "type" : "string"+ },+ "updated_at" : { },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ },+ "created_at" : { },+ "description" : {+ "oneOf" : [ {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "schedule", "ui_display_type", "entity_id", "created_at", "updated_at" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "description" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string",+ "minLength" : 1+ },+ "schedule" : {+ "type" : "string",+ "minLength" : 1+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "ui_display_type" : {+ "type" : "string",+ "enum" : [ "cron/raw", "cron/builder" ]+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/transform-job" ]+ },+ "delete" : {+ "summary" : "DELETE /api/transform-job/{job-id}",+ "description" : "Delete a transform job.",+ "parameters" : [ {+ "in" : "path",+ "name" : "job-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform-job" ]+ },+ "get" : {+ "summary" : "GET /api/transform-job/{job-id}",+ "description" : "Get a transform job by ID.",+ "parameters" : [ {+ "in" : "path",+ "name" : "job-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "built_in_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_method" : {+ "type" : "string"+ },+ "updated_at" : { },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout" ]+ },+ "job_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "created_at" : { },+ "start_time" : { }+ },+ "required" : [ "id", "job_id", "run_method", "status", "is_active", "start_time", "message", "created_at", "updated_at" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "ui_display_type" : {+ "type" : "string",+ "enum" : [ "cron/raw", "cron/builder" ]+ },+ "next_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "start_time" : { }+ },+ "required" : [ "start_time" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ },+ "schedule" : {+ "type" : "string"+ },+ "updated_at" : { },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ },+ "created_at" : { },+ "description" : {+ "oneOf" : [ {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "schedule", "ui_display_type", "entity_id", "created_at", "updated_at" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform-job" ]+ }+ },+ "/api/transform-job/{job-id}/run" : {+ "post" : {+ "summary" : "POST /api/transform-job/{job-id}/run",+ "description" : "Run a transform job manually.",+ "parameters" : [ {+ "in" : "path",+ "name" : "job-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "job_run_id" : {+ "type" : "string"+ },+ "message" : {+ "type" : "string"+ }+ },+ "required" : [ "message", "job_run_id" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform-job" ]+ }+ },+ "/api/transform-job/{job-id}/transforms" : {+ "get" : {+ "summary" : "GET /api/transform-job/{job-id}/transforms",+ "description" : "Get the transforms of job specified by the job's ID.",+ "parameters" : [ {+ "in" : "path",+ "name" : "job-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "source_type" : {+ "type" : "string"+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "creator" : {+ "type" : "object",+ "properties" : {+ "is_qbnewb" : {+ "type" : "boolean"+ },+ "last_login" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "email" : {+ "type" : "string"+ },+ "is_data_analyst" : {+ "type" : "boolean"+ },+ "is_superuser" : {+ "type" : "boolean"+ },+ "tenant_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "date_joined" : { },+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "email", "first_name", "last_name" ],+ "additionalProperties" : false+ },+ "name" : {+ "type" : "string"+ },+ "updated_at" : { },+ "dependency_analysis_version" : {+ "type" : "integer"+ },+ "collection_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "source" : { },+ "target" : { },+ "created_at" : { },+ "creator_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_trigger" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "source", "target", "source_type", "entity_id", "created_at", "updated_at", "creator_id", "collection_id", "dependency_analysis_version", "creator" ]+ }+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform-job" ]+ }+ },+ "/api/transform-tag/" : {+ "post" : {+ "summary" : "POST /api/transform-tag/",+ "description" : "Create a new transform tag.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "built_in_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "can_run" : {+ "type" : "boolean"+ },+ "created_at" : { },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ },+ "updated_at" : { }+ },+ "required" : [ "id", "name", "entity_id", "created_at", "updated_at" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "name" : {+ "type" : "string",+ "minLength" : 1+ }+ },+ "required" : [ "name" ]+ }+ }+ }+ },+ "tags" : [ "/api/transform-tag" ]+ },+ "get" : {+ "summary" : "GET /api/transform-tag/",+ "description" : "Get a list of all transform tags.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "built_in_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "can_run" : {+ "type" : "boolean"+ },+ "created_at" : { },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ },+ "updated_at" : { }+ },+ "required" : [ "id", "name", "entity_id", "created_at", "updated_at" ],+ "additionalProperties" : false+ }+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform-tag" ]+ }+ },+ "/api/transform-tag/{tag-id}" : {+ "put" : {+ "summary" : "PUT /api/transform-tag/{tag-id}",+ "description" : "Update a transform tag.",+ "parameters" : [ {+ "in" : "path",+ "name" : "tag-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "built_in_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "can_run" : {+ "type" : "boolean"+ },+ "created_at" : { },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ },+ "updated_at" : { }+ },+ "required" : [ "id", "name", "entity_id", "created_at", "updated_at" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "name" : {+ "type" : "string",+ "minLength" : 1+ }+ },+ "required" : [ "name" ]+ }+ }+ }+ },+ "tags" : [ "/api/transform-tag" ]+ },+ "delete" : {+ "summary" : "DELETE /api/transform-tag/{tag-id}",+ "description" : "Delete a transform tag. Removes it from all transforms and jobs.",+ "parameters" : [ {+ "in" : "path",+ "name" : "tag-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform-tag" ]+ }+ },+ "/api/transform/" : {+ "get" : {+ "summary" : "GET /api/transform/",+ "description" : "Get a list of transforms.",+ "parameters" : [ {+ "in" : "query",+ "name" : "last_run_start_time",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "last_run_statuses",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout" ]+ }+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "tag_ids",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater or equal to than zero.",+ "type" : "integer",+ "minimum" : 0+ }+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "database_id",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "table" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : { }+ }, {+ "type" : "null"+ } ]+ },+ "owner" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "email" : {+ "type" : "string"+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "email" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_type" : {+ "type" : "string"+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_method" : {+ "type" : "string"+ },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout", "canceled", "canceling" ]+ },+ "transform_entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "transform_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "start_time" : { }+ },+ "required" : [ "id", "transform_id", "run_method", "status", "is_active", "start_time", "message", "user_id" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_database_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "owner_email" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target_db_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "creator" : {+ "type" : "object",+ "properties" : {+ "is_qbnewb" : {+ "type" : "boolean"+ },+ "last_login" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "email" : {+ "type" : "string"+ },+ "is_data_analyst" : {+ "type" : "boolean"+ },+ "is_superuser" : {+ "type" : "boolean"+ },+ "tenant_id" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "date_joined" : { },+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "email", "first_name", "last_name" ],+ "additionalProperties" : false+ },+ "owner_user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "updated_at" : { },+ "dependency_analysis_version" : {+ "type" : "integer"+ },+ "source_readable" : {+ "type" : "boolean"+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ },+ "collection_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "source" : { },+ "target" : { },+ "created_at" : { },+ "creator_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_trigger" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "source", "target", "source_type", "entity_id", "created_at", "updated_at", "creator_id", "collection_id", "dependency_analysis_version", "creator" ],+ "additionalProperties" : false+ }+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform" ]+ },+ "post" : {+ "summary" : "POST /api/transform/",+ "description" : "Create a new transform.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "table" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : { }+ }, {+ "type" : "null"+ } ]+ },+ "owner" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "email" : {+ "type" : "string"+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "email" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_type" : {+ "type" : "string"+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_method" : {+ "type" : "string"+ },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout", "canceled", "canceling" ]+ },+ "transform_entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "transform_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "start_time" : { }+ },+ "required" : [ "id", "transform_id", "run_method", "status", "is_active", "start_time", "message", "user_id" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_database_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "owner_email" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target_db_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "creator" : {+ "type" : "object",+ "properties" : {+ "is_qbnewb" : {+ "type" : "boolean"+ },+ "last_login" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "email" : {+ "type" : "string"+ },+ "is_data_analyst" : {+ "type" : "boolean"+ },+ "is_superuser" : {+ "type" : "boolean"+ },+ "tenant_id" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "date_joined" : { },+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "email", "first_name", "last_name" ],+ "additionalProperties" : false+ },+ "owner_user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "updated_at" : { },+ "dependency_analysis_version" : {+ "type" : "integer"+ },+ "source_readable" : {+ "type" : "boolean"+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ },+ "collection_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "source" : { },+ "target" : { },+ "created_at" : { },+ "creator_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_trigger" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "source", "target", "source_type", "entity_id", "created_at", "updated_at", "creator_id", "collection_id", "dependency_analysis_version", "creator" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "owner_email" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "owner_user_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "collection_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "source" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.transform-source"+ },+ "target" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.transform-target"+ },+ "run_trigger" : {+ "$ref" : "#/components/schemas/metabase.transforms.api.transform.run-trigger"+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "name", "source", "target" ]+ }+ }+ }+ },+ "tags" : [ "/api/transform" ]+ }+ },+ "/api/transform/extract-columns" : {+ "post" : {+ "summary" : "POST /api/transform/extract-columns",+ "description" : "Extract column names suitable for incremental transform checkpoint filtering.\n\n This endpoint is specifically for populating the checkpoint column dropdown in\n incremental transforms. It only returns columns with types supported for checkpoint\n filtering: temporal (timestamp/tz) and numeric (int/float) types.\n\n Text, boolean, and other unsupported column types are filtered out.\n\n The query is compiled to native SQL using [[qp.compile/compile-with-inline-parameters]],\n which handles parameterized queries with template tags. Then extracts column names\n and types using PreparedStatement metadata.\n\n Returns a map with a :columns key containing a vector of column names (strings).\n If extraction fails, returns nil for :columns.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "columns" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "type" : "string"+ }+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "columns" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "query" : {+ "$ref" : "#/components/schemas/metabase.query-processor.schema.any-query"+ }+ },+ "required" : [ "query" ]+ }+ }+ }+ },+ "tags" : [ "/api/transform" ]+ }+ },+ "/api/transform/is-simple-query" : {+ "post" : {+ "summary" : "POST /api/transform/is-simple-query",+ "description" : "Checks if a native SQL query string is simple enough for automatic checkpoint insertion",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "is_simple" : {+ "type" : "boolean"+ },+ "reason" : {+ "type" : "string"+ }+ },+ "required" : [ "is_simple" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "query" : {+ "type" : "string"+ }+ },+ "required" : [ "query" ]+ }+ }+ }+ },+ "tags" : [ "/api/transform" ]+ }+ },+ "/api/transform/run" : {+ "get" : {+ "summary" : "GET /api/transform/run",+ "description" : "Get transform runs based on a set of filter params.",+ "parameters" : [ {+ "in" : "query",+ "name" : "sort_column",+ "required" : false,+ "schema" : {+ "type" : "string",+ "enum" : [ "transform-name", "start-time", "end-time", "status", "run-method", "transform-tags" ]+ }+ }, {+ "in" : "query",+ "name" : "sort_direction",+ "required" : false,+ "schema" : {+ "type" : "string",+ "enum" : [ "asc", "desc" ]+ }+ }, {+ "in" : "query",+ "name" : "transform_ids",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater or equal to than zero.",+ "type" : "integer",+ "minimum" : 0+ }+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "statuses",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout" ]+ }+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "transform_tag_ids",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater or equal to than zero.",+ "type" : "integer",+ "minimum" : 0+ }+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "start_time",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "end_time",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ }+ }, {+ "in" : "query",+ "name" : "run_methods",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "array",+ "items" : {+ "type" : "string",+ "enum" : [ "manual", "cron" ]+ }+ }, {+ "type" : "null"+ } ]+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "data" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "transform" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "collection" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : { }+ }, {+ "type" : "null"+ } ]+ },+ "collection_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "deleted" : {+ "type" : "boolean"+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "name" : {+ "type" : "string"+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ }+ },+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "run_method" : {+ "type" : "string"+ },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout", "canceled", "canceling" ]+ },+ "transform_entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "transform_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "start_time" : { }+ },+ "required" : [ "id", "transform_id", "run_method", "status", "is_active", "start_time", "message", "user_id" ],+ "additionalProperties" : false+ }+ },+ "limit" : {+ "type" : "integer",+ "minimum" : 1+ },+ "offset" : {+ "type" : "integer"+ },+ "total" : {+ "type" : "integer"+ }+ },+ "required" : [ "data", "limit", "offset", "total" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform" ]+ }+ },+ "/api/transform/{id}" : {+ "get" : {+ "summary" : "GET /api/transform/{id}",+ "description" : "Get a specific transform.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "table" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : { }+ }, {+ "type" : "null"+ } ]+ },+ "owner" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "email" : {+ "type" : "string"+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "email" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_type" : {+ "type" : "string"+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_method" : {+ "type" : "string"+ },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout", "canceled", "canceling" ]+ },+ "transform_entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "transform_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "start_time" : { }+ },+ "required" : [ "id", "transform_id", "run_method", "status", "is_active", "start_time", "message", "user_id" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_database_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "owner_email" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target_db_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "creator" : {+ "type" : "object",+ "properties" : {+ "is_qbnewb" : {+ "type" : "boolean"+ },+ "last_login" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "email" : {+ "type" : "string"+ },+ "is_data_analyst" : {+ "type" : "boolean"+ },+ "is_superuser" : {+ "type" : "boolean"+ },+ "tenant_id" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "date_joined" : { },+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "email", "first_name", "last_name" ],+ "additionalProperties" : false+ },+ "owner_user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "updated_at" : { },+ "dependency_analysis_version" : {+ "type" : "integer"+ },+ "source_readable" : {+ "type" : "boolean"+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ },+ "collection_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "source" : { },+ "target" : { },+ "created_at" : { },+ "creator_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_trigger" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "source", "target", "source_type", "entity_id", "created_at", "updated_at", "creator_id", "collection_id", "dependency_analysis_version", "creator" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/transform" ]+ },+ "put" : {+ "summary" : "PUT /api/transform/{id}",+ "description" : "Update a transform.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "table" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : { }+ }, {+ "type" : "null"+ } ]+ },+ "owner" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "email" : {+ "type" : "string"+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "email" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_type" : {+ "type" : "string"+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_method" : {+ "type" : "string"+ },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout", "canceled", "canceling" ]+ },+ "transform_entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "transform_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "start_time" : { }+ },+ "required" : [ "id", "transform_id", "run_method", "status", "is_active", "start_time", "message", "user_id" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_database_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "owner_email" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target_db_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "creator" : {+ "type" : "object",+ "properties" : {+ "is_qbnewb" : {+ "type" : "boolean"+ },+ "last_login" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "email" : {+ "type" : "string"+ },+ "is_data_analyst" : {+ "type" : "boolean"+ },+ "is_superuser" : {+ "type" : "boolean"+ },+ "tenant_id" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "date_joined" : { },+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "email", "first_name", "last_name" ],+ "additionalProperties" : false+ },+ "owner_user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "updated_at" : { },+ "dependency_analysis_version" : {+ "type" : "integer"+ },+ "source_readable" : {+ "type" : "boolean"+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ },+ "collection_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "source" : { },+ "target" : { },+ "created_at" : { },+ "creator_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_trigger" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "source", "target", "source_type", "entity_id", "created_at", "updated_at", "creator_id", "collection_id", "dependency_analysis_version", "creator" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "owner_email" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "owner_user_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "collection_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "source" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.transform-source"+ },+ "target" : {+ "$ref" : "#/components/schemas/metabase.transforms.schema.transform-target"+ },+ "run_trigger" : {+ "$ref" : "#/components/schemas/metabase.transforms.api.transform.run-trigger"+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/transform" ]+ },+ "delete" : {+ "summary" : "DELETE /api/transform/{id}",+ "description" : "Delete a transform.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {@@ -42361,10 +44571,7 @@"content" : {"application/json" : {"schema" : {- "type" : "array",- "items" : {- "$ref" : "#/components/schemas/metabase.timeline.api.timeline.Timeline"- }+ "type" : "null"}}}@@ -42376,40 +44583,33 @@"description" : "Server error response"}},- "tags" : [ "/api/timeline" ]+ "tags" : [ "/api/transform" ]}},- "/api/timeline/collection/root" : {- "get" : {- "summary" : "GET /api/timeline/collection/root",- "description" : "Fetch the root Collection's timelines.",+ "/api/transform/{id}/cancel" : {+ "post" : {+ "summary" : "POST /api/transform/{id}/cancel",+ "description" : "Cancel the current run for a given transform.","parameters" : [ {- "in" : "query",- "name" : "include",- "required" : false,- "schema" : {- "oneOf" : [ {- "const" : "events"- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "archived",+ "in" : "path",+ "name" : "id","required" : true,"schema" : {- "default" : false,- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- }+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -42418,13 +44618,13 @@"description" : "Server error response"}},- "tags" : [ "/api/timeline" ]+ "tags" : [ "/api/transform" ]}},- "/api/timeline/collection/{id}" : {+ "/api/transform/{id}/dependencies" : {"get" : {- "summary" : "GET /api/timeline/collection/{id}",- "description" : "Fetch a specific Collection's timelines.",+ "summary" : "GET /api/transform/{id}/dependencies",+ "description" : "Get the dependencies of a specific transform.","parameters" : [ {"in" : "path","name" : "id",@@ -42434,33 +44634,285 @@"minimum" : 1},"description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "include",- "required" : false,- "schema" : {- "oneOf" : [ {- "const" : "events"- }, {- "type" : "null"- } ]- }- }, {- "in" : "query",- "name" : "archived",- "required" : true,- "schema" : {- "default" : false,- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- }} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "table" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : { }+ }, {+ "type" : "null"+ } ]+ },+ "owner" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "email" : {+ "type" : "string"+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "email" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_type" : {+ "type" : "string"+ },+ "entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "last_run" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_method" : {+ "type" : "string"+ },+ "status" : {+ "type" : "string",+ "enum" : [ "started", "succeeded", "failed", "timeout", "canceled", "canceling" ]+ },+ "transform_entity_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "end_time" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "transform_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "start_time" : { }+ },+ "required" : [ "id", "transform_id", "run_method", "status", "is_active", "start_time", "message", "user_id" ],+ "additionalProperties" : false+ }, {+ "type" : "null"+ } ]+ },+ "source_database_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "owner_email" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target_db_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "creator" : {+ "type" : "object",+ "properties" : {+ "is_qbnewb" : {+ "type" : "boolean"+ },+ "last_login" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "email" : {+ "type" : "string"+ },+ "is_data_analyst" : {+ "type" : "boolean"+ },+ "is_superuser" : {+ "type" : "boolean"+ },+ "tenant_id" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "date_joined" : { },+ "common_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "email", "first_name", "last_name" ],+ "additionalProperties" : false+ },+ "owner_user_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "updated_at" : { },+ "dependency_analysis_version" : {+ "type" : "integer"+ },+ "source_readable" : {+ "type" : "boolean"+ },+ "tag_ids" : {+ "type" : "array",+ "items" : {+ "type" : "integer",+ "minimum" : 1+ }+ },+ "collection_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "source" : { },+ "target" : { },+ "created_at" : { },+ "creator_id" : {+ "type" : "integer",+ "minimum" : 1+ },+ "run_trigger" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "name", "description", "source", "target", "source_type", "entity_id", "created_at", "updated_at", "creator_id", "collection_id", "dependency_analysis_version", "creator" ],+ "additionalProperties" : false+ }+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -42469,13 +44921,13 @@"description" : "Server error response"}},- "tags" : [ "/api/timeline" ]+ "tags" : [ "/api/transform" ]}},- "/api/timeline/{id}" : {+ "/api/transform/{id}/merge-history" : {"get" : {- "summary" : "GET /api/timeline/{id}",- "description" : "Fetch the `Timeline` with `id`. Include `include=events` to unarchived events included on the timeline. Add\n `archived=true` to return all events on the timeline, both archived and unarchived.",+ "summary" : "GET /api/transform/{id}/merge-history",+ "description" : "Get merge history for a transform. Returns all merge events that affected this transform,\n ordered by created_at descending (newest first).","parameters" : [ {"in" : "path","name" : "id",@@ -42485,37 +44937,6 @@"minimum" : 1},"description" : "value must be an integer greater than zero."- }, {- "in" : "query",- "name" : "include",- "required" : false,- "schema" : {- "$ref" : "#/components/schemas/metabase.timeline.api.timeline.include"- }- }, {- "in" : "query",- "name" : "archived",- "required" : true,- "schema" : {- "default" : "false",- "type" : "boolean"- }- }, {- "in" : "query",- "name" : "start",- "required" : false,- "schema" : {- "type" : "string"- },- "description" : "value must be a valid date string"- }, {- "in" : "query",- "name" : "end",- "required" : false,- "schema" : {- "type" : "string"- },- "description" : "value must be a valid date string"} ],"responses" : {"2XX" : {@@ -42523,7 +44944,44 @@"content" : {"application/json" : {"schema" : {- "$ref" : "#/components/schemas/metabase.timeline.api.timeline.Timeline"+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "commit_message" : {+ "type" : "string"+ },+ "created_at" : { },+ "id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "merging_user_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "workspace_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },+ "workspace_merge_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "workspace_name" : {+ "type" : "string"+ }+ },+ "required" : [ "id", "workspace_merge_id", "commit_message", "workspace_id", "workspace_name", "merging_user_id", "created_at" ]+ }}}}@@ -42535,11 +44993,13 @@"description" : "Server error response"}},- "tags" : [ "/api/timeline" ]- },- "put" : {- "summary" : "PUT /api/timeline/{id}",- "description" : "Update the [[Timeline]] with `id`. Returns the timeline without events. Archiving a timeline will archive all of the\n events in that timeline.",+ "tags" : [ "/api/transform" ]+ }+ },+ "/api/transform/{id}/run" : {+ "post" : {+ "summary" : "POST /api/transform/{id}/run",+ "description" : "Run a transform.","parameters" : [ {"in" : "path","name" : "id",@@ -42552,7 +45012,36 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "body" : {+ "type" : "object",+ "properties" : {+ "message" : { },+ "run_id" : {+ "oneOf" : [ {+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "message", "run_id" ],+ "additionalProperties" : false+ },+ "status" : {+ "const" : 202+ }+ },+ "required" : [ "status", "body" ]+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -42561,68 +45050,13 @@"description" : "Server error response"}},- "requestBody" : {- "content" : {- "application/json" : {- "schema" : {- "type" : "object",- "properties" : {- "archived" : {- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "collection_id" : {- "oneOf" : [ {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }, {- "type" : "null"- } ]- },- "default" : {- "oneOf" : [ {- "type" : "boolean"- }, {- "type" : "null"- } ]- },- "description" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "icon" : {- "oneOf" : [ {- "type" : "string",- "enum" : [ "star", "cake", "mail", "warning", "bell", "cloud" ]- }, {- "type" : "null"- } ]- },- "name" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- }- }- }- }- }- },- "tags" : [ "/api/timeline" ]- },+ "tags" : [ "/api/transform" ]+ }+ },+ "/api/transform/{id}/table" : {"delete" : {- "summary" : "DELETE /api/timeline/{id}",- "description" : "Delete a [[Timeline]]. Will cascade delete its events as well.",+ "summary" : "DELETE /api/transform/{id}/table",+ "description" : "Delete a transform's output table.","parameters" : [ {"in" : "path","name" : "id",@@ -42635,7 +45069,14 @@} ],"responses" : {"2XX" : {- "description" : "Successful response"+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"+ }+ }+ }},"4XX" : {"description" : "Client error response"@@ -42644,7 +45085,7 @@"description" : "Server error response"}},- "tags" : [ "/api/timeline" ]+ "tags" : [ "/api/transform" ]}},"/api/upload/csv" : {@@ -43383,4 +45824,4 @@"url" : "http://localhost:3000","description" : "Localhost"} ]-}+}\ No newline at end of file