Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/create-security-user-registrations.api.mdx
Superset Dev 5a5a0e70fc fix(docs): regenerate 6.1.0 snapshots with depth-aware import rewriter
The previous import-path fixer only matched two-level relative paths
(`../../src/` and `../../data/`), missing files at deeper nesting in the
section tree. After the 6.1.0 cut for developer_docs, ~50 component MDX
files at depth 3 still referenced `../../../src/components/StorybookWrapper`
(should have been `../../../../src/...`), and the components Button page
referenced `../../../superset-frontend/...` (should have been
`../../../../superset-frontend/...`). The Docusaurus production build
failed with module-not-found errors as a result.

Replace the pattern-specific regex with a depth-aware walker that
- counts the file's nesting depth within the snapshot,
- bumps any relative import whose `../` count exceeds that depth (i.e.
  the import escapes the section root and so must compensate for the
  extra `version-X.X.X/` directory the snapshot lives under),
- skips fenced code blocks so documented sample imports (e.g. Playwright
  page-object examples in developer_docs/testing/e2e-testing.md) are not
  rewritten.

Re-cut all four sections under the new fixer. yarn build now passes
locally.
2026-05-04 08:53:25 -07:00

67 lines
3.0 KiB
Plaintext

---
id: create-security-user-registrations
title: "Create security user registrations"
description: "Create security user registrations"
sidebar_label: "Create security user registrations"
hide_title: true
hide_table_of_contents: true
api: eJzFV21P4zgQ/ivW6KQFXaCA7iTkFR8KYrXl9hZEy91JpOq6ydAGEjtrO4VelP9+GjtJ0xd0q2NP+wWSycx4nsePZ9wSNH4t0NhzFS+BlxApaVFaehR5niaRsImSvUejJNlMNMdM0FOuVY7aJmjoLYnpr13mCBwSaXGGGqoqaExq+oiRhQBsYlMy3BnUtzhLjNVuBXOLxvZvBoe5MhaqAPBFZDm5+uTHFWWL0UQ6ySkAOPyuYkxZXVLgkCQaY+BWF1iRweRKGl/hydHx98JnrE7kDPwKRWr/fzq2IrcJaqrqFtUQt8XcwGLGEmlQW4wp2S9HR29gJ0NjxAx3UPQvhbeBcC5iVkuRs4FciDSJWS60yNCiNizXapHEVOw2mk6sx/KWnf4OWO6kKOxc6eRvjDnrF3aO0tbrs1alO4B0Ax2Sk5MfjST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yJ0nfZ133HnhFNLhACm9a+xTMUUo8Uz3evFM3AAuit4VLz0Nt/vC3+38Tlpt+ku2WGyVUX9QKjqT0IuOxWWpffwzZWOsofiRhNU46qq/gF7kO0v
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={"Create security user registrations"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/api/v1/security/user_registrations/"}
context={"endpoint"}
>
</MethodEndpoint>
Create security user registrations
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>
<ParamsDetails>
</ParamsDetails>
<RequestSchema
{...require("./create-security-user-registrations.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./create-security-user-registrations.StatusCodes.json")}
>
</StatusCodes>