| title | summary |
|---|---|
Cache |
API endpoints for Cache.
|
API endpoints for Cache.
Delete cache configurations.
-
modelenum of root, database, dashboard, question. -
model_idvector of value must be an integer greater than zero.
Return cache configuration.
-
modelType of model. -
collectionCollection id to filter results. Returns everything if not supplied. -
idModel id to get configuration for.
Invalidate cache entries.
Use it like /api/cache/invalidate?database=1&dashboard=15 (any number of database/dashboard/question can be
supplied).
&include=overrides controls whenever you want to invalidate cache for a specific cache configuration without
touching all nested configurations, or you want your invalidation to trickle down to every card.
-
includeAll cache configuration overrides should invalidate cache too. -
databaseA database id. -
dashboardA dashboard id. -
questionA question id.
Store cache configuration.
-
modelenum of root, database, dashboard, question. -
model_idvalue must be an integer greater than zero. -
strategymap where {:type -> <enum of :nocache, :ttl>}, and one of <:nocache = map where {:type -> } | :ttl = map where {:type -> , :multiplier -> , :min_duration_ms -> } with no other keys> dispatched by :type. -
config