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.
2 lines
2.9 KiB
JSON
2 lines
2.9 KiB
JSON
{"title":"Body","body":{"content":{"multipart/form-data":{"schema":{"properties":{"already_exists":{"default":"fail","description":"What to do if the table already exists accepts: fail, replace, append","enum":["fail","replace","append"],"type":"string"},"column_data_types":{"description":"[CSV only] A dictionary with column names and their data types if you need to change the defaults. Example: {'user_id':'int'}. Check Python Pandas library for supported data types","type":"string"},"column_dates":{"description":"[CSV and Excel only] A list of column names that should be parsed as dates. Example: date,timestamp","items":{"type":"string"},"type":"array"},"columns_read":{"description":"A List of the column names that should be read","items":{"type":"string"},"type":"array"},"dataframe_index":{"description":"Write dataframe index as a column.","type":"boolean"},"day_first":{"description":"[CSV only] DD/MM format dates, international and European format","type":"boolean"},"decimal_character":{"description":"[CSV and Excel only] Character to recognize as decimal point. Default is '.'","type":"string"},"delimiter":{"description":"[CSV only] The character used to separate values in the CSV file (e.g., a comma, semicolon, or tab).","type":"string"},"file":{"description":"The file to upload","format":"text/csv","type":"string"},"header_row":{"description":"[CSV and Excel only] Row containing the headers to use as column names (0 is first line of data). Leave empty if there is no header row.","type":"integer"},"index_column":{"description":"[CSV and Excel only] Column to use as the row labels of the dataframe. Leave empty if no index column","type":"string"},"index_label":{"description":"Index label for index column.","type":"string"},"null_values":{"description":"[CSV and Excel only] A list of strings that should be treated as null. Examples: '' for empty strings, 'None', 'N/A', Warning: Hive database supports only a single value","items":{"type":"string"},"type":"array"},"rows_to_read":{"description":"[CSV and Excel only] Number of rows to read from the file. If None, reads all rows.","minimum":1,"nullable":true,"type":"integer"},"schema":{"description":"The schema to upload the data file to.","type":"string"},"sheet_name":{"description":"[Excel only]] Strings used for sheet names (default is the first sheet).","type":"string"},"skip_blank_lines":{"description":"[CSV only] Skip blank lines in the CSV file.","type":"boolean"},"skip_initial_space":{"description":"[CSV only] Skip spaces after delimiter.","type":"boolean"},"skip_rows":{"description":"[CSV and Excel only] Number of rows to skip at start of file.","type":"integer"},"table_name":{"description":"The name of the table to be created/appended","maxLength":10000,"minLength":1,"type":"string"},"type":{"description":"File type to upload","enum":["csv","excel","columnar"]}},"required":["file","table_name","type"],"type":"object","title":"UploadPostSchema"}}},"required":true}}
|