Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Auto-update documentation for master (#68402)

github-automation-metabase45b4b682cc98
diff --git a/docs/api.json b/docs/api.json
index 9cfc443a9cf..1d53986c845 100644
--- a/docs/api.json
+++ b/docs/api.json
@@ -10872,6 +10872,10 @@
"description" : "Options that tweak the behavior of the query processor.",
"type" : "object",
"properties" : {
+ "include-sensitive-fields" : {
+ "description" : "Whether to include fields with visibility_type :sensitive when fetching query metadata.",
+ "type" : "boolean"
+ },
"report-timezone" : {
"description" : "The timezone the query should be ran in, overriding the default report timezone for the instance.",
"$ref" : "#/components/schemas/metabase.lib.schema.expression.temporal.timezone-id"
@@ -12437,6 +12441,244 @@
}
}
},
+ "metabase.task-history.api.RunEntity" : {
+ "type" : "object",
+ "properties" : {
+ "entity_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "entity_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "entity_type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "card", "database" ]
+ }
+ },
+ "required" : [ "entity_type", "entity_id" ]
+ },
+ "metabase.task-history.api.RunFilterParams" : {
+ "type" : "object",
+ "properties" : {
+ "entity-id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "entity-type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "card", "database" ]
+ },
+ "run-type" : {
+ "type" : "string",
+ "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
+ },
+ "status" : {
+ "type" : "string",
+ "enum" : [ "started", "success", "failed", "abandoned" ]
+ }
+ }
+ },
+ "metabase.task-history.api.TaskHistory" : {
+ "type" : "object",
+ "properties" : {
+ "task_details" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : { }
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "started_at" : { },
+ "ended_at" : {
+ "oneOf" : [ { }, {
+ "type" : "null"
+ } ]
+ },
+ "status" : {
+ "type" : "string",
+ "enum" : [ "started", "success", "failed", "unknown" ]
+ },
+ "logs" : {
+ "oneOf" : [ { }, {
+ "type" : "null"
+ } ]
+ },
+ "task" : {
+ "type" : "string"
+ },
+ "duration" : {
+ "oneOf" : [ {
+ "type" : "integer"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "run_id" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "id", "task", "started_at", "ended_at", "duration", "status" ]
+ },
+ "metabase.task-history.api.TaskRun" : {
+ "type" : "object",
+ "properties" : {
+ "run_type" : {
+ "type" : "string",
+ "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
+ },
+ "entity_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "started_at" : { },
+ "failed_count" : {
+ "type" : "integer"
+ },
+ "ended_at" : {
+ "oneOf" : [ { }, {
+ "type" : "null"
+ } ]
+ },
+ "entity_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "status" : {
+ "type" : "string",
+ "enum" : [ "started", "success", "failed", "abandoned" ]
+ },
+ "task_count" : {
+ "type" : "integer"
+ },
+ "success_count" : {
+ "type" : "integer"
+ },
+ "entity_type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "card", "database" ]
+ }
+ },
+ "required" : [ "id", "run_type", "entity_type", "entity_id", "started_at", "ended_at", "status" ]
+ },
+ "metabase.task-history.api.TaskRunWithTasks" : {
+ "type" : "object",
+ "properties" : {
+ "run_type" : {
+ "type" : "string",
+ "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
+ },
+ "tasks" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.task-history.api.TaskHistory"
+ }
+ },
+ "entity_id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "started_at" : { },
+ "failed_count" : {
+ "type" : "integer"
+ },
+ "ended_at" : {
+ "oneOf" : [ { }, {
+ "type" : "null"
+ } ]
+ },
+ "entity_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "status" : {
+ "type" : "string",
+ "enum" : [ "started", "success", "failed", "abandoned" ]
+ },
+ "task_count" : {
+ "type" : "integer"
+ },
+ "success_count" : {
+ "type" : "integer"
+ },
+ "entity_type" : {
+ "type" : "string",
+ "enum" : [ "dashboard", "card", "database" ]
+ }
+ },
+ "required" : [ "id", "run_type", "entity_type", "entity_id", "started_at", "ended_at", "status", "tasks" ]
+ },
+ "metabase.task-history.api.TaskRunsResponse" : {
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.task-history.api.TaskRun"
+ }
+ },
+ "limit" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "offset" : {
+ "oneOf" : [ {
+ "description" : "value must be an integer greater or equal to than zero.",
+ "type" : "integer",
+ "minimum" : 0
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "total" : {
+ "description" : "value must be an integer greater or equal to than zero.",
+ "type" : "integer",
+ "minimum" : 0
+ }
+ },
+ "required" : [ "total", "limit", "offset", "data" ]
+ },
"metabase.tiles.api.legacy-ref" : {
"description" : "Form-encoded JSON-encoded legacy MBQL :field ref.",
"$ref" : "#/components/schemas/metabase.legacy-mbql.schema.field"
@@ -20040,7 +20282,7 @@
"/api/dataset/query_metadata" : {
"post" : {
"summary" : "POST /api/dataset/query_metadata",
- "description" : "Get all of the required query metadata for an ad-hoc query.",
+ "description" : "Get all of the required query metadata for an ad-hoc query.\n\n You can pass `{:settings {:include-sensitive-fields true}}` in the query to include fields with\n visibility_type :sensitive in the response.",
"parameters" : [ ],
"responses" : {
"2XX" : {
@@ -20063,6 +20305,18 @@
"description" : "value must be an integer greater than zero.",
"type" : "integer",
"minimum" : 1
+ },
+ "settings" : {
+ "oneOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "include_sensitive_fields" : {
+ "type" : "boolean"
+ }
+ }
+ }, {
+ "type" : "null"
+ } ]
}
},
"required" : [ "database" ]
@@ -22146,7 +22400,7 @@
"parameters" : [ ],
"responses" : {
"2XX" : {
- "description" : "map where {:success -> <boolean>, :bad_cards (optional) -> <sequence of Schema for an instance of a `:model/Card` (everything is optional to support updates).>, :bad_transforms (optional) -> <sequence of map where {:description (optional) -> <nullable string>, :name -> <string>, :source -> <one of <:query = map where {:type -> <must equal :query>, :query -> <Schema for Card.dataset_query. Cards are for some wacko reason allowed to be saved with empty queries (`{}`), but not\n `NULL` ones, because the column is non-null. This sorta seems like an oversight but fixing all the tests that save\n Cards with empty queries is too much to attempt at this point. So a Card either has an empty query or a valid MBQL 5\n query.>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>} | :python = map where {:source-database (optional) -> <integer>, :source-tables -> <map from <string> to <Either a table ID (int) or a reference map.>>, :type -> <must equal :python>, :body -> <string>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>}> dispatched by clojure.core$comp$fn__5897@450f1097>, :target -> <one of <table = map where {:database (optional) -> <integer>, :type -> <must equal table>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>} | table-incremental = map where {:database (optional) -> <integer>, :type -> <must equal table-incremental>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>, :target-incremental-strategy -> <one of <append = map where {:type -> <must equal append>}> dispatched by :type>}> dispatched by :type>}>}",
+ "description" : "map where {:success -> <boolean>, :bad_cards (optional) -> <sequence of Schema for an instance of a `:model/Card` (everything is optional to support updates).>, :bad_transforms (optional) -> <sequence of map where {:description (optional) -> <nullable string>, :name -> <string>, :source -> <one of <:query = map where {:type -> <must equal :query>, :query -> <Schema for Card.dataset_query. Cards are for some wacko reason allowed to be saved with empty queries (`{}`), but not\n `NULL` ones, because the column is non-null. This sorta seems like an oversight but fixing all the tests that save\n Cards with empty queries is too much to attempt at this point. So a Card either has an empty query or a valid MBQL 5\n query.>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>} | :python = map where {:source-database (optional) -> <integer>, :source-tables -> <map from <string> to <Either a table ID (int) or a reference map.>>, :type -> <must equal :python>, :body -> <string>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>}> dispatched by clojure.core$comp$fn__5897@2541517c>, :target -> <one of <table = map where {:database (optional) -> <integer>, :type -> <must equal table>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>} | table-incremental = map where {:database (optional) -> <integer>, :type -> <must equal table-incremental>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>, :target-incremental-strategy -> <one of <append = map where {:type -> <must equal append>}> dispatched by :type>}> dispatched by :type>}>}",
"content" : {
"application/json" : {
"schema" : {
@@ -22181,7 +22435,7 @@
"parameters" : [ ],
"responses" : {
"2XX" : {
- "description" : "map where {:success -> <boolean>, :bad_cards (optional) -> <sequence of Schema for an instance of a `:model/Card` (everything is optional to support updates).>, :bad_transforms (optional) -> <sequence of map where {:description (optional) -> <nullable string>, :name -> <string>, :source -> <one of <:query = map where {:type -> <must equal :query>, :query -> <Schema for Card.dataset_query. Cards are for some wacko reason allowed to be saved with empty queries (`{}`), but not\n `NULL` ones, because the column is non-null. This sorta seems like an oversight but fixing all the tests that save\n Cards with empty queries is too much to attempt at this point. So a Card either has an empty query or a valid MBQL 5\n query.>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>} | :python = map where {:source-database (optional) -> <integer>, :source-tables -> <map from <string> to <Either a table ID (int) or a reference map.>>, :type -> <must equal :python>, :body -> <string>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>}> dispatched by clojure.core$comp$fn__5897@450f1097>, :target -> <one of <table = map where {:database (optional) -> <integer>, :type -> <must equal table>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>} | table-incremental = map where {:database (optional) -> <integer>, :type -> <must equal table-incremental>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>, :target-incremental-strategy -> <one of <append = map where {:type -> <must equal append>}> dispatched by :type>}> dispatched by :type>}>}",
+ "description" : "map where {:success -> <boolean>, :bad_cards (optional) -> <sequence of Schema for an instance of a `:model/Card` (everything is optional to support updates).>, :bad_transforms (optional) -> <sequence of map where {:description (optional) -> <nullable string>, :name -> <string>, :source -> <one of <:query = map where {:type -> <must equal :query>, :query -> <Schema for Card.dataset_query. Cards are for some wacko reason allowed to be saved with empty queries (`{}`), but not\n `NULL` ones, because the column is non-null. This sorta seems like an oversight but fixing all the tests that save\n Cards with empty queries is too much to attempt at this point. So a Card either has an empty query or a valid MBQL 5\n query.>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>} | :python = map where {:source-database (optional) -> <integer>, :source-tables -> <map from <string> to <Either a table ID (int) or a reference map.>>, :type -> <must equal :python>, :body -> <string>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>}> dispatched by clojure.core$comp$fn__5897@2541517c>, :target -> <one of <table = map where {:database (optional) -> <integer>, :type -> <must equal table>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>} | table-incremental = map where {:database (optional) -> <integer>, :type -> <must equal table-incremental>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>, :target-incremental-strategy -> <one of <append = map where {:type -> <must equal append>}> dispatched by :type>}> dispatched by :type>}>}",
"content" : {
"application/json" : {
"schema" : {
@@ -22228,7 +22482,7 @@
"parameters" : [ ],
"responses" : {
"2XX" : {
- "description" : "map where {:success -> <boolean>, :bad_cards (optional) -> <sequence of Schema for an instance of a `:model/Card` (everything is optional to support updates).>, :bad_transforms (optional) -> <sequence of map where {:description (optional) -> <nullable string>, :name -> <string>, :source -> <one of <:query = map where {:type -> <must equal :query>, :query -> <Schema for Card.dataset_query. Cards are for some wacko reason allowed to be saved with empty queries (`{}`), but not\n `NULL` ones, because the column is non-null. This sorta seems like an oversight but fixing all the tests that save\n Cards with empty queries is too much to attempt at this point. So a Card either has an empty query or a valid MBQL 5\n query.>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>} | :python = map where {:source-database (optional) -> <integer>, :source-tables -> <map from <string> to <Either a table ID (int) or a reference map.>>, :type -> <must equal :python>, :body -> <string>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>}> dispatched by clojure.core$comp$fn__5897@450f1097>, :target -> <one of <table = map where {:database (optional) -> <integer>, :type -> <must equal table>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>} | table-incremental = map where {:database (optional) -> <integer>, :type -> <must equal table-incremental>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>, :target-incremental-strategy -> <one of <append = map where {:type -> <must equal append>}> dispatched by :type>}> dispatched by :type>}>}",
+ "description" : "map where {:success -> <boolean>, :bad_cards (optional) -> <sequence of Schema for an instance of a `:model/Card` (everything is optional to support updates).>, :bad_transforms (optional) -> <sequence of map where {:description (optional) -> <nullable string>, :name -> <string>, :source -> <one of <:query = map where {:type -> <must equal :query>, :query -> <Schema for Card.dataset_query. Cards are for some wacko reason allowed to be saved with empty queries (`{}`), but not\n `NULL` ones, because the column is non-null. This sorta seems like an oversight but fixing all the tests that save\n Cards with empty queries is too much to attempt at this point. So a Card either has an empty query or a valid MBQL 5\n query.>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>} | :python = map where {:source-database (optional) -> <integer>, :source-tables -> <map from <string> to <Either a table ID (int) or a reference map.>>, :type -> <must equal :python>, :body -> <string>, :source-incremental-strategy (optional) -> <one of <checkpoint = map where {:type -> <must equal checkpoint>, :checkpoint-filter (optional) -> <string>, :checkpoint-filter-unique-key (optional) -> <regex pattern matching #\"^column-unique-key-v\\d+\\$.+$\">}> dispatched by :type>}> dispatched by clojure.core$comp$fn__5897@2541517c>, :target -> <one of <table = map where {:database (optional) -> <integer>, :type -> <must equal table>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>} | table-incremental = map where {:database (optional) -> <integer>, :type -> <must equal table-incremental>, :schema (optional) -> <value must be a non-blank string., or null>, :name -> <string>, :target-incremental-strategy -> <one of <append = map where {:type -> <must equal append>}> dispatched by :type>}> dispatched by :type>}>}",
"content" : {
"application/json" : {
"schema" : {
@@ -22286,7 +22540,7 @@
} ],
"responses" : {
"2XX" : {
- "description" : "map where {:nodes -> <sequence of one of <:table = map where {:id -> <integer greater than 0>, :type -> <must equal :table>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :display_name (optional) -> <anything>, :db_id (optional) -> <anything>, :db (optional) -> <anything>, :schema (optional) -> <anything>, :fields (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :card = map where {:id -> <integer greater than 0>, :type -> <must equal :card>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :snippet = map where {:id -> <integer greater than 0>, :type -> <must equal :snippet>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :transform = map where {:id -> <integer greater than 0>, :type -> <must equal :transform>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :creator (optional) -> <anything>, :table (optional) -> <anything>, :last_run (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :dashboard = map where {:id -> <integer greater than 0>, :type -> <must equal :dashboard>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :moderation_reviews (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :document = map where {:id -> <integer greater than 0>, :type -> <must equal :document>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :sandbox = map where {:id -> <integer greater than 0>, :type -> <must equal :sandbox>, :data -> <map where {:table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :segment = map where {:id -> <integer greater than 0>, :type -> <must equal :segment>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :measure = map where {:id -> <integer greater than 0>, :type -> <must equal :measure>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>}> dispatched by :type>, :edges -> <sequence of map where {:from_entity_type -> <enum of :transform, :table, :snippet, :dashboard, :sandbox, :measure, :card, :document, :segment>, :from_entity_id -> <integer greater than 0>, :to_entity_type -> <enum of :transform, :table, :snippet, :dashboard, :sandbox, :measure, :card, :document, :segment>, :to_entity_id -> <integer greater than 0>}>}",
+ "description" : "map where {:nodes -> <sequence of one of <:table = map where {:id -> <integer greater than 0>, :type -> <must equal :table>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :display_name (optional) -> <anything>, :db_id (optional) -> <anything>, :db (optional) -> <anything>, :schema (optional) -> <anything>, :fields (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :card = map where {:id -> <integer greater than 0>, :type -> <must equal :card>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :snippet = map where {:id -> <integer greater than 0>, :type -> <must equal :snippet>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :transform = map where {:id -> <integer greater than 0>, :type -> <must equal :transform>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :creator (optional) -> <anything>, :table (optional) -> <anything>, :last_run (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :dashboard = map where {:id -> <integer greater than 0>, :type -> <must equal :dashboard>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :moderation_reviews (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :document = map where {:id -> <integer greater than 0>, :type -> <must equal :document>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :sandbox = map where {:id -> <integer greater than 0>, :type -> <must equal :sandbox>, :data -> <map where {:table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :segment = map where {:id -> <integer greater than 0>, :type -> <must equal :segment>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :measure = map where {:id -> <integer greater than 0>, :type -> <must equal :measure>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>}> dispatched by :type>, :edges -> <sequence of map where {:from_entity_type -> <enum of :transform, :table, :snippet, :dashboard, :sandbox, :measure, :card, :document, :segment>, :from_entity_id -> <integer greater than 0>, :to_entity_type -> <enum of :transform, :table, :snippet, :dashboard, :sandbox, :measure, :card, :document, :segment>, :to_entity_id -> <integer greater than 0>}>}",
"content" : {
"application/json" : {
"schema" : {
@@ -22379,7 +22633,7 @@
} ],
"responses" : {
"2XX" : {
- "description" : "map where {:data -> <sequence of one of <:table = map where {:id -> <integer greater than 0>, :type -> <must equal :table>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :display_name (optional) -> <anything>, :db_id (optional) -> <anything>, :db (optional) -> <anything>, :schema (optional) -> <anything>, :fields (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :card = map where {:id -> <integer greater than 0>, :type -> <must equal :card>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :snippet = map where {:id -> <integer greater than 0>, :type -> <must equal :snippet>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :transform = map where {:id -> <integer greater than 0>, :type -> <must equal :transform>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :creator (optional) -> <anything>, :table (optional) -> <anything>, :last_run (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :dashboard = map where {:id -> <integer greater than 0>, :type -> <must equal :dashboard>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :moderation_reviews (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :document = map where {:id -> <integer greater than 0>, :type -> <must equal :document>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :sandbox = map where {:id -> <integer greater than 0>, :type -> <must equal :sandbox>, :data -> <map where {:table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :segment = map where {:id -> <integer greater than 0>, :type -> <must equal :segment>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :measure = map where {:id -> <integer greater than 0>, :type -> <must equal :measure>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>}> dispatched by :type>, :total -> <natural integer>, :offset -> <natural integer>, :limit -> <value must be an integer greater than zero.>}",
+ "description" : "map where {:data -> <sequence of one of <:table = map where {:id -> <integer greater than 0>, :type -> <must equal :table>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :display_name (optional) -> <anything>, :db_id (optional) -> <anything>, :db (optional) -> <anything>, :schema (optional) -> <anything>, :fields (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :card = map where {:id -> <integer greater than 0>, :type -> <must equal :card>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :snippet = map where {:id -> <integer greater than 0>, :type -> <must equal :snippet>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :transform = map where {:id -> <integer greater than 0>, :type -> <must equal :transform>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :creator (optional) -> <anything>, :table (optional) -> <anything>, :last_run (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :dashboard = map where {:id -> <integer greater than 0>, :type -> <must equal :dashboard>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :moderation_reviews (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :document = map where {:id -> <integer greater than 0>, :type -> <must equal :document>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :sandbox = map where {:id -> <integer greater than 0>, :type -> <must equal :sandbox>, :data -> <map where {:table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :segment = map where {:id -> <integer greater than 0>, :type -> <must equal :segment>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :measure = map where {:id -> <integer greater than 0>, :type -> <must equal :measure>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>}> dispatched by :type>, :total -> <natural integer>, :offset -> <natural integer>, :limit -> <value must be an integer greater than zero.>}",
"content" : {
"application/json" : {
"schema" : {
@@ -22465,7 +22719,7 @@
} ],
"responses" : {
"2XX" : {
- "description" : "sequence of one of <:table = map where {:id -> <integer greater than 0>, :type -> <must equal :table>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :display_name (optional) -> <anything>, :db_id (optional) -> <anything>, :db (optional) -> <anything>, :schema (optional) -> <anything>, :fields (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :card = map where {:id -> <integer greater than 0>, :type -> <must equal :card>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :snippet = map where {:id -> <integer greater than 0>, :type -> <must equal :snippet>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :transform = map where {:id -> <integer greater than 0>, :type -> <must equal :transform>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :creator (optional) -> <anything>, :table (optional) -> <anything>, :last_run (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :dashboard = map where {:id -> <integer greater than 0>, :type -> <must equal :dashboard>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :moderation_reviews (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :document = map where {:id -> <integer greater than 0>, :type -> <must equal :document>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :sandbox = map where {:id -> <integer greater than 0>, :type -> <must equal :sandbox>, :data -> <map where {:table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :segment = map where {:id -> <integer greater than 0>, :type -> <must equal :segment>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :measure = map where {:id -> <integer greater than 0>, :type -> <must equal :measure>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>}> dispatched by :type",
+ "description" : "sequence of one of <:table = map where {:id -> <integer greater than 0>, :type -> <must equal :table>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :display_name (optional) -> <anything>, :db_id (optional) -> <anything>, :db (optional) -> <anything>, :schema (optional) -> <anything>, :fields (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :card = map where {:id -> <integer greater than 0>, :type -> <must equal :card>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :snippet = map where {:id -> <integer greater than 0>, :type -> <must equal :snippet>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :transform = map where {:id -> <integer greater than 0>, :type -> <must equal :transform>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :creator (optional) -> <anything>, :table (optional) -> <anything>, :last_run (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :dashboard = map where {:id -> <integer greater than 0>, :type -> <must equal :dashboard>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :moderation_reviews (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :document = map where {:id -> <integer greater than 0>, :type -> <must equal :document>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :sandbox = map where {:id -> <integer greater than 0>, :type -> <must equal :sandbox>, :data -> <map where {:table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :segment = map where {:id -> <integer greater than 0>, :type -> <must equal :segment>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :measure = map where {:id -> <integer greater than 0>, :type -> <must equal :measure>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>}> dispatched by :type",
"content" : {
"application/json" : {
"schema" : {
@@ -22561,7 +22815,7 @@
} ],
"responses" : {
"2XX" : {
- "description" : "map where {:data -> <sequence of one of <:table = map where {:id -> <integer greater than 0>, :type -> <must equal :table>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :display_name (optional) -> <anything>, :db_id (optional) -> <anything>, :db (optional) -> <anything>, :schema (optional) -> <anything>, :fields (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :card = map where {:id -> <integer greater than 0>, :type -> <must equal :card>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :snippet = map where {:id -> <integer greater than 0>, :type -> <must equal :snippet>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :transform = map where {:id -> <integer greater than 0>, :type -> <must equal :transform>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :creator (optional) -> <anything>, :table (optional) -> <anything>, :last_run (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :dashboard = map where {:id -> <integer greater than 0>, :type -> <must equal :dashboard>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :moderation_reviews (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :document = map where {:id -> <integer greater than 0>, :type -> <must equal :document>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :sandbox = map where {:id -> <integer greater than 0>, :type -> <must equal :sandbox>, :data -> <map where {:table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :segment = map where {:id -> <integer greater than 0>, :type -> <must equal :segment>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>} | :measure = map where {:id -> <integer greater than 0>, :type -> <must equal :measure>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52826$fn__52827@4b839d3c>}> dispatched by :type>, :total -> <natural integer>, :offset -> <natural integer>, :limit -> <value must be an integer greater than zero.>}",
+ "description" : "map where {:data -> <sequence of one of <:table = map where {:id -> <integer greater than 0>, :type -> <must equal :table>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :display_name (optional) -> <anything>, :db_id (optional) -> <anything>, :db (optional) -> <anything>, :schema (optional) -> <anything>, :fields (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :card = map where {:id -> <integer greater than 0>, :type -> <must equal :card>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :snippet = map where {:id -> <integer greater than 0>, :type -> <must equal :snippet>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :transform = map where {:id -> <integer greater than 0>, :type -> <must equal :transform>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :creator (optional) -> <anything>, :table (optional) -> <anything>, :last_run (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :dashboard = map where {:id -> <integer greater than 0>, :type -> <must equal :dashboard>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :moderation_reviews (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :document = map where {:id -> <integer greater than 0>, :type -> <must equal :document>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :view_count (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :sandbox = map where {:id -> <integer greater than 0>, :type -> <must equal :sandbox>, :data -> <map where {:table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :segment = map where {:id -> <integer greater than 0>, :type -> <must equal :segment>, :data -> <map where {:name (optional) -> <anything>, :type (optional) -> <anything>, :display (optional) -> <anything>, :database_id (optional) -> <anything>, :view_count (optional) -> <anything>, :query_type (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :description (optional) -> <anything>, :result_metadata (optional) -> <anything>, :last-edit-info (optional) -> <anything>, :collection (optional) -> <anything>, :collection_id (optional) -> <anything>, :dashboard (optional) -> <anything>, :dashboard_id (optional) -> <anything>, :document (optional) -> <anything>, :document_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>} | :measure = map where {:id -> <integer greater than 0>, :type -> <must equal :measure>, :data -> <map where {:name (optional) -> <anything>, :description (optional) -> <anything>, :created_at (optional) -> <anything>, :creator (optional) -> <anything>, :creator_id (optional) -> <anything>, :table (optional) -> <anything>, :table_id (optional) -> <anything>}>, :dependents_count -> <nullable map from <enum of :table, :snippet, :transform, :dashboard, :document, :sandbox, :segment, :question, :model, :metric, :measure> to <integer greater than 0>>, :errors (optional) -> <set of map where {:type -> <keyword, and function>}, and one of <:validate/missing-column = map where {:type -> <must equal :validate/missing-column>, :name -> <string>} | :validate/missing-table-alias = map where {:type -> <must equal :validate/missing-table-alias>, :name -> <string>} | :validate/duplicate-column = map where {:type -> <must equal :validate/duplicate-column>, :name -> <string>} | :validate/syntax-error = map where {:type -> <must equal :validate/syntax-error>} | :validate/validation-exception-error = map where {:type -> <must equal :validate/validation-exception-error>, :message -> <string>}> dispatched by metabase.lib.schema.validate$eval52839$fn__52840@63d8c712>}> dispatched by :type>, :total -> <natural integer>, :offset -> <natural integer>, :limit -> <value must be an integer greater than zero.>}",
"content" : {
"application/json" : {
"schema" : {
@@ -36975,6 +37229,104 @@
"tags" : [ "/api/task" ]
}
},
+ "/api/task/runs" : {
+ "get" : {
+ "summary" : "GET /api/task/runs",
+ "description" : "List task runs with optional filters. Returns runs with hydrated entity names and task counts.",
+ "parameters" : [ ],
+ "responses" : {
+ "2XX" : {
+ "description" : "map where {:total -> <value must be an integer greater or equal to than zero.>, :limit -> <nullable value must be an integer greater than zero.>, :offset -> <nullable value must be an integer greater or equal to than zero.>, :data -> <sequence of map where {:id -> <value must be an integer greater than zero.>, :run_type -> <enum of :alert, :sync, :fingerprint, :subscription>, :entity_type -> <enum of :dashboard, :card, :database>, :entity_id -> <value must be an integer greater than zero.>, :started_at -> <anything>, :ended_at -> <nullable anything>, :status -> <enum of :started, :success, :failed, :abandoned>, :entity_name (optional) -> <nullable string>, :task_count (optional) -> <integer>, :success_count (optional) -> <integer>, :failed_count (optional) -> <integer>}>}",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/metabase.task-history.api.TaskRunsResponse"
+ }
+ }
+ }
+ },
+ "4XX" : {
+ "description" : "Client error response"
+ },
+ "5XX" : {
+ "description" : "Server error response"
+ }
+ },
+ "tags" : [ "/api/task" ]
+ }
+ },
+ "/api/task/runs/entities" : {
+ "get" : {
+ "summary" : "GET /api/task/runs/entities",
+ "description" : "Get distinct entities that have task runs for a given run type. Used for populating entity filter picker.",
+ "parameters" : [ {
+ "in" : "query",
+ "name" : "run-type",
+ "required" : true,
+ "schema" : {
+ "type" : "string",
+ "enum" : [ "alert", "sync", "fingerprint", "subscription" ]
+ }
+ } ],
+ "responses" : {
+ "2XX" : {
+ "description" : "sequence of map where {:entity_type -> <enum of :dashboard, :card, :database>, :entity_id -> <value must be an integer greater than zero.>, :entity_name (optional) -> <nullable string>}",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/metabase.task-history.api.RunEntity"
+ }
+ }
+ }
+ }
+ },
+ "4XX" : {
+ "description" : "Client error response"
+ },
+ "5XX" : {
+ "description" : "Server error response"
+ }
+ },
+ "tags" : [ "/api/task" ]
+ }
+ },
+ "/api/task/runs/{id}" : {
+ "get" : {
+ "summary" : "GET /api/task/runs/{id}",
+ "description" : "Get a single task run with all its child tasks.",
+ "parameters" : [ {
+ "in" : "path",
+ "name" : "id",
+ "required" : true,
+ "schema" : {
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "description" : "value must be an integer greater than zero."
+ } ],
+ "responses" : {
+ "2XX" : {
+ "description" : "map where {:id -> <value must be an integer greater than zero.>, :run_type -> <enum of :alert, :sync, :fingerprint, :subscription>, :entity_type -> <enum of :dashboard, :card, :database>, :entity_id -> <value must be an integer greater than zero.>, :started_at -> <anything>, :ended_at -> <nullable anything>, :status -> <enum of :started, :success, :failed, :abandoned>, :entity_name (optional) -> <nullable string>, :task_count (optional) -> <integer>, :success_count (optional) -> <integer>, :failed_count (optional) -> <integer>, :tasks -> <sequence of map where {:id -> <value must be an integer greater than zero.>, :task -> <string>, :started_at -> <anything>, :ended_at -> <nullable anything>, :duration -> <nullable integer>, :status -> <enum of :started, :success, :failed, :unknown>, :task_details (optional) -> <nullable map>, :run_id (optional) -> <nullable value must be an integer greater than zero.>, :logs (optional) -> <nullable anything>}>}",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/metabase.task-history.api.TaskRunWithTasks"
+ }
+ }
+ }
+ },
+ "4XX" : {
+ "description" : "Client error response"
+ },
+ "5XX" : {
+ "description" : "Server error response"
+ }
+ },
+ "tags" : [ "/api/task" ]
+ }
+ },
"/api/task/unique-tasks" : {
"get" : {
"summary" : "GET /api/task/unique-tasks",