Skip to content

CP-7996 Document Video, Audio and Picture fields for POST /fields - #135

Merged
mattkepple merged 1 commit into
mainfrom
CP-7996-capture-fields
Nov 6, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-7996-capture-fields

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Companion to MakerbleDev/makerble#17398 (Rails) for CP-7996. MCP companion: MakerbleDev/makerble-mcp (branch CP-7996-capture-fields).

What: POST /fields accepts video, audio and picture as field_data_type. They make a Video, Audio or Picture question: an Attachment field that asks for that kind of media, which the person answering a survey can record or take there and then, or attach. It is stored and returned as field_type: file with capture_type. GET /custom_fields and library field items now include capture_type.

  • openapi.yaml: enum, description and a Video example on /fields; capture_type noted on /custom_fields and on the library item description.
  • server.js: the matching endpointCard("POST", "/fields", ...) parameter text.
  • npm run check passes; the diff touches only these two places.

Release timing: the API docs are pre-launch, so this may be merged once reviewed, without waiting for the Rails change to reach production (CLAUDE.md, "Order of work and release timing"). Once the docs launch publicly, it should wait until the Rails change is live.


Generated by Claude Code

CP-7996: field_data_type accepts video, audio and picture, which make an
Attachment field that asks for that kind of media; responses carry
capture_type.

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

vercel Bot commented Nov 5, 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 5, 2026 7:07pm UTC

@mattkepple
mattkepple marked this pull request as ready for review November 6, 2026 12:18
@mattkepple
mattkepple merged commit 85f8930 into main Nov 6, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 59ecdb0e Deployed Nov 5, 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