Skip to content

CP-9003: document the Guidance Panel endpoints - #122

Merged
mattkepple merged 1 commit into
mainfrom
CP-9003-guidance-panels
Oct 31, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-9003-guidance-panels

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Companion to MakerbleDev/makerble#17275 (CP-9003, PR 4 of 8: API v2 Guidance Panels endpoints).
Jira: https://makerble.atlassian.net/browse/CP-9003

  • openapi.yaml:
    • a Guidance Panels tag;
    • GET /guidance_panels (listGuidancePanels), GET /guidance_panels/{key} (getGuidancePanel) and PATCH /guidance_panels/{key} (updateGuidancePanel), with security: [{tokenAuth: []}], the shared Page / PerPage / LastSyncDatetime parameters, Unauthorized / ForbiddenError / NotFound / UnprocessableEntityList, and a request example;
    • schemas GuidancePanel, GuidancePanelPoint, GuidancePanelUser, GuidancePanelVersion, GuidancePanelWithVersions, GuidancePanelRequest and PaginatedGuidancePanels.
      The descriptions use front-end terms: a Guidance Panel is the Show/Hide Guidance introduction at the top of a Manage page.
  • server.js: a "Site content" nav link and a Guidance Panels section with three endpointCard(...) entries.

The same paths and schemas are vendored in the Rails repo's spec/support/api_schemas/openapi.yaml, where the contract specs check real responses against them. The diff touches only openapi.yaml and the cards and nav in server.js. npm run check passes.

Merge timing: the API docs are pre-launch, so per the Rails repo's CLAUDE.md this may be merged as soon as it's reviewed, without waiting for the Rails change to reach production. Once the docs launch publicly, it would wait for #17275 to be live in production instead, since every push to main deploys.


Generated by Claude Code

CP-9003: GET /guidance_panels, GET and PATCH /guidance_panels/{key},
with their schemas in openapi.yaml and endpoint cards and a nav link in
server.js. The same paths and schemas are vendored in the Rails repo's
spec/support/api_schemas/openapi.yaml and checked by its contract specs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1a5xqoFriGQH3QiMNX5cv
@vercel

vercel Bot commented Oct 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api-docs Ready Ready Preview Oct 31, 2026 10:38am UTC

@mattkepple
mattkepple marked this pull request as ready for review October 31, 2026 13:39
@mattkepple
mattkepple merged commit f102c0a into main Oct 31, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — ba5097a6 Deployed Oct 31, 2026 by vercel[bot]
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