Skip to content

CP-8795: document compared Version fields (fields, include_fields) - #170

Merged
mattkepple merged 1 commit into
mainfrom
CP-8795-version-fields
Nov 17, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-8795-version-fields

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Jira: https://makerble.atlassian.net/browse/CP-8795
Rails PR: https://github.com/MakerbleDev/makerble/pull/17737

Documents the new fields array on GET /versions/{id} and the include_fields parameter on GET /versions. Each entry is {key, label, value, state, changed}, as the Version History page shows it.

  • openapi.yaml: the include_fields param, a new VersionField schema, fields on VersionDetail, and a response example.
  • server.js: the matching endpoint cards.

npm run check passes, and the diff touches only openapi.yaml and the two Versions endpoint cards.

Release timing: the API docs are pre-launch, so this may be merged once reviewed, without waiting for the Rails change to reach production.

Confluence MA: not updated from this session. The Versions page there needs the same fields and include_fields additions.


Generated by Claude Code

GET /api/v2/versions/:id returns `fields` (label, display value, state,
changed since the Version before), and GET /api/v2/versions adds them
per Version with include_fields=true, as the Version History page shows.

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

vercel Bot commented Nov 16, 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 16, 2026 8:57am UTC

@mattkepple
mattkepple marked this pull request as ready for review November 17, 2026 02:38
@mattkepple
mattkepple merged commit af0e726 into main Nov 17, 2026
3 checks passed

This branch was successfully deployed

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