Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/get-the-user-avatar.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

69 lines
2.8 KiB
Plaintext

---
id: get-the-user-avatar
title: "Get the user avatar"
description: "Gets the avatar URL for the user with the given ID, or returns a 401 error if the user is unauthenticated."
sidebar_label: "Get the user avatar"
hide_title: true
hide_table_of_contents: true
api: eJzFVttu3DYQ/ZXBoEBsVPbaqB8MBXlwHddxGiRGdo0UsAyHlmZXdCRSIUdrbwX9ezGUVnvxogUaoH2SeDs8Z3g4wwYz8qnTFWtrMMZLYg+cE6i5YuXg5vMHmFoXumpPDp4056E103MycPU2AuvAEdfOeFBwcnQM5Jx1oKerVdpDbVTNORnWqWLKDjHCSjlVEpPzGN82W0wmOcHVW7ArFIxQy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YdSeye3ISSyQKobPUtTCil1ue5F7d/IOpcXE2zbvwAbdoIm
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 avatar"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/api/v1/user/{user_id}/avatar.png"}
context={"endpoint"}
>
</MethodEndpoint>
Gets the avatar URL for the user with the given ID, or returns a 401 error if the user is unauthenticated.
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>
<ParamsDetails
{...require("./get-the-user-avatar.ParamsDetails.json")}
>
</ParamsDetails>
<RequestSchema
{...require("./get-the-user-avatar.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./get-the-user-avatar.StatusCodes.json")}
>
</StatusCodes>