Skip to content

docs: link platform api endpoints from operation docs - #141

Open
miru-agents wants to merge 4 commits into
mainfrom
claude/docs-api-operations-links-9kdem5
Open

docs: link platform api endpoints from operation docs#141
miru-agents wants to merge 4 commits into
mainfrom
claude/docs-api-operations-links-9kdem5

Conversation

@miru-agents

@miru-agents miru-agents commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Every callable operation in the Platform API (2026-05-06.rainier — 30 operations across 9 tags) is now explicitly referenced and linked from the documentation page that describes the corresponding product operation, using the existing PlatformApiLink pattern. Previously only two operations were linked (devices/update from Edit a device and releases/get from View a release).

  • primitives/devices — View → devices/get + devices/list; Provision → devices/create + provisioning-tokens/create; Ping → devices/ping
  • primitives/releases — View → added releases/list; Create → releases/create
  • cfg-mgmt/deploy/staging-area — Stage → deployments/create (target_status: staged); View → deployments/get + deployments/list; Patch → deployments/create (parent_id); Archive → deployments/archive; Deploy → deployments/deploy; Review → deployments/drifts
  • cfg-mgmt/primitives/config-types — new View a config type section (get + list); create and update linked from existing sections
  • cfg-mgmt/primitives/config-instances — new View and Create sections (get, list, download-content, create)
  • cfg-mgmt/primitives/schemas/manageconfig-schemas/create, get, list
  • cfg-mgmt/create-a-release (Git commit section) — git-commits/create, get, list
  • developers/platform-api/authnprincipals/self (GET /principal)
  • cfg-mgmt/provision-devices/provisioning-tokens — hardcoded versioned endpoint URL converted to PlatformApiLink so it tracks the latest API version

Doc operations with no API endpoint (all of groups, device delete/move, release duplicate/delete, config type delete) intentionally remain unlinked, and the deployment.validate x-webhooks entry is excluded as it is not a callable operation.

Validation

  • pnpm install --frozen-lockfile && ./scripts/lint.sh passes (MDX prose, ESLint, CSpell, OpenAPI checks)
  • Coverage grep over docs/ returns exactly the 30-slug inventory from the spec; slugs cross-checked against tag/summary slugification in docs/references/platform-api/2026-05-06.yaml
  • 8 endpoint slugs spot-checked live on docs.mirurobotics.com, including the irregular ones (config-instances/download-content, principals/self, deployments/drifts, git-commits/create)
  • ExecPlan with the full operation-to-page mapping: plans/completed/20260728-platform-api-operation-links.md

🤖 Generated with Claude Code

https://claude.ai/code/session_01MWYmqc8kbBh6dcQTQyKvgX


Generated by Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

claude added 4 commits July 28, 2026 20:21
Add Platform API endpoint links to the operation sections of the main
documentation pages, covering every operation the platform API supports:

- devices: get, list, create, ping (update was already linked)
- releases: list, create (get was already linked)
- deployments: create (stage/patch), get, list, archive, deploy, drifts
- config types: get, list, create, update
- config instances: get, list, create, download content
- config schemas: get, list, create
- git commits: get, list, create
- provisioning tokens: create (now via PlatformApiLink)
- principals: self

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MWYmqc8kbBh6dcQTQyKvgX
@miru-agents
miru-agents marked this pull request as ready for review July 28, 2026 20:49
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants