You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .junie/guidelines.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The Laravel Boost guidelines are specifically curated by Laravel maintainers for
9
9
10
10
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The Laravel Boost guidelines are specifically curated by Laravel maintainers for
9
9
10
10
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The Laravel Boost guidelines are specifically curated by Laravel maintainers for
9
9
10
10
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
> **Notice:** The unversioned API routes (`/api/events`, `/api/bookings`, etc.) are deprecated and will be removed on **2026-12-31**. Please migrate to `/api/v1/`. See [API](#api) for details.
6
10
7
11
Book me a Cookie [BMAC] is a Vatsim booking system created in Laravel.
8
12
It's initial purpose was to be used for one event (The Holland - America Line),
@@ -196,6 +200,44 @@ run the following command:
196
200
If you're planning on importing flights later on,
197
201
add the airports in first before starting a import.
198
202
203
+
## API
204
+
205
+
BMAC exposes a read-only JSON API. All endpoints are public and require no authentication.
206
+
207
+
### v1 (stable)
208
+
209
+
Base URL: `/api/v1`
210
+
211
+
| Method | Endpoint | Description |
212
+
|--------|----------|-------------|
213
+
| GET |`/api/v1/events`| Paginated list of all events |
214
+
| GET |`/api/v1/events/upcoming/{limit?}`| Upcoming online events (default: 3) |
215
+
| GET |`/api/v1/events/{event}`| Single event |
216
+
| GET |`/api/v1/events/{event}/bookings`| Confirmed bookings for an event |
217
+
| GET |`/api/v1/bookings/{booking}`| Single booking |
218
+
| GET |`/api/v1/airports`| Paginated list of all airports |
219
+
| GET |`/api/v1/airports/{airport}`| Single airport |
220
+
221
+
Interactive documentation is available at `/docs/api`.
222
+
223
+
>**Note:** The `full_name` field has been removed from v1 booking responses
224
+
> (`/api/v1/bookings/{booking}` and `/api/v1/events/{event}/bookings`) as it felt unnecessary to expose.
225
+
> The legacy unversioned routes still include `full_name`until their removal.
226
+
227
+
### Legacy unversioned routes (deprecated)
228
+
229
+
The unversioned routes (`/api/events`, `/api/bookings`, `/api/airports`, etc.) are **deprecated**
230
+
and will be removed on **2026-12-31**. They remain fully functional in the meantime, but all
231
+
responses include the following deprecation headers per [RFC 8594](https://httpwg.org/specs/rfc8594.html):
0 commit comments