feat: file upload / POST ingest endpoint — accept log files for remote harvester #3
Labels
No labels
compliance
demo
deployment
docs
enhancement
parser
patterns
performance
security
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/turnstone#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add
POST /turnstone/api/ingest/uploadaccepting multipart file upload. Server saves to a temp staging area, auto-detects format via existing_detect_format, runs through the ingest pipeline, returns stats. Required for the Podman harvester agent (see companion ticket).File upload ingest: added POST /api/ingest/upload multipart endpoint to rest.py. Accepts a log file, saves to temp, calls ingest_file(), rebuilds FTS index in background, returns {source_id, ingested, stats}. Used by both the Sources UI and the harvester agent. 234 tests passing.