Files
OSIT-AE-API-FastAPI/app
Scott Idem 88f7609b63 feat(event_file): add atomic DELETE and hosted_file orphan scan
DELETE /v3/action/event_file/{id} — removes hosted_file_link, optionally
cleans up physical file + hosted_file record if orphaned (rm_orphan=True
default), then deletes the event_file row. Closes the gap left by the V3
CRUD migration which silently dropped hosted_file cleanup.

GET /v3/action/hosted_file/orphan_scan — returns hosted_file rows with no
hosted_file_link entries (DB orphans, paginated), plus optional disk scan
for physical files with no DB record. Needed for admin cleanup of the
backlog accumulated during the broken-delete period.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 18:09:20 -04:00
..
2020-09-14 12:41:02 -04:00
2026-01-06 18:06:45 -05:00
2026-02-06 13:56:40 -05:00
2026-04-02 16:51:34 -04:00