Facilities & IT / SaaS & DevOps · v0.1.6In progress
BookingBBooookkiinnggAPIAAPPII
Uptime and p95 latency with a daily service history and incident details.
Booking API · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
snapshotBookingApiSnapshot
Service status, region, instance count, uptime percentage, p95 latency in ms and daily history. Days can include incident records with a stable ID, title, start time, duration and resolution status.
simulateboolean
Varies p95 latency for the sample service when reduced motion is off.
historyPlacement"inset" | "inline" | "bottom"
Keeps the timeline inside the padding by default. Inline reaches both sides. Bottom reaches both sides and the bottom edge.
Data and integration
Preview
Forty-five sample days of uptime, with four incidents across three affected days and simulated p95 latency.
Inputs
Send service status, region, instance count, latency, uptime and daily history. A day can include a short note and an incidents array. Each incident needs an id unique within that day and a title. Optional fields are startedAt, durationMinutes and status (ongoing or resolved).
Source options
Map read-only service monitoring metrics and the incident log into a snapshot. The host assigns incidents to calendar days in its reporting time zone and supplies the daily level (ok, minor or major).
Actions
Inspect any day in the wrapping history. The incident-day count opens affected days from newest to oldest. Select an affected day and use View incidents to open its details. Left and Right move chronologically, Up and Down move between rows, and Home and End reach the first and last day.
Integration requirements
Pass days from oldest to newest with one entry per ISO calendar date. Uptime is on a scale of 0 to 100 and p95 latency is in milliseconds. startedAt is an ISO date-time with an explicit UTC offset and is displayed in UTC. durationMinutes is a non-negative whole number. A day counts once if its level is minor or major or its incidents array is populated. Levels and notes can be supplied on their own.