Skip to content

CP-9178 Document a survey's contact_mode - #171

Merged
mattkepple merged 1 commit into
mainfrom
CP-9178-contact-mode
Nov 16, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-9178-contact-mode

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Companion to MakerbleDev/makerble#17758 (CP-9178).

GET /story_categories/{id} and Explore Surveys (GET /explore/surveys, /{id}) now return contact_mode: one_contact (About one contact) or several_contacts (Several or no contacts). It says how the survey is shown when someone tries it on a toolkit page.

  • openapi.yaml: contact_mode added to StoryCategoryDetail and ExploreSurvey, identical to the vendored copy in the Rails repo.
  • server.js: the two endpoint cards mention it.
  • npm run check passes.

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


Generated by Claude Code

CP-9178. GET /story_categories/{id} and Explore Surveys return
contact_mode: one_contact (About one contact) or several_contacts
(Several or no contacts), how the survey is shown when someone tries it on
a toolkit page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1a5xq425jYVvYvtfdESrJ
@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 5:45pm UTC

@mattkepple
mattkepple marked this pull request as ready for review November 16, 2026 22:45
@mattkepple
mattkepple merged commit aafb0d7 into main Nov 16, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — c38ca577 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