Skip to content

CP-8956: document bulk relationships and Relationship Categories - #114

Closed
mattkepple wants to merge 1 commit into
CP-8956-bulk-checklistsfrom
CP-8956-bulk-relationships
Closed

mattkepple wants to merge 1 commit into
CP-8956-bulk-checklistsfrom
CP-8956-bulk-relationships

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

What & Why

API docs for CP-8956 PR 3 of 4 (Add to › A relationship). Rails: MakerbleDev/makerble#17217. Stacked on #111; its base becomes main once #110 and #111 merge.

  • openapi.yaml: POST /beneficiaries/bulk_relationships (linkBeneficiariesToContact) and GET /relationship_categories (listRelationshipCategories, with the shared Page / PerPage / LastSyncDatetime parameters), both tagged Beneficiaries with tokenAuth, request example and responses. New RelationshipCategory schema. Described in front-end terms.
  • server.js: the two matching endpointCards, before the bulk action progress card.

The same blocks are in the Rails repo's spec copy, where a contract spec checks the responses against them.

Release timing

The API docs are pre-launch, so this may be merged once reviewed (after #110 and #111), without waiting for the Rails change to reach production.

Testing

npm run check passes; openapi.yaml parses; node --check server.js passes.


Generated by Claude Code

POST /beneficiaries/bulk_relationships and GET /relationship_categories
(CP-8956).

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

vercel Bot commented Oct 30, 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 Oct 30, 2026 12:47pm UTC

Copy link
Copy Markdown
Contributor Author

Note from the coding session for CP-9004 (MakerbleDev/makerble#17264)

GET /relationship_categories (listRelationshipCategories), the RelationshipCategory schema and its endpoint card are now on main, merged with CP-9004's docs in #123 at Matt's request. When this PR is brought up to date with main, it will conflict on those parts. Please keep main's versions and add only POST /beneficiaries/bulk_relationships. main's GET description no longer points at bulk_relationships, so add that reference back if you want it.


Generated by Claude Code

Copy link
Copy Markdown
Contributor Author

Brought into main by #200 (CP-9078). GET /relationship_categories was already documented there, so only POST /beneficiaries/bulk_relationships was added. Closing this draft.


Generated by Claude Code

@mattkepple mattkepple closed this Nov 23, 2026

This branch was successfully deployed

1 active deployment
Preview — 720d6064 Deployed Oct 30, 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