Skip to content

CP-7456: Document the Staff Unavailability endpoints - #155

Merged
mattkepple merged 1 commit into
mainfrom
CP-7456-staff-unavailability
Nov 14, 2026
Merged

mattkepple merged 1 commit into
mainfrom
CP-7456-staff-unavailability

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Companion to https://github.com/MakerbleDev/makerble/pull/17671 (Rails endpoints) for CP-7456.

  • openapi.yaml:
    • new paths GET/POST /users/{user_id}/unavailabilities and PATCH/DELETE /users/{user_id}/unavailabilities/{id};
    • new schemas Unavailability, UnavailabilityInput and UnavailabilityWithConflicts;
    • a new tag, Staff Unavailability.
  • server.js: a Staff Unavailability section after Events, with four endpoint cards and a nav link.
  • Checks: the only files changed are openapi.yaml and the cards and nav in server.js, and npm run check passes.
  • Rails copy: the Rails PR vendors the same paths and schemas in spec/support/api_schemas/openapi.yaml, and contract specs validate the responses against them.

Merge timing: the API docs and MCP are pre-launch, so this may be merged as soon as it has been reviewed.


Generated by Claude Code

GET, POST, PATCH and DELETE /users/{user_id}/unavailabilities, with
the Unavailability, UnavailabilityInput and UnavailabilityWithConflicts
schemas, and their endpoint cards and nav link.

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

vercel Bot commented Nov 13, 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 Nov 13, 2026 8:27pm UTC

@mattkepple
mattkepple marked this pull request as ready for review November 14, 2026 07:54
@mattkepple
mattkepple merged commit 76380a4 into main Nov 14, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — daf56cf3 Deployed Nov 13, 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