You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #119: Refactor: rename peer.updated field in torrent detail endpoint
e1b84f6 refactor: [#61] extract struct ApiClient for API testing (Jose Celano)
bc3d246 feat(api): in torrent endpoint rename field to (Jose Celano)
7e03714 refactor: [#61] use StatsResource in API stats endpoint (Jose Celano)
b974ce0 refactor: [#61] use TorrentListItemResource in torrent list API endpoint (Jose Celano)
284c91b test: [#61] add e2e test for torrent list API endpoint (Jose Celano)
7298701 refactor: [#61] extract converter from TorrentPeer to TorrentPeerResource (Jose Celano)
801dfe6 refactor: [#61] use TorrentResource in torrent info API endpoint (Jose Celano)
ea92ceb test: [#61] add e2e test to API torrent info endpoint before refactoring (Jose Celano)
Pull request description:
TODO:
- [x] Add an e2e test before refactoring.
- [x] Refactor the API endpoint to use the resource `TorrentResource` like `AuthKeyResource`.
- [x] Refactor endpoint ` /api/torrents?offset=:u32&limit=:u32` to use `TorrentResource`.
- [x] Add a new field (`updated_milliseconds_ago`) to the JSON response keeping the old one for backwards compatibility.
ACKs for top commit:
josecelano:
ACK e1b84f6
da2ce7:
ACK e1b84f6
Tree-SHA512: be96ae16aa4214e600d6679f35a47ec3b95132ee8243352a11f7aca579a2a000843591556b8279abd073a9cb1079d32b961ee3c71892d4d925fcd202be2826a8
0 commit comments