Repository navigation
CP-9145: Document Contact Weekly availability - #160
Merged
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to MakerbleDev/makerble#17694 (API v2) for CP-9145, the Weekly availability Custom Field type for Contact Forms.
openapi.yaml:weekly_availabilityto theBeneficiaryschema, with the newContactWeeklyAvailabilityandWeeklyAvailabilityTimeschemas;[{day, from, to}]answer format onBeneficiaryCreateRequest.custom_fields, with an example, and the 422 for an unreadable answer;weekly_availabilitytoCustomFieldValue's type list.server.js: theGET /beneficiaries/{id}andPOST /beneficiariescards describe the same.npm run checkpasses, and the diff touches onlyopenapi.yamland those two endpoint cards.The matching Confluence
MApage 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