AeroModel

Documentation

GET /v1/assets/*

Public proxy for static files (airline and manufacturer logos) stored in R2. URLs returned by /v1/info/* always point at these routes — the internal R2 paths are never exposed.


GET /v1/assets/airline-logo/{slug}

Logo of an airline.

Example

GET https://api.aeromodel.dash-systems.fr/v1/assets/airline-logo/air-france?api-key=YOUR_KEY

Response: binary SVG / PNG / JPG / WebP (depending on what's stored), with Content-Type correctly detected from the source file extension.

HeaderExample
Content-Typeimage/svg+xml (or image/png, etc.)
Cache-Controlpublic, max-age=86400, s-maxage=86400, stale-while-revalidate=604800
ETagincluded for If-None-Match

Errors

CodeCase
400Invalid slug (disallowed characters)
404Unknown slug or logo unavailable for this airline
401No API key

GET /v1/assets/manufacturer-logo/{slug}

Logo of an aircraft manufacturer (Boeing, Airbus, Embraer, ...).

Example

GET https://api.aeromodel.dash-systems.fr/v1/assets/manufacturer-logo/airbus?api-key=YOUR_KEY

The slug is derived from the manufacturer name (Airbusairbus, Bombardier Aerospacebombardier-aerospace).

Errors

Same codes as airline logos.


Client-side usage

<img src="https://api.aeromodel.dash-systems.fr/v1/assets/airline-logo/air-france?api-key=YOUR_KEY"
     alt="Air France logo"
     loading="lazy">

Returned SVGs can be displayed directly in an <img>. To inline them as <svg>, fetch the response and inject the body (the Content-Type: image/svg+xml header is set correctly).

See also