Closed Lynnesbian closed 8 months ago
I've implemented another fix: The full_update
field on the SyncData
struct is now wrapped in Option
. When the rid
parameter is set to a previously returned value in the sync
method, the API doesn't return a value for the full_update
parameter.
LGTM. Thanks for the PR!
There are two (as of yet) undocumented fields on the sync endpoint that qbit does not currently support. These fields are
trackers
andtrackers_removed
, and they are similar to thecategories
andcategories_removed
fields.I've opened a bug report against qBittorrent addressing this documentation error.
This commit adds the two fields to the
SyncData
struct.Feel free to rewrite the doc comments, or to change the types. I wasn't quite sure what would fit best.
Thank you for your work on this project!