feat: simplify config to use status_url instead of relay:// format #1

Merged
nghialele merged 1 commit from feat/status-url-config into master 2026-06-14 19:49:59 -07:00
Owner

The device-id in the relay:// URL was never used for fetching stats.
Config now uses the direct status endpoint URL:

Before: url: "relay://1.2.3.4:22067/?id=ABC123-..."
After: status_url: "http://1.2.3.4:22070/status"

Changes:

  • models: removed RelayEndpoint/ParseRelayURL/DeviceID, added ExtractIP
  • config: RelayConfig now has status_url + name
  • collector: simplified to use status_url directly
  • api: history lookup by status_url instead of device ID
  • frontend: removed deviceId from TypeScript types
The device-id in the relay:// URL was never used for fetching stats. Config now uses the direct status endpoint URL: Before: url: "relay://1.2.3.4:22067/?id=ABC123-..." After: status_url: "http://1.2.3.4:22070/status" Changes: - models: removed RelayEndpoint/ParseRelayURL/DeviceID, added ExtractIP - config: RelayConfig now has status_url + name - collector: simplified to use status_url directly - api: history lookup by status_url instead of device ID - frontend: removed deviceId from TypeScript types
The device-id in the relay:// URL was never used for fetching stats.
Config now uses the direct status endpoint URL:

  Before: url: "relay://1.2.3.4:22067/?id=ABC123-..."
  After:  status_url: "http://1.2.3.4:22070/status"

Changes:
- models: removed RelayEndpoint/ParseRelayURL/DeviceID, added ExtractIP
- config: RelayConfig now has status_url + name
- collector: simplified to use status_url directly
- api: history lookup by status_url instead of device ID
- frontend: removed deviceId from TypeScript types

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
nghialele merged commit 2eb434795c into master 2026-06-14 19:49:59 -07:00
nghialele deleted branch feat/status-url-config 2026-06-14 19:49:59 -07:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nghialele/syncthing-relay-stats!1
No description provided.