Teardowns have four named “slots” alongside the genericDocumentation Index
Fetch the complete documentation index at: https://teardowns.aero/docs/llms.txt
Use this file to discover all available pages before exploring further.
documents[]
array:
| Slot URL fragment | DB column on teardowns | UI label |
|---|---|---|
harvest-list | harvest_list | Harvest List |
occm | occm | OCCM |
aircraft-details | aircraft_details_doc | Aircraft Details |
non-incident-statement | non_incident_statement | Non-Incident Statement |
documents[] array so it
appears both in the slot card AND in the “Documents” section.
Upload to a slot
Path parameters
One of
harvest-list, occm, aircraft-details,
non-incident-statement. URL-safe hyphens; the DB column has
underscores (we translate).Headers
Bearer tdao_live_…multipart/form-dataForm fields
The file to upload.
File rules
Same as the generic document upload max 50 MB, PDF / XLSX / XLS / DOCX / DOC / CSV / images.What it writes
- The matching column on the teardown row is set to the new URL (overwriting any previous slot value).
- The URL is also appended to
teardowns.documents[]. - If
audiencewas sent and is different from the teardown’s current audience, it’s applied + audited. - The file lands in storage at
teardowns/<teardown_id>/<doc_type>/<8-hex>_<filename>.
documents[] until you delete it
explicitly. (Most partners run a Clear → Upload sequence.)
Response
200 OK:
Clear a slot
- Sets the named column on the teardown to NULL (the UI slot card becomes blank).
- Removes the URL from
teardowns.documents[]. - Best-effort deletes the underlying storage file.
200 {"status": "ok"} without writing anything.
Path parameters
Same as upload
harvest-list / occm / aircraft-details /
non-incident-statement.Response
200 OK:
Audit trail
Each slot upload writes one audit row:teardown.harvest_list.uploaded(or the matching field name) with metadata containing filename, size, URL.
teardown.harvest_list.removed(or the matching field name) with metadata containing the removed URL.
See also
- Teardown documents for the generic (non-slot) document endpoints.
- Audience for the visibility behaviour of the
optional
audienceform field.

