Skip to content

CP-9390 Document Report Templates and Report answers endpoints - #236

Merged
mattkepple merged 1 commit into
mainfrom
CP-9390-report-tables
Nov 29, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-9390-report-tables

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Companion to MakerbleDev/makerble#18211 (Rails API v2 endpoints). Jira: https://makerble.atlassian.net/browse/CP-9390

  • openapi.yaml: a new Reports tag. Paths GET/POST /report_templates, GET/PATCH /report_templates/{id}, GET /reports/{report_id}/contents and GET/PATCH /reports/{report_id}/contents/{question_id}, each with a camelCase operationId, tokenAuth, the shared Page/PerPage/LastSyncDatetime parameters and the shared error responses. New schemas ReportOutputSettings, ReportTemplate, ReportTemplateInput, ReportContent and their paginated envelopes. The Explore Report Templates output filter and its schemas gain table.
  • server.js: matching hand-written endpointCard sections ("Report Templates", "Report answers") and nav links. Only the cards and nav changed: no styles, head, assets or vercel.json.

Checks: npm run check passes. redocly lint reports the same 24 errors as main, and none of them are in the new paths.

Release timing: the API docs and MCP are pre-launch, so this may be merged once reviewed. Once they have launched publicly, it should wait until the Rails change is live in production, because merging to main deploys straight to Vercel.


Generated by Claude Code

CP-9390. Adds GET/POST /report_templates, GET/PATCH
/report_templates/{id}, and GET /reports/{report_id}/contents and
GET/PATCH /reports/{report_id}/contents/{question_id}, with Table
questions and Narrative word limits in output_settings and a Table
answer's table_rows. Explore Report Templates' output filter gains
table.

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

vercel Bot commented Nov 29, 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 Nov 29, 2026 9:35pm UTC

@mattkepple
mattkepple marked this pull request as ready for review November 29, 2026 22:35
@mattkepple
mattkepple merged commit 6f9cf67 into main Nov 29, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — f917d975 Deployed Nov 29, 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