Download one member of a finished 3D extract
Streams a single output file of the job by its exact name as listed in the status files array. Only allowlisted members are served - matched by extension (.obj, .mtl, .dxf, .dwg, .gpkg, .zip) or basename (buildings.json, preview.png, README.txt); anything else in the job directory (state.json, result.json, temp files) answers 404. Names containing path separators or .. answer 400. Sent with Content-Disposition: attachment and Accept-Ranges: bytes. 409 while queued/running, 410 when the job failed.
Accepts the token in the token header or as ?token= so the URL works from <a href> and from a Grasshopper HTTP fetch.
https://res.aireon.ch/res_api/building3d-extract/download/{jobId}/{file}Authorization
Path parameters
- filestringrequired
Exact member name from the status
fileslist (e.g.rainweg_1_4710_balsthal.obj,model.mtl,buildings.json,preview.png,README.txt, the_clip.gpkgor the zip), OR a bare extension alias -obj,mtl,dxf,dwg,gpkg,zip- which resolves to the job's first member with that extension so a client can build the URL without reading the status first.maxLength: 120 · pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,119}$
Query parameters
Returns
200
The file bytes. Content-Type follows the extension (text/plain for OBJ/MTL/README, image/png, application/json, application/geopackage+sqlite3, image/vnd.dxf, image/vnd.dwg, application/zip); clients that do not care can read it as octets.