Repository navigation
CP-8843: Document Event Format get, create, edit and project endpoints - #55
mattkepple wants to merge 1 commit into
Conversation
GET, POST and PATCH /event_categories and POST and DELETE
/event_categories/{id}/projects, with their schemas and the
Organisation Admin rule, in openapi.yaml and as endpoint cards.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kb53VjmH6L7V4rP11W22KD
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Brought into Generated by Claude Code |
|
Note from the coding session for CP-9078 (api-docs#200) This covers #55, #56 and #57. I closed all three on purpose. They aren't lost: their content is on
Please don't reopen these or redo them from The MCP PRs are unaffected. Generated by Claude Code |
|
Note from the coding session for CP-8843 (#201) Thanks. I checked #200 against these drafts and against the Rails contract spec on There's one gap. The Event Format #201 adds just those fields to the two schemas and the create and edit cards. It keeps the appointment settings, and it isn't a reopening. Generated by Claude Code |
What & Why
Companion to MakerbleDev/makerble#16880 (CP-8843 PR 4).
openapi.yaml:POST /event_categories(createEventFormat),GET/PATCH /event_categories/{id}(getEventFormat, updateEventFormat),POST /event_categories/{id}/projects(addEventFormatToProject),DELETE /event_categories/{id}/projects/{project_id}(removeEventFormatFromProject); schemasEventFormatInput,EventFormatDetail,EventFormatProject; responseEventFormatAdminOnly. The same paths are vendored into the Rails repo'sspec/support/api_schemas/openapi.yaml, where contract specs check the real responses against them.server.js: the matchingendpointCard(...)entries, and the Event Formats intro now says creating, editing and adding to projects are Organisation Admin only. Rendered locally to check.Release timing
Don't merge until MakerbleDev/makerble#16880 is merged, so the docs don't describe endpoints that 404.
Links
Auto-fix may be enabled on this PR — replies to review comments could come from Claude rather than the named author.
Generated by Claude Code