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 (#68219)

github-automation-metabasefd2bf97c1f3e
diff --git a/docs/api.json b/docs/api.json
index 98697ba4ca4..07b0df8700d 100644
--- a/docs/api.json
+++ b/docs/api.json
@@ -16184,7 +16184,7 @@
"type" : "array",
"items" : {
"type" : "string",
- "enum" : [ "dashboard", "table", "dataset", "no_models", "timeline", "snippet", "collection", "document", "pulse", "metric", "card" ]
+ "enum" : [ "dashboard", "table", "dataset", "no_models", "timeline", "snippet", "collection", "transform", "document", "pulse", "metric", "card" ]
}
}, {
"type" : "null"
@@ -16706,7 +16706,7 @@
"type" : "array",
"items" : {
"type" : "string",
- "enum" : [ "dashboard", "table", "dataset", "no_models", "timeline", "snippet", "collection", "document", "pulse", "metric", "card" ]
+ "enum" : [ "dashboard", "table", "dataset", "no_models", "timeline", "snippet", "collection", "transform", "document", "pulse", "metric", "card" ]
}
}, {
"type" : "null"
@@ -22146,7 +22146,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@256bd10b>, :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@77998aa2>, :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 +22181,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@256bd10b>, :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@77998aa2>, :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 +22228,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@256bd10b>, :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@77998aa2>, :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 +22286,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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>}> 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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>}> 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" : {
@@ -22363,7 +22363,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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>}> 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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>}> dispatched by :type>, :total -> <natural integer>, :offset -> <natural integer>, :limit -> <value must be an integer greater than zero.>}",
"content" : {
"application/json" : {
"schema" : {
@@ -22449,7 +22449,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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>}> 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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>}> dispatched by :type",
"content" : {
"application/json" : {
"schema" : {
@@ -22529,7 +22529,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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>} | :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$eval52753$fn__52754@74ba60fc>}> 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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>} | :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$eval52777$fn__52778@18708501>}> dispatched by :type>, :total -> <natural integer>, :offset -> <natural integer>, :limit -> <value must be an integer greater than zero.>}",
"content" : {
"application/json" : {
"schema" : {
@@ -25309,7 +25309,7 @@
"parameters" : [ ],
"responses" : {
"2XX" : {
- "description" : "map where {:dirty -> <sequence of map where {:id -> <integer greater than 0>, :name -> <nullable string>, :model -> <string>, :sync_status -> <string>, :created_at (optional) -> <anything>, :updated_at (optional) -> <nullable anything>, :collection_id (optional) -> <nullable integer greater than 0>, :authority_level (optional) -> <nullable string>, :display (optional) -> <nullable string>, :query_type (optional) -> <nullable string>, :description (optional) -> <nullable string>}>}",
+ "description" : "map where {:dirty -> <sequence of map where {:id -> <integer greater than 0>, :name -> <nullable string>, :model -> <string>, :sync_status -> <string>, :created_at (optional) -> <anything>, :updated_at (optional) -> <nullable anything>, :collection_id (optional) -> <nullable integer greater than 0>, :authority_level (optional) -> <nullable string>, :display (optional) -> <nullable string>, :query_type (optional) -> <nullable string>, :description (optional) -> <nullable string>, :table_id (optional) -> <nullable integer greater than 0>, :table_name (optional) -> <nullable string>}>}",
"content" : {
"application/json" : {
"schema" : {
@@ -25320,6 +25320,13 @@
"items" : {
"type" : "object",
"properties" : {
+ "table_name" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
"model" : {
"type" : "string"
},
@@ -25346,6 +25353,14 @@
"type" : "null"
} ]
},
+ "table_id" : {
+ "oneOf" : [ {
+ "type" : "integer",
+ "minimum" : 1
+ }, {
+ "type" : "null"
+ } ]
+ },
"query_type" : {
"oneOf" : [ {
"type" : "string"
@@ -25435,6 +25450,62 @@
"tags" : [ "/api/ee/remote-sync" ]
}
},
+ "/api/ee/remote-sync/has-remote-changes" : {
+ "get" : {
+ "summary" : "GET /api/ee/remote-sync/has-remote-changes",
+ "description" : "Check if there are new changes on the remote branch that can be pulled.\n Uses in-memory caching (configurable TTL via remote-sync-check-changes-cache-ttl-seconds setting).\n\n Returns:\n - has_changes: true if remote version differs from last imported version, or if never imported\n - remote_version: current Git SHA on remote branch\n - local_version: Git SHA of last successful import (nil if never imported)\n - cached: true if result was served from cache",
+ "parameters" : [ {
+ "in" : "query",
+ "name" : "force-refresh",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ } ],
+ "responses" : {
+ "2XX" : {
+ "description" : "map where {:has_changes -> <boolean>, :remote_version -> <nullable string>, :local_version -> <nullable string>, :cached -> <boolean>}",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object",
+ "properties" : {
+ "cached" : {
+ "type" : "boolean"
+ },
+ "has_changes" : {
+ "type" : "boolean"
+ },
+ "local_version" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "remote_version" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ }
+ },
+ "required" : [ "has_changes", "remote_version", "local_version", "cached" ]
+ }
+ }
+ }
+ },
+ "4XX" : {
+ "description" : "Client error response"
+ },
+ "5XX" : {
+ "description" : "Server error response"
+ }
+ },
+ "tags" : [ "/api/ee/remote-sync" ]
+ }
+ },
"/api/ee/remote-sync/import" : {
"post" : {
"summary" : "POST /api/ee/remote-sync/import",
diff --git a/docs/configuring-metabase/config-template.md b/docs/configuring-metabase/config-template.md
index da0131e65f6..95c55ec518b 100644
--- a/docs/configuring-metabase/config-template.md
+++ b/docs/configuring-metabase/config-template.md
@@ -222,6 +222,7 @@ config:
redirect-all-requests-to-https: false
remote-sync-auto-import: false
remote-sync-auto-import-rate: 5
+ remote-sync-check-changes-cache-ttl-seconds: 60
remote-sync-task-time-limit-ms: 300000
report-timezone: null
reset-token-ttl-hours: 48
diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.md
index e68323181ed..b2a9d97438f 100644
--- a/docs/configuring-metabase/environment-variables.md
+++ b/docs/configuring-metabase/environment-variables.md
@@ -1369,6 +1369,14 @@ Whether to automatically import from the remote git repository. Only applies if
If remote-sync-type is :read-only and remote-sync-auto-import is true, the rate (in minutes) at which to check for updates to import. Defaults to 5.
+### `MB_REMOTE_SYNC_CHECK_CHANGES_CACHE_TTL_SECONDS`
+
+- Type: integer
+- Default: `60`
+- [Configuration file name](./config-file.md): `remote-sync-check-changes-cache-ttl-seconds`
+
+Time-to-live in seconds for the remote changes check cache. Default is 60 seconds.
+
### `MB_REMOTE_SYNC_TASK_TIME_LIMIT_MS`
- Type: integer