Skip to content

CP-9086: document Regions, Industries and localised Financial Values - #235

Merged
mattkepple merged 1 commit into
mainfrom
CP-9086-localised-values
Nov 29, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-9086-localised-values

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Companion to MakerbleDev/makerble#18204 (API v2), part of https://makerble.atlassian.net/browse/CP-9086.

openapi.yaml

  • New GET /factor_options (tag Financial Values, listFactorOptions, security: [{tokenAuth: []}], shared Page/PerPage/LastSyncDatetime, Unauthorized/NotFound/UnprocessableEntity, with an example). New schemas FactorOption, FactorChoice, FactorChoiceInEffect.
  • Charity gains region / industry. PATCH /charities/{id} takes region_factor_option_id / industry_factor_option_id, with a request example.
  • ProjectPreferences gains the two ids, plus region / industry in effect (read-only).
  • FinancialValue gains formula, localised and national_amount. FinancialValueInput gains formula.

server.js: matching endpoint cards: the new GET /factor_options, and the Organisation, Project Preferences and Financial Values cards, plus a paragraph on localised Financial Values.

npm run check passes. The diff touches only openapi.yaml and the endpoint cards in server.js, with no style, head or asset changes.

Merge timing: this goes live the moment it reaches main. If the docs are still pre-launch, it can merge as soon as it's reviewed. If they have launched, hold it until the Rails PRs (#18198, #18200, #18201, #18204) are live in production.


Generated by Claude Code

CP-9086. Adds GET /factor_options, Region and Industry on
PATCH/GET /charities/{id} and Project Preferences, and formula,
localised and national_amount on Financial Values, in openapi.yaml
and the endpoint cards in server.js.

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

vercel Bot commented Nov 29, 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 29, 2026 8:25pm UTC

@mattkepple
mattkepple marked this pull request as ready for review November 29, 2026 21:04
@mattkepple
mattkepple merged commit 5e211a0 into main Nov 29, 2026
3 checks passed

This branch was successfully deployed

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