Skip to content

CP-9129 Document the API changes from the 12 Nov client amends - #152

Merged
mattkepple merged 4 commits into
mainfrom
claude/event-registration-management-dkw8hr
Nov 12, 2026
Merged

mattkepple merged 4 commits into
mainfrom
claude/event-registration-management-dkw8hr

Conversation

@mattkepple

@mattkepple mattkepple commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Jira: https://makerble.atlassian.net/browse/CP-9129
Rails PRs:

  • MakerbleDev/makerble#17623: checklist survey choices
  • MakerbleDev/makerble#17627: Checklist Summary
  • the forced-interval PR, the latest CP-9129 PR in MakerbleDev/makerble

Release timing: if the API docs are still pre-launch, this can be merged once reviewed. If they've launched publicly, hold it until the Rails PRs are in production, because merging to main publishes immediately.

Changes

  • Checklists survey_waves criteria: they can now be "survey:<Survey id>" (that Survey in any Project) or "shared:<Survey id>:<Shared Wave id>" (that Shared Interval in any Project), as well as "<Survey Campaign id>:<Wave id or 0>".
  • New GET /checklists/{id}/summary (getChecklistSummary): the Checklist Summary.
  • Survey Campaigns:
    • new force_interval field on ProjectStoryCategory ("Force colleagues to select an interval");
    • new PATCH /project_story_categories/{id} (updateProjectStoryCategory) to change it;
    • send_survey_wave_id on POST /project_story_categories/{id}/survey_links is required when the campaign forces an interval and has Waves, with the new 422 described.
  • Fix: removed a duplicated "422" response on /checklists/{id}/progress. It was already on main and made the spec invalid YAML for strict parsers such as js-yaml.

npm run check passes and the spec loads with js-yaml. Only openapi.yaml and the endpoint cards in server.js change.

When this merges, re-vendor spec/support/api_schemas/openapi.yaml in the Rails repo, and remove the forced-interval PR's two temporary entries in coverage_spec.rb and undocumented_fields.yml.

🤖 Generated with Claude Code

https://claude.ai/code/session_01F1a5xpXmvAYTfj7qKiU9gy

A checklist's survey_waves criteria can now be "survey:<Survey id>"
or "shared:<Survey id>:<Shared Wave id>", which count a survey from
any project, as well as "<Survey Campaign id>:<Wave id>".

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

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

GET /checklists/{id}/summary returns, for each project the caller
oversees that uses the Checklist, its managers, its other colleagues
and how many of its contacts have done each step. Also drops a
duplicated 422 response on the Checklist Progress path, which made
the spec invalid YAML for strict parsers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1a5xpXmvAYTfj7qKiU9gy
Survey Campaigns gain force_interval, changed with the new
PATCH /project_story_categories/{id}. When it is on and the campaign
has Waves, generating survey links needs send_survey_wave_id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1a5xpXmvAYTfj7qKiU9gy
GET and PATCH /charities/{id} gain participant_pass_sign_in_enabled,
"Enable contacts to sign in using a participant pass".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1a5xpXmvAYTfj7qKiU9gy
@mattkepple
mattkepple marked this pull request as ready for review November 12, 2026 23:39
@mattkepple
mattkepple merged commit 0713b49 into main Nov 12, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 72640ead Deployed Nov 12, 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