File tree Expand file tree Collapse file tree
rest-api-protocol/src/v1/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -434,4 +434,4 @@ Why discarded:
434434 - ` rest-api-application ` : ` TorrentQueryPort ` + ` TorrentApiService ` use case
435435 - ` rest-api-runtime-adapter ` : ` TrackerTorrentQueryAdapter ` + conversion functions
436436 - ` axum-rest-api-server ` : handler dispatches via use case instead of direct ` tracker-core `
437- - [ ] Target architecture documented in ` docs/packages.md ` (or a dedicated ADR) .
437+ - [x ] Target architecture documented in ` docs/packages.md ` and ` docs/adrs/ ` . Verdict: ADR 20260623200526 + packages.md REST API section .
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ contrib/
5959
6060The REST API uses a ** contract-first layered architecture** with four distinct
6161layers and enforced dependency direction. See
62- [ ADR 20260623200526] ( docs/ adrs/20260623200526_adopt_contract-first_architecture_for_rest_api.md)
62+ [ ADR 20260623200526] ( adrs/20260623200526_adopt_contract-first_architecture_for_rest_api.md )
6363for the full architectural decision and alternatives considered.
6464
6565``` mermaid
Load diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ # Torrust Tracker REST API Application
2+
3+ Application/use-case layer for the Torrust Tracker REST API.
4+
5+ ## Documentation
6+
7+ [ Crate documentation] ( https://docs.rs/torrust-tracker-rest-api-application ) .
8+
9+ ## License
10+
11+ The project is licensed under the terms of the [ GNU AFFERO GENERAL PUBLIC LICENSE] ( ./LICENSE ) .
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ pub struct Peer {
88 pub peer_id : Id ,
99 /// The peer's socket address. For example: `192.168.1.88:17548`.
1010 pub peer_addr : String ,
11- /// The peer's last update time in milliseconds.
11+ /// The peer's last update time as a Unix timestamp in milliseconds since epoch .
1212 #[ deprecated( since = "2.0.0" , note = "please use `updated_milliseconds_ago` instead" ) ]
1313 pub updated : u128 ,
14- /// The peer's last update time in milliseconds .
14+ /// Milliseconds since the peer's last update (relative to the response generation time) .
1515 pub updated_milliseconds_ago : u128 ,
1616 /// The peer's uploaded bytes.
1717 pub uploaded : i64 ,
Load diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ # Torrust Tracker REST API Runtime Adapter
2+
3+ Tracker-specific runtime adapter for the REST API application layer.
4+
5+ ## Documentation
6+
7+ [ Crate documentation] ( https://docs.rs/torrust-tracker-rest-api-runtime-adapter ) .
8+
9+ ## License
10+
11+ The project is licensed under the terms of the [ GNU AFFERO GENERAL PUBLIC LICENSE] ( ./LICENSE ) .
You can’t perform that action at this time.
0 commit comments