16 KiB
16 KiB
WebAPI Changelog
2.17.0
- #24955
search/resultsendpoint includesengineFullName(string) data as the display name of the engine
- #25093
torrents/infoandsync/maindataendpoints includeerror(string) data, the reason why the torrent is inerrorstate (empty otherwise)
2.16.2
- #24920
app/preferencesendpoint includesconfirm_remove_all_tags(bool) optionapp/preferencesendpoint includesconfirm_remove_tracker_from_all_torrents(bool) optionapp/setPreferencesendpoint allows to set all of the above
- #24918
torrents/createCategoryandtorrents/editCategoryendpoints accept the following new parameters:ratioLimit(float) - the category share ratio limit;-2means use the global limit,-1means unlimitedseedingTimeLimit(int) - the category seeding time limit in minutes;-2means use the global limit,-1means unlimitedinactiveSeedingTimeLimit(int) - the category inactive seeding time limit in minutes;-2means use the global limit,-1means unlimitedshareLimitsMode(string) - how the limits combine:Default,MatchAnyorMatchAllshareLimitAction(string) - the action taken when a limit is reached:Default,Stop,Remove,RemoveWithContentorEnableSuperSeeding
torrents/editCategoryendpoint no longer requires thesavePathparameter
- #24891
app/preferencesendpoint includesi2p_inbound_length_variance(int) optionapp/preferencesendpoint includesi2p_outbound_length_variance(int) optionapp/setPreferencesendpoint allows to seti2p_inbound_length_variance(int) optionapp/setPreferencesendpoint allows to seti2p_outbound_length_variance(int) option
- #24870
app/preferencesendpoint includesi2p_pex_enabled(bool) optionapp/setPreferencesendpoint allows to seti2p_pex_enabled(bool) option
- #24842
- Add JSON
rss/exportRulesandrss/importRulesendpoints for RSS auto-download rules (rss/importRulesacceptsPOSTrequests only)
- Add JSON
- #24269
- Add
transfer/pauseSessionendpoint for pausing the session - Add
transfer/resumeSessionendpoint for resuming the session sync/maindataendpoint includessession_state(bool) inserver_state
- Add
2.16.1
- #24837
app/preferencesendpoint includeswebtorrent_stun_server(string) optionapp/setPreferencesendpoint allows to setwebtorrent_stun_server(string) option
- #23784
search/statusendpoint now includespattern,category, andpluginsfields for each search jobapp/preferencesendpoint now supportsstore_search_jobsandstore_search_job_resultspreference keys
2.16.0
- #24791
search/downloadTorrentandrss/setFeedRefreshIntervalendpoints now only acceptPOSTrequests
- #24724
torrents/addendpoint acceptsseedMode(bool) parametertorrents/addendpoint no longer acceptsskip_checkingparameter
- #24720
app/preferencesendpoint includesweb_ui_sessions_count_limit(int) optionapp/setPreferencesendpoint allows to setweb_ui_sessions_count_limit(int) option
- #24641
app/preferencesandapp/setPreferencesendpoints no longer includeexport_dirandexport_dir_finoptions as they are no longer supported by the coreapp/preferencesandapp/setPreferencesendpoints include the following new options:torrent_files_backup_enabled(bool) - enable/disable saving backup copies of .torrent filestorrent_files_backup_dir(string) - the folder path for saving backup copies of .torrent filestorrent_files_finished_backup_dir_enabled(bool) - enable/disable moving backup copies of .torrent files to another folder when torrent is finishedtorrent_files_finished_backup_dir(string) - the folder path for moving backup copies of .torrent files when torrent is finishedremove_torrent_file_backup(bool) - whether .torrent file backup should be removed when removing the torrent
- #24684
app/preferencesendpoint includesenable_multi_connections_from_same_peer_idoptionapp/setPreferencesendpoint allows to setenable_multi_connections_from_same_peer_idoption
- #23989
sync/torrentPeersendpoint now includes calculatedcontributionto a peer's progress
- #24346
torrentcreator/addTaskendpoint accepts a new bool optionignoreDotfilesto control whether dotfiles are ignoredtorrentcreator/statusendpoint returns a new bool fieldignoreDotfilesfor reporting whether dotfiles were ignored
- #24246
torrents/fetchMetadataandtorrents/parseMetadataendpoints include fileprioritywhen excluded file names apply
- #24210
torrentcreator/statusendpoint now returnstimeAdded,timeStarted, andtimeFinishedas Unix timestamps
- #24158
app/preferencesendpoint includesseeding_outgoing_connectionsoptionapp/setPreferencesendpoint allows to setseeding_outgoing_connectionsoption
- #24152
sync/maindataendpoint now includesrequest_latencymetric
- #24084
sync/maindataendpoint now includesqueued_tracker_announcesmetric
- #23838
app/preferencesendpoint no longer includesmail_notification_ssl_enabledoption as it no longer existsapp/preferencesendpoint includesmail_notification_encryption_typeoption, replacing the removedmail_notification_ssl_enabledoptionapp/setPreferencesendpoint no longer allows settingmail_notification_ssl_enabledoption as it no longer existsapp/setPreferencesendpoint allows to setmail_notification_encryption_typeoption, replacing the removedmail_notification_ssl_enabledoption
- #24134
transfer/getSpeedLimitsendpoint was added to retrieve global and alternative speed limits (up_limit,dl_limit,alt_up_limit,alt_dl_limit)transfer/setSpeedLimitsendpoint was added to set global and alternative speed limits (up_limit,dl_limit,alt_up_limit,alt_dl_limit)
- #24253
app/preferencesendpoint includesmax_outstanding_block_requestsoptionapp/setPreferencesendpoint allows to setmax_outstanding_block_requestsoption
- #24135
- Add
torrents/downloadFileendpoint withhashandfileas parameters allowing to download a completed file from torrent contentfileaccepts either file index or path relative to content root
- Add
2.15.4
- #24056
- Add
rss/cloneRuleendpoint withsourceNameandcloneNameas parameters for cloning an existing RSS auto-download rule
- Add
2.15.3
- #24043
sync/maindataendpoint includesshare_limits_modefor torrentsapp/preferencesendpoint includesshare_limits_modeoptionapp/setPreferencesendpoint allows to setshare_limits_modeoptiontorrents/setShareLimitsendpoint now requiresshareLimitsMode(string) param that sets a torrent's shareLimitsMode property.- possible values
Default,MatchAny,MatchAll
- possible values
2.15.2
- #23357
- Add
app/getFreeSpaceAtPathActionendpoint withpathas parameter returning the free space at the given path
- Add
2.15.1
- #23357
- Add
app/processInfoendpoint returninglaunch_time(process launch time as UTC epoch seconds)
- Add
- #23708
sync/torrentPeersendpoint now includes peerhost_namewhen peer host name resolution is enabled
- #23741
- Add
torrents/pieceAvailabilityendpoint for retrieving availability of each torrent piece torrents/propertiesendpoint now includes the number of distributed copies of the torrent's selected files viaavailabilityfield
- Add
- #23847
torrents/editCategoryendpoint will not throw an error when editing category without changestorrents/editCategoryendpoint will throw a "Not Found" (404) error when editing category that does not exist
2.15.0
- #23585
sync/maindataendpoint no longer includes the keyuse_subcategoriesas subcategories are now always enabled
- #23564
- WebAPI credentials can now be supplied via Basic auth
2.14.1
- #23212
- Add
app/rotateAPIKeyendpoint for generating, and rotating, the WebAPI API key
- Add
- #23388
- Add
app/deleteAPIKeyendpoint for deleting the existing WebAPI API key
- Add
2.14.0
- #23202
- WebAPI responds with the error message "Endpoint does not exist" when the endpoint does not exist, to better differentiate from unrelated Not Found (i.e. 404) responses
auth/loginendpoint responds to invalid credentials with a 401torrents/addendpoint responds withsuccess_count,pending_count,failure_count, andadded_torrent_ids- When
pending_countis non-zero, response code 202 is used - When all torrents fail to be added, response code 409 is used
- When
2.13.1
- #23163
torrents/addendpoint now supports downloading from a search plugin via thedownloaderparametertorrents/fetchMetadataendpoint now supports fetching from a search plugin via thedownloaderparameter
- #23088
- Add
clientdata/loadandclientdata/storeendpoints for managing WebUI-specific client settings and other shared data
- Add
2.13.0
- #23045
torrents/trackersreturns three new fields:next_announce,min_announceandendpointsendpointsis an array of tracker endpoints, each withname,updating,status,msg,bt_version,num_peers,num_peers,num_leeches,num_downloaded,next_announceandmin_announcefields
torrents/trackersnow returns5and6instatusfield as possible values5forTracker errorand6forUnreachable
- #22963
torrents/editTrackerendpoint now supports setting a tracker's tier viatierparametertorrents/editTrackerendpoint always responds with a 204 when successfultorrents/editTrackerendpointorigUrlparameter renamed tourl
- #23061
sync/torrentPeersreturns one new field:i2p_dest, only when the peer is from I2P- In this case, the fields
ipandportare not returned
- In this case, the fields
- #23085
torrents/parseMetadatanow responds with an array of metadata in the same order as the files in the request. It previously responded with an object keyed off of the submitted file name.
2.12.1
- #23031
- Add
torrents/setCommentendpoint with parametershashesandcommentfor setting a new torrent comment
- Add
2.12.0
- #22989
sync/maindatareturns one new field:share_limit_actiontorrents/setShareLimitsnow requires a newshareLimitActionparam that sets a torrent's shareLimitAction property- possible values
Default,Stop,Remove,RemoveWithContentandEnableSuperSeeding
- possible values
2.11.10
- #22958
torrents/categoriesandsync/maindatanow serialize categories'downloadPathtonull, rather thanundefined
- #22954
torrents/reannouncesupports specifying individual trackers viatrackersfield
2.11.9
- #21015
- Add
torrents/fetchMetadataendpoint for retrieving torrent metadata associated with a URL - Add
torrents/parseMetadataendpoint for retrieving torrent metadata associated with a .torrent file - Add
torrents/saveMetadataendpoint for saving retrieved torrent metadata to a .torrent file torrents/addallows adding a torrent with metadata previously retrieved viatorrents/fetchMetadataortorrents/parseMetadatatorrents/addallows specifying a torrent's file priorities
- Add
- #22698
torrents/addTrackersandtorrents/removeTrackersnow accepthash=alland adds/removes the tracker to/from all torrents- For compatibility,
torrents/removeTrackersstill acceptshash=*internally we transform it intoall
- For compatibility,
- Allow passing a pipe (
|) separated list of hashes inhashfortorrents/addTrackersandtorrents/removeTrackers
2.11.8
- #21349
- Handle sending
204 No Contentstatus code when response contains no data- Some endpoints still return
200 OKto ensure smooth transition
- Some endpoints still return
- Handle sending
- #22750
torrents/infoallows an optional parameterincludeFilesthat defaults tofalse- Each torrent will contain a new key
fileswhich will list all files similar to thetorrents/filesendpoint
- Each torrent will contain a new key
- #22813
app/getDirectoryContentallows an optional parameterwithMetadatato send file metadata- Fields are
name,type,size,creation_date,last_access_date,last_modification_date - See PR for TypeScript types
- Fields are
2.11.7
- #22166
sync/maindatareturns 3 new torrent fields:has_tracker_warning,has_tracker_error,has_other_announce_error
2.11.6
- #22460
app/setPreferencesallows only one ofmax_ratio_enabled,max_ratioto be presentapp/setPreferencesallows only one ofmax_seeding_time_enabled,max_seeding_timeto be presentapp/setPreferencesallows only one ofmax_inactive_seeding_time_enabled,max_inactive_seeding_timeto be present