Skip to content

CP-9018: Document PATCH /charities/{id} and default_project_story_privacy - #127

Merged
mattkepple merged 1 commit into
mainfrom
CP-9018-default-story-privacy
Nov 4, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-9018-default-story-privacy

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Companion to MakerbleDev/makerble#17332 (CP-9018, item 2).

  • openapi.yaml: adds the PATCH /charities/{id} operation (updateCharity, tag Charities, tokenAuth, request example, and 401/403/404/422 responses), a new DefaultProjectStoryPrivacy enum schema, and a default_project_story_privacy property on Charity. These match the vendored copy in the Rails PR, which the contract specs check.
  • server.js: the matching hand-written endpointCard for the PATCH, and the GET card now mentions the new field.

npm run check passes. The diff touches only openapi.yaml and the Organisations endpoint cards.

Unrelated, already on main: js-yaml reports a duplicated "422" response key under GET /checklists/{id}/progress (line 8487 on main). I haven't touched it here.

Release timing: while the API docs are pre-launch, this can be merged once reviewed. Once they've launched publicly, hold it until #17332 is live on production, because main deploys straight away.


Generated by Claude Code

CP-9018: the Story Privacy Level each new project in an Organisation
starts with, on the Organisation and changeable by its Organisation
Admins.

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

vercel Bot commented Nov 4, 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 4, 2026 12:38am UTC

@mattkepple
mattkepple marked this pull request as ready for review November 4, 2026 10:27
@mattkepple
mattkepple merged commit 021237e into main Nov 4, 2026
3 checks passed

This branch was successfully deployed

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