Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/get-the-user-roles.api.mdx
Claude Code cbcfd9599f docs: cut 6.1.0 versions for docs, admin_docs, developer_docs, components
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.
2026-05-13 17:15:46 -07:00

59 lines
2.7 KiB
Plaintext

---
id: get-the-user-roles
title: "Get the user roles"
description: "Gets the user roles corresponding to the agent making the request, or returns a 401 error if the user is unauthenticated."
sidebar_label: "Get the user roles"
hide_title: true
hide_table_of_contents: true
api: eJzFVt9v2zYQ/leIwx4STInioQ+Fij5kQZauK7agdrABUeDS0lliIpEqeXLjCvrfh6MkW7KzYd0e9iTqyDt+3/1kAym6xKqKlNEQwQ2SE5SjqB1aYU2BTiTGWnSV0anSmSDj92WGmkQpn7wsR2Hxc42OAmGssEi11U5I8epiJtBaY4Va7+0qJ2ota8pRk0okYXoOAXSXOHQQNfDDxQV/EqMJNfFSVlXB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rAE0PULX3pPuIUILpMEfafayKJmLEejdFLcN9ccWOYxfv4M4e0XbL3fkno7st003YmuAXFNdiB804X2oW3bPwFVPbH7
sidebar_class_name: "get 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={"Get the user roles"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/api/v1/me/roles/"}
context={"endpoint"}
>
</MethodEndpoint>
Gets the user roles corresponding to the agent making the request, or returns a 401 error if the user is unauthenticated.
<ParamsDetails>
</ParamsDetails>
<RequestSchema
{...require("./get-the-user-roles.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./get-the-user-roles.StatusCodes.json")}
>
</StatusCodes>