Memberships
A membership is what events are about. People are linked to memberships through /links. In the Political party pack a membership is, for example, “Musu's Membership” with reference MEM-2026-001.
POSTCreate a membership
Requires subjects:write. Unknown keys inside attributes are refused with 400: schemas are closed. There is no group field here; groups that follow an attribute are kept in step by Raven.
201 with the membership. 400 for a bad or unknown attribute; the sentence names it. 409 if the reference is already on file — “That reference is already used by another record. Find it with ?external_ref= and update that record instead.”
One membership: the same fields in every pack. Press Response on the sample to see one whole.
On failure the body is { error, code } instead.