REST server and Kad bootstrap/import APIs
Summary¶
Expose native REST operations for controlled server and Kad bootstrap/import flows.
Beta 0.7.3 Classification¶
Release Candidate. Server import and Kad bootstrap coverage already exist
on current main. Finish Kad import for 1.0 only if live-wire bootstrap needs
a native refresh path; otherwise keep the remaining import work as a follow-up.
Default live sources are the already-persisted eMule Security URLs:
https://emule-security.org/https://upd.emule-security.org/server.methttps://upd.emule-security.org/nodes.dat
Execution Plan¶
Historical release context: Beta 0.7.3 REST and Arr execution plan.
Acceptance Criteria¶
- [x] server import can refresh
server.metthrough the same safe validation and promotion path used by the app - [x] Kad import can refresh
nodes.datwithout weakening the existing bootstrap-empty guard - [x] endpoints support configured URLs and do not silently depend on bundled external lists
- [x] live E2E records source URL, size, hash, and import outcome
- [x] malformed downloads preserve the previous live files
Progress¶
- 2026-05-02: Native
mainaddedPOST /api/v1/servers/operations/import-met-url,PATCH /api/v1/servers/{serverId}property updates, andPOST /api/v1/kad/operations/bootstrap. Route seam and live-smoke contract coverage were updated inemulebb-build-tests. - 2026-05-07: Native
mainaddedPOST /api/v1/kad/operations/import-nodes-url, wired it to the existing validatednodes.datURL import path, and added native route plus OpenAPI contract coverage. - 2026-05-07: Added native malformed
nodes.datinstall preservation coverage inemulebb-build-tests; this complements existing malformedserver.metpreservation coverage. - 2026-05-07: Import routes now report the synchronous import outcome, and the
live REST smoke records source URL, byte count, SHA-256, REST route, HTTP
response, and imported outcome for both
server.metandnodes.datseed imports.
Relationship To Other Items¶
- updates
CI-014andCI-015 - complements
BUG-071andBUG-072