Skip to content

Add booking history endpoint to OpenAPI spec#8

Open
acallaghan wants to merge 4 commits intomainfrom
claude/add-booking-history-v2-764Iw
Open

Add booking history endpoint to OpenAPI spec#8
acallaghan wants to merge 4 commits intomainfrom
claude/add-booking-history-v2-764Iw

Conversation

@acallaghan
Copy link
Copy Markdown
Contributor

@acallaghan acallaghan commented Mar 28, 2026

Summary

  • Adds GET /bookings/{code}/history.json path to the OpenAPI spec
  • Adds booking_history_entry schema with title, timestamp, description, and link fields
  • Companion to jammed-org/jammed PR implementing the endpoint

Test plan

  • Validate OpenAPI spec renders correctly
  • Verify schema matches the serializer output from the jammed PR

https://claude.ai/code/session_014Bxd8mJrp72PwiwM3tWGqm


Note

Low Risk
Low risk: this only extends the OpenAPI spec with a new read-only endpoint and schema, with no runtime/server logic changes.

Overview
Adds a new GET /bookings/{code}/history.json endpoint to the v2/jammed.yaml OpenAPI spec, documenting a chronological booking activity timeline response.

Introduces a booking_history_entry schema (with required title and timestamp, plus optional description) and wires it into the endpoint’s 200 response, alongside existing auth/path parameters and 401/404 responses.

Written by Cursor Bugbot for commit 65a0168. This will update automatically on new commits. Configure here.

claude and others added 2 commits March 28, 2026 23:33
Add GET /bookings/{code}/history.json path and booking_history_entry
schema documenting the new chronological booking activity timeline.

https://claude.ai/code/session_014Bxd8mJrp72PwiwM3tWGqm
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 28, 2026

Deploying api with  Cloudflare Pages  Cloudflare Pages

Latest commit: 26c707e
Status: ✅  Deploy successful!
Preview URL: https://5611216d.api-dwa.pages.dev
Branch Preview URL: https://claude-add-booking-history-v.api-dwa.pages.dev

View logs

claude and others added 2 commits March 28, 2026 23:42
The link field exposed internal admin paths and payment dashboard URLs.
Remove it from the public API schema.

https://claude.ai/code/session_014Bxd8mJrp72PwiwM3tWGqm
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