API Reference¶
All API endpoints require authentication unless noted. Base path: /api/.
Aircraft¶
Endpoint |
Methods |
Description |
|---|---|---|
|
GET, POST |
List/create aircraft |
|
GET, PUT, PATCH, DELETE |
Aircraft detail |
|
GET |
Aircraft with components, squawks, notes |
|
POST |
Update flight hours (syncs components) |
|
GET, POST |
Aircraft squawks |
|
GET, POST |
Aircraft notes |
|
GET, POST |
Oil consumption records |
|
GET, POST |
Fuel consumption records |
|
GET, POST |
Aircraft components |
|
GET, POST |
Airworthiness Directives |
|
GET, POST |
AD compliance records |
|
GET, POST |
Inspection records |
|
GET, POST |
Major repair/alteration records |
|
GET |
Documents organized by collection |
|
GET |
Audit event log ( |
|
GET, POST, DELETE |
Per-aircraft role management (owner only) |
|
GET, POST |
List/create share links (owner only) |
|
DELETE |
Revoke a share link (owner only) |
Components¶
Endpoint |
Methods |
Description |
|---|---|---|
|
GET, POST |
List/create components |
|
GET, PUT, PATCH, DELETE |
Component detail |
|
POST |
Reset service time (oil changes, etc.) |
|
GET, POST |
Component type definitions |
|
GET, PUT, PATCH, DELETE |
Component type detail |
Maintenance¶
Endpoint |
Methods |
Description |
|---|---|---|
|
GET, PUT, PATCH, DELETE |
Squawk detail operations |
|
GET, PATCH, DELETE |
Note operations |
|
GET, POST, PUT, PATCH, DELETE |
Logbook entries |
|
CRUD |
Inspection type definitions |
|
CRUD |
Inspection records |
|
CRUD |
Airworthiness Directives |
|
CRUD |
AD compliance records |
|
CRUD |
Major repair/alteration records |
Documents¶
Endpoint |
Methods |
Description |
|---|---|---|
|
CRUD |
Document collections |
|
CRUD |
Documents |
|
CRUD |
Document images (individual pages) |
Public (No Auth Required)¶
Endpoint |
Methods |
Description |
|---|---|---|
|
GET |
Public aircraft summary (filtered by privilege level) |
|
GET |
Paginated logbook (maintenance privilege only) |
Web Interface¶
URL |
Description |
|---|---|
|
Redirects to dashboard |
|
Fleet dashboard |
|
Aircraft detail page |
|
Public read-only aircraft view (no login required) |
|
Django admin interface |
|
Login page |
Event Log¶
GET /api/aircraft/{id}/events/ returns { events: [...], total: N }.
Query parameters:
limit— max results, up to 200 (default 50)category— filter by category:hours,component,squawk,note,oil,fuel,logbook,ad,inspection,document,aircraft,role,major_record
Logbook Import (AI)¶
Endpoint |
Methods |
Description |
|---|---|---|
|
GET |
Available AI models |
|
POST |
Submit scanned page image for transcription |