HTTP API
The server (server/threshold/api/app.py) includes one router per file. These pages are generated from its OpenAPI schema: 97 operations in 19 groups. With the server running, the same schema is at /openapi.json and an interactive copy at /docs.
The API has no login and serves the data in your data folder, so keep it on your own machine or network. Signed scan links never reach the browser: the server fetches, caches and serves.
| Group | File | Operations |
|---|---|---|
| Aerial | api/aerial.py |
4 |
| Agent and workspace | api/agent.py |
7 |
| Agent, live view | api/agent_live.py |
2 |
| Phone captures | api/capture.py |
13 |
| Scans and buildings | api/data.py |
12 |
| Facts database | api/facts.py |
11 |
| Past work | api/history.py |
3 |
| Interior splats | api/interior_splat.py |
2 |
| Map layers | api/layers.py |
6 |
| Live sync | api/live.py |
6 |
| photon | api/photon.py |
4 |
| Reports | api/report.py |
5 |
| Search | api/search.py |
2 |
| Phone sensors | api/sensors.py |
1 |
| Flood and smoke shows | api/show.py |
3 |
| Site media | api/site_media.py |
2 |
| Your own scans | api/user_scans.py |
2 |
| What-if renovations | api/whatif.py |
3 |
| 3D city and terrain | api/world.py |
9 |