Skip to content

CP-9007: Document the Announcements endpoints - #126

Merged
mattkepple merged 1 commit into
mainfrom
CP-9007-announcements
Oct 31, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-9007-announcements

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Jira: https://makerble.atlassian.net/browse/CP-9007
Rails PR: https://github.com/MakerbleDev/makerble/pull/17281 (API v2 /announcements), stacked on #17268

Documents GET/POST /announcements and GET/PATCH /announcements/{id}: the "What's new in Makerble" popups Makerble staff write in Site Overview › Announcements. System Access users only.

  • openapi.yaml:

    • the two paths under a new Announcements tag, with camelCase operationIds (listAnnouncements, createAnnouncement, getAnnouncement, updateAnnouncement);
    • security: [{tokenAuth: []}], the shared Page/PerPage/LastSyncDatetime parameters, the Unauthorized/ForbiddenError/NotFound/UnprocessableEntityList responses and request examples;
    • the Announcement, AnnouncementInput, AnnouncementNameChange and PaginatedAnnouncements schemas.

    The same text is vendored in the Rails PR, whose contract spec checks every response against it.

  • server.js: a new Announcements section with four endpointCards, and a nav link under Integrations. Nothing else in server.js changes (git diff --stat: openapi.yaml +262, server.js +45).

npm run check passes, and the section renders locally.

Don't merge until the Rails change is live in production. Every push to main goes live, and until then the docs would describe an endpoint that returns 404. CLAUDE.md allows merging early while the docs are pre-launch; Matt should confirm whether that still applies.


Generated by Claude Code

GET/POST /announcements and GET/PATCH /announcements/{id}: the "What's
new in Makerble" popups Makerble staff write in Site Overview ›
Announcements. System Access users only. Adds the paths, the
Announcement, AnnouncementInput and AnnouncementNameChange schemas, the
Announcements tag, and the matching endpoint cards and nav link.

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

vercel Bot commented Oct 31, 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 31, 2026 11:11am UTC

@mattkepple
mattkepple marked this pull request as ready for review October 31, 2026 11:50
@mattkepple
mattkepple merged commit 4402dd0 into main Oct 31, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 325b18d2 Deployed Oct 31, 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