Skip to content

CP-9145: Document Contact Weekly availability - #160

Merged
mattkepple merged 1 commit into
mainfrom
CP-9145-weekly-availability
Nov 14, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-9145-weekly-availability

Conversation

@mattkepple

@mattkepple mattkepple commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Companion to MakerbleDev/makerble#17694 (API v2) for CP-9145, the Weekly availability Custom Field type for Contact Forms.

  • openapi.yaml:
    • adds weekly_availability to the Beneficiary schema, with the new ContactWeeklyAvailability and WeeklyAvailabilityTime schemas;
    • documents the [{day, from, to}] answer format on BeneficiaryCreateRequest.custom_fields, with an example, and the 422 for an unreadable answer;
    • adds weekly_availability to CustomFieldValue's type list.
  • server.js: the GET /beneficiaries/{id} and POST /beneficiaries cards describe the same.

npm run check passes, and the diff touches only openapi.yaml and those two endpoint cards.

The matching Confluence MA page is Contact Weekly availability API, marked "not live yet".

When to merge: this goes live on Vercel as soon as it reaches main. If the docs are still pre-launch, it can be merged once reviewed. If they have launched publicly, hold it until the Rails PRs are live in production. I don't know which applies yet, so I've asked Matt.

🤖 Generated with Claude Code

https://claude.ai/code/session_01F1a5xrmsHv3uToDgpZhsCu

GET /beneficiaries/{id} gains weekly_availability, the Contact's most
recent Weekly availability answer with its source form, field and
time. POST /beneficiaries accepts a Weekly availability answer as a
list of {day, from, to} and refuses one it can't read with 422.

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

vercel Bot commented Nov 14, 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 14, 2026 9:09am UTC

@mattkepple
mattkepple marked this pull request as ready for review November 14, 2026 09:20
@mattkepple
mattkepple merged commit 72ac504 into main Nov 14, 2026
3 checks passed

This branch was successfully deployed

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