mirror of
https://github.com/apache/superset.git
synced 2026-05-22 00:05:15 +00:00
Snapshots all four versioned Docusaurus sections at v6.1.0. Built on top of the version-cutting tooling work in chore/docs-cut-6.1.0-versions so the snapshot benefits from: - Auto-gen refresh before snapshotting (database pages from engine spec metadata, API reference from openapi.json, component pages from Storybook stories) — captured at the SHA we cut from rather than whatever happened to be on disk. - Data-import freeze: country list, feature flag table, database diagnostics, and component metadata are copied into snapshot-local `_versioned_data/` dirs so the historical version doesn't silently mutate when the source files change. - Depth-aware import-path rewriter that handles deeply-nested component MDX files referencing `../../../src/` from the snapshot. Versioning behavior: `lastVersion` stays at `current` for every section, so the canonical URLs (`/docs/...`, `/admin-docs/...`, `/developer-docs/...`, `/components/...`) continue to render content from master. The `current` version is consistently labeled "Next" with an `unreleased` banner, and `6.1.0` is a historical pin accessible only via its explicit version segment. Component playground: previously `disabled: true` in versions-config.json, now enabled and versioned. The plugin block in docusaurus.config.ts was already gated only by the `disabled` flag, so no other code changes were needed to bring it back online. The frozen `databases.json` in the snapshot is the canonical 80-database artifact from the latest committed state in master (preserved by the generator's input-hash cache), not a fallback regenerated from a local Flask environment.
69 lines
3.8 KiB
Plaintext
69 lines
3.8 KiB
Plaintext
---
|
|
id: compute-and-cache-a-screenshot-dashboard-pk-cache-dashboard-screenshot
|
|
title: "Compute and cache a screenshot (dashboard-pk-cache-dashboard-screenshot)"
|
|
description: "Compute and cache a screenshot (dashboard-pk-cache-dashboard-screenshot)"
|
|
sidebar_label: "Compute and cache a screenshot (dashboard-pk-cache-dashboard-screenshot)"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFWG1v2zYQ/isEMaAJpsRJ0QGFin5IsxZtt7VB7GIDoiA9SxeLtUSyJOXEE/TfhyNlvdjOVqwB+skmeXfkPffw7qiaazBQokNjeXxVcyF5zDW4nEdcQok0WvKIG/xaCYMZj52pMOI2zbEEHtfcrTVJCelwgYY3zXWQRuteqWxNIqmSDqWjv6B1IVJwQsnJF6skzfW2t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CowdfCvRJerjBwjhm6DFm/E2DbTCIzPG7LVAbmZB+5z1KsMuRbg2+VbkN7gPVfZOmbvpx8/HIdEIW7XBzX1UAPwWXNI0hSDF4kMuPlWd4PZVkRaIVXgcaEWByR6+ILTZR+niHNV6spRg561vRsMOhp20OF5pJdHXuCon+oFD3nEA670AFKWouxfRTHfjVWtl82/hYsY4vNeyDqhw9jLA77tzu+0zDJcYaF0idK1GdTzMxiqtVFOpapo4smkJlNNXNOFbXasnVfWqXJjIuIrMALmRUjzGzOhpbsF6lHCMXnEUVYlZdR2SD8+p47tv53NLlhnp4k4nWZsr/N353DTUBpojR6eTBn27oKMkC9jI3uhavW9dONfoZvy4HvD4KQvEjWfe9a/Uab0vdv7P2e8fdLSLQ6rfXvqnW4iUr4xeGvQ5v/XCFmxSl727+PXj/tAklVRXNNDQt6q3eZ8Wmk0FoeN9WCKGBrkVqcBeOtK8L1B+yngEW/X6GBdZ+Hw3k10AUK2r1vPTH/xrjhoQac8HTbxPOKx/0Dx8P3jEScUAxeveF3PweInUzQNTX+t0FADcd1fB39LM2Hpf8bjWygs7hy4a6b4wWXbXB6yPtxjRzbvabn2t66oaMQjHp4meskbilnI2H73sDDMvQPFneaNkkHQOEtT9CXpYdnrQWajgsEjPm+/05QqIx0Dd/TFB+7CIZX32V8fPxcKYxU6u2CTeE1N9CCSHf/bP+TVXhjqOkiE0tN0qPgaTsA0zT/bp3gi
|
|
sidebar_class_name: "post api-method"
|
|
info_path: developer-docs/api/superset
|
|
custom_edit_url: null
|
|
hide_send_button: true
|
|
show_extensions: true
|
|
---
|
|
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import ParamsDetails from "@theme/ParamsDetails";
|
|
import RequestSchema from "@theme/RequestSchema";
|
|
import StatusCodes from "@theme/StatusCodes";
|
|
import OperationTabs from "@theme/OperationTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
import Heading from "@theme/Heading";
|
|
import Translate from "@docusaurus/Translate";
|
|
|
|
<Heading
|
|
as={"h1"}
|
|
className={"openapi__heading"}
|
|
children={"Compute and cache a screenshot (dashboard-pk-cache-dashboard-screenshot)"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"post"}
|
|
path={"/api/v1/dashboard/{pk}/cache_dashboard_screenshot/"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Compute and cache a screenshot (dashboard-pk-cache-dashboard-screenshot)
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./compute-and-cache-a-screenshot-dashboard-pk-cache-dashboard-screenshot.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./compute-and-cache-a-screenshot-dashboard-pk-cache-dashboard-screenshot.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./compute-and-cache-a-screenshot-dashboard-pk-cache-dashboard-screenshot.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|