mirror of
https://github.com/apache/superset.git
synced 2026-05-08 09:25:56 +00:00
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
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
---
|
||||
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: eJzFVt1v2zYQ/1eIwx4STInjoQ+Bij6kQZauK7agdrACUZDS0tliIpHq8eTGFfS/D0fJH7KzYd0e9iTyeHf8/Y73oQYy9CmZio2zEMM1sleco6o9kiJXoFepI0JfOZsZu1DswrleoGVV6qcgy1ERfqnRc6QcKUKuyXql1auzsUIiR8rMt36NV7XVNedo2aSaMTuFCLpLPHqIG/jp7Ew+qbOMlmWpq6oQZePs6NEL2gZ8mmOpZVWRq5DYdNaEvi74UI6lNoUseFUhxOCZjF1AG8HckOcHq0t88dhkO2JjGRdIQe4fdMpmuWs1c65AbdfH1tlV6Wr/skah/+5aidZfHLbRWuJmj5gyRMCGCxHceqSPfTAnXYQO1dsI8FmXVYHDgPUhWt8zjMxWKgEZD/gz1bjPuJPtcNw62FLbUhKUw3yc5qjSmkiSTSwE9quz8X9IjRK914t/FNFhiDaGcBty15H5hlmsLrZ5bJwNdWAIM3iBza5hd59eeIjv4LKnKC8H9xE8n6Quw0m4WxQaKLRdQAzp7ccPIBGdYbHdeldTKsjSmgp18kldX01VAjlzFY9GhUt1kTvP8fnZ+flIV2a0HI9KHIXyHiWgkiSxSp28Uwlc9AADmVi9RU1I6oeLy8uryeRh+vuvV78lAG20QXSz4tzZHUwbwQaVKStHvO4QPrGJXde6erMRny6QjwSH+g7oUWeQo86Q/Jtmj0ACsUqgJ5GA+lHpNEXvH9g9oW0Te5zYiozlozWgU8mfo+PjXYrv9VJPwjPu0BwItw/grBemG3b6qzas5shpHsh9J7VmwC9e79X+SwnRz+vHajqS08Dxc2fRykcIv05sBzLTrDcA9+j3Sq7A08ItjkT1+DW09xGUyLnLIIYFCvFKcw4xHMCXmCAtkbrsrUlC9iJz2C+SD3KsMlxi4apSqqLzFF6kc9RU5Nilrmjj0agRV23cSI61B94ua8+uXLuIYKnJ6FnR9YK1G1lnONehBQaYEAHaupTa7Lfy8VKbQ//vptMbtfHTRiBohv42fA/ATQIqJWfSCmV0/nIjToTL0MmLoertg3bbyvN4TGsyvAptvyP5+DW4moXk+NlRqcXf+z+m8kZBTSZSOIVNBwyk20iMHwjnhD7/t05kDNq56+gM0NcVksfdybUjktzp9JbjLiSeSx1aez82rpH3flX2A7QzJP7XP5s+HozPPKoKbcLkD6nc9BV0B7oywnoMUmPyN9QTkpTrcuoOmmamPd5S0bYi/lIjrSC+u9+mtewkCUO/CKX3hCuI4SJNMXSqpS5qwXIwMgfFfX01hbb9E706ecg=
|
||||
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
|
||||
parameters={undefined}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
{...require("./get-the-user-roles.RequestSchema.json")}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
{...require("./get-the-user-roles.StatusCodes.json")}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
Reference in New Issue
Block a user