Reservation API

Capacity holds, expiry, confirmation, cancellation and explicit time zones. Isolated educational simulation; no real payment or reservation is made.

Base URL: https://funapi.dev/api/reservations/v1 · 5 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.

lifecycle

State transitions and recovery

A capacity reservation lab with temporary holds, confirmation, cancellation and expiry. Slots store an unambiguous UTC instant alongside an IANA display time zone, allowing clients to test daylight-saving presentation without accepting ambiguous or nonexistent local-time input.

What you can practise here

Example request and response

GET https://funapi.dev/api/reservations/v1/slots — List UTC slots with IANA display time zones. No token, no signup:

curl -i https://funapi.dev/api/reservations/v1/slots

Response: 200 OK

{
  "data": [
    {
      "id": 1,
      "startsAt": "2027-03-28T01:30:00Z",
      "timeZone": "Europe/London",
      "capacity": 2
    }
  ]
}

Open and run this endpoint

All 55 mock REST APIs

Use this response elsewhere

Last updated