3x-ui/web/runtime
MHSanaei 1f4e2707a0
refactor(clients): switch client API endpoints from id to email
All client-scoped routes now use the unique email as the path key
(get, update, del, attach, detach, links). Email is the stable,
protocol-independent identifier — UUIDs don't exist for trojan or
shadowsocks, and internal numeric ids leaked panel implementation
detail into the public API.

Removed the redundant /traffic/byId/:id endpoint (covered by
/traffic/:email) and collapsed /links/:id/:email into /links/:email,
which now returns links across every attached inbound for the client.

Frontend selection, bulk delete, and toggle state are now keyed by
email as well, dropping the id→email lookup workaround.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 16:41:48 +02:00
..
local.go fix(clients): stop node sync from resurrecting deleted clients 2026-05-17 15:44:33 +02:00
manager.go feat(nodes): traffic-writer queue, full-mirror sync, WS event fixes 2026-05-10 16:25:23 +02:00
remote.go fix(clients): stop node sync from resurrecting deleted clients 2026-05-17 15:44:33 +02:00
remote_test.go refactor(clients): switch client API endpoints from id to email 2026-05-17 16:41:48 +02:00
runtime.go fix(clients): stop node sync from resurrecting deleted clients 2026-05-17 15:44:33 +02:00