Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/create-an-annotation-layer-annotation-layer-pk-annotation.api.mdx
Claude Code 4ee42fe5b8 docs: cut 6.1.0 versions for user_docs, admin_docs, developer_docs, components
Snapshots all four versioned Docusaurus sections at v6.1.0, cut from
master after the version-cutting tooling (#39837), broken-internal-
links fix (#40102), and user_docs rename (#40171) all landed. With
the rename in place, all four sections now produce parallel-named
files at the docs/ root (no more bare `versioned_docs/` outlier).

Versioning behavior: lastVersion stays at current for every section,
so the canonical URLs (/user-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.

Snapshot includes:
- All MDX content for the four sections.
- Auto-gen captured fresh: 74 database pages (engine spec metadata),
  ~1,800 API reference files (openapi.json), 59 component pages
  (Storybook stories).
- Data imports frozen at cut time into snapshot-local _versioned_data/
  dirs:
    user_docs_versioned_docs/version-6.1.0/_versioned_data/src/data/databases.json
      (canonical 80-database diagnostics from master, preserved by the
      generator's input-hash cache)
    admin_docs_versioned_docs/version-6.1.0/_versioned_data/data/countries.json
    admin_docs_versioned_docs/version-6.1.0/_versioned_data/static/feature-flags.json
    developer_docs_versioned_docs/version-6.1.0/_versioned_data/static/data/components.json
- Import paths in deeply-nested files rewritten so they still resolve
  from one directory deeper inside the snapshot.
- developer_docs/extensions/overview.md snapshot has the FIXED
  ./mcp.md form (from #40102), so the SPA-nav 404 isn't baked into
  the 6.1.0 version.

Verified via full yarn build: exit 0, no broken links surfaced by
onBrokenLinks: throw.
2026-05-15 22:36:30 -07:00

69 lines
3.7 KiB
Plaintext

---
id: create-an-annotation-layer-annotation-layer-pk-annotation
title: "Create an annotation layer (annotation-layer-pk-annotation)"
description: "Create an annotation layer (annotation-layer-pk-annotation)"
sidebar_label: "Create an annotation layer (annotation-layer-pk-annotation)"
hide_title: true
hide_table_of_contents: true
api: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ZTidSnYU6EIFYdQ/seSO2NbtD67LHguM5KzHyCJV+Xm5B5KKpYQqA/cp4GKLWEyNvUFT1bILi+b7wA3EQiFwlwnRWYRyScufgoA3MW77gI5t6LXA2hOvEkEITPg0m/JYnhs3QhLFF5HvgUbqwMjSxjCgeSsNtrPyVGtvOK8Lg4yq1SgfY2OL10VtPaWeWQ203u5z2CuapjJY+o67q0BWFZLbslOwGly3MWXVA2gT9s0A4uOgEbqDa2ohaSaZ4mMp5h1QPngERe7McnCmkxoWL3dtnZy3pWkk3v+muZQfUVFko6fZJ3YbnrqQ+3LsrZX5TtTeGUsBWM1dECkUZsnejYdvxcxpmES4wlXmGwtR10SagM1TmShoZyrTye72STFV+SUSsdqydFdrIbGXCgwVXCXWgui7l1ozrBGfc9krWTfAARZFRnaw/6ceWyE37r8fjC9bYqTwgbzbtNfHuODdyBZ/G6LLPpGJvLsgIxbJpZC9U9XyrXdmb/6roj+i4ckHa0l/C1Ob3q1UD+/bPMdTPCERTN7puZm3QdGO4NROFM4U6/lYj9b3jcv0m8fKBy+LT7tHv48GJfzLwj04P+08H/2lrume1ih5hZnL3cjAqclQa2815S0Sp7vQWA7eD2mTctg71O87jCLnhS9NrGLwzvTzliaA1LTnKmqtXwPOEHBuAB9t8BQ98+6608fhE2e3S9wrKcso1flBpVZH4c4GKOonrNYPcW1ei6X8E/oynGnf8bLoq6FzWXeYB+7onsb2h1kIulpbTaUFf4NGJ5p7Mqmvioq381lE30K7hrYk7DR+VGjdjGIZoT7T7da9b5ZIOHvBgWr+8ZTKiOYrf0jsDv3VOSguPJaeVuXO1cN2gs0msoca7tdcNu+o/FNVeGMrSabgjrGpQsS0AAVNV/wKKjhoF
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 an annotation layer (annotation-layer-pk-annotation)"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/api/v1/annotation_layer/{pk}/annotation/"}
context={"endpoint"}
>
</MethodEndpoint>
Create an annotation layer (annotation-layer-pk-annotation)
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>
<ParamsDetails
{...require("./create-an-annotation-layer-annotation-layer-pk-annotation.ParamsDetails.json")}
>
</ParamsDetails>
<RequestSchema
{...require("./create-an-annotation-layer-annotation-layer-pk-annotation.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./create-an-annotation-layer-annotation-layer-pk-annotation.StatusCodes.json")}
>
</StatusCodes>