Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/retrieve-a-table-by-name-or-create-it-if-it-does-not-exist.api.mdx
Superset Dev 752ebd47cb docs: cut 6.1.0 versions for docs, admin_docs, developer_docs, components
- Snapshot all four versioned docs sections at v6.1.0; master continues to
  serve as "Next" (lastVersion: current, banner: unreleased) so editing
  master keeps updating the canonical URLs
- Enable the previously-disabled components plugin and version it
- Rename stale "developer_portal" references to "developer_docs" across
  package.json scripts, manage-versions.mjs, theme files (DocVersionBadge,
  DocVersionBanner), DOCS_CLAUDE.md, and README.md (URL backward-compat
  redirect /developer_portal/* preserved)
- Add admin_docs version scripts; drop dead "tutorials" plugin id from
  the version badge
- Generalize fixVersionedImports in manage-versions.mjs to walk every
  section's snapshot and rewrite ../../src/ and ../../data/ imports,
  catching admin_docs and components files that previous version cuts
  would have broken
- Remove orphan files: developer_portal_versions.json,
  tutorials_versions.json, and stray empty versions.json files inside
  components/ and developer_docs/ content directories
2026-05-02 11:53:56 -07:00

69 lines
3.5 KiB
Plaintext

---
id: retrieve-a-table-by-name-or-create-it-if-it-does-not-exist
title: "Retrieve a table by name, or create it if it does not exist"
description: "Retrieve a table by name, or create it if it does not exist"
sidebar_label: "Retrieve a table by name, or create it if it does not exist"
hide_title: true
hide_table_of_contents: true
api: eJzFWG1v2zYQ/ivEYUATTImTYAUKFfmQpu2armiC2tkGRIFLS2ebDUWqJOXEFfTfiyNlSX5pVzQY+sWxybvjPQ+fO51SgcHPJVr3QmdLiCtItXKoHH3lRSFFyp3QavDJakVrNp1jzulbYXSBxgm03lbe86UdT4V0aMY5F2qcOZfTVoZTXkoH8ZRLixG4ZYEQw0RriVxBHUHKHZd6FoxtakRBZ0IMozmyZpO5OTLHJxLZBKVWM8uchghy/vAO1czNIT55ehRBLtTq91EEqpSSfCB2puzOts4INaOjM+74hFsci2z7+IuXTE/ZymTX6U08oRzO0FBApU3OpfiC41TLMlf2xyjoeN1mIOz9TwT4iGPFc9w+/D3PkRjwNrDLGfNCc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KQ/vv+tx38zGl2xNk4dAWWzHq/Fu5XcMDRx2lN+hjbs4oqCEJb1IDupavy9dV3Txa8auR9mA0jfziuYeFG/pmmU4r39ZwTNDOpfMfxuN2l70HVEzmODU4N2/rNBKIrV6kP3/vjqB+br5g3ovwbso50DduP8+Ak7AqGmevt9ZVgWaCz2Xyh6SyT7YLc4DrdpXc79aNAc/biKXMulnSUcPrhBIbnwL4q+UKqmWG+AF4ISO274C3mulSxEQOoO8r2BqiKOr42sa1r+XKKh6eC2qyA/I0QQWqqv8jtc+vmpa46+4GRJ6W0NSlTOweMsTdE/Ir5te9vrQ9TRIYJJ85+IXGfkY/g9RP4zBohAe3rCawythQdVGaaoEJOUSVNrj8NWwc0XQtVscbXsZVhVwSI8G6jtBCj+mQr1bV3XXwH4HvKT
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={"Retrieve a table by name, or create it if it does not exist"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/api/v1/dataset/get_or_create/"}
context={"endpoint"}
>
</MethodEndpoint>
Retrieve a table by name, or create it if it does not exist
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>
<ParamsDetails
parameters={undefined}
>
</ParamsDetails>
<RequestSchema
{...require("./retrieve-a-table-by-name-or-create-it-if-it-does-not-exist.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./retrieve-a-table-by-name-or-create-it-if-it-does-not-exist.StatusCodes.json")}
>
</StatusCodes>