Skip to content

Commit 79e90de

Browse files
committed
Implemented features such as setting trackers, setting priority, and others.
1 parent 2bda8c6 commit 79e90de

File tree

3 files changed

+417
-3
lines changed

3 files changed

+417
-3
lines changed

lib/Constants/api_endpoints.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,17 @@ class ApiEndpoints {
1515
static String addTorrentFile = '/api/torrents/add-files';
1616
static String deleteTorrent = '/api/torrents/delete';
1717
static String setTags = '/api/torrents/tags';
18+
static String setTrackers = '/api/torrents/trackers';
19+
static String updateInitialSeeding = '/api/torrents/initial-seeding';
20+
static String updateSequential = '/api/torrents/sequential';
21+
static String reannouncesTorrents = '/api/torrents/reannounce';
22+
static String updatePriority = '/api/torrents/priority';
23+
static String getTrackersList = '/api/torrents/';
1824

1925
// Client settings endpoints
2026
static String getClientSettingsUrl = '/api/client/settings';
2127
static String setClientSettingsUrl = '/api/client/settings';
28+
static String checkClientConeection = '/api/client/connection-test';
2229

2330
// Torrent content endpoint
2431
// api/torrents/{hash}/contents

0 commit comments

Comments
 (0)