Tsarr Documentation - v2.11.0
    Preparing search index...

    Type Alias TorrentsSetShareLimitsPostData

    type TorrentsSetShareLimitsPostData = {
        body: Hashes & { ratioLimit: number; seedingTimeLimit: number };
        path?: never;
        query?: never;
        url: "/torrents/setShareLimits";
    }
    Index

    Properties

    Properties

    body: Hashes & { ratioLimit: number; seedingTimeLimit: number }
    POST /api/v2/torrents/setShareLimits HTTP/1.1
    User-Agent: Fiddler
    Host: 127.0.0.1
    Cookie: SID=your_sid
    Content-Type: application/x-www-form-urlencoded
    Content-Length: length

    hashes=8c212779b4abde7c6bc608063a0d008b7e40ce32|284b83c9c7935002391129fd97f43db5d7cc2ba0&ratioLimit=1.0&seedingTimeLimit=60

    hashes can contain multiple hashes separated by | or set to all

    Type Declaration

    • ratioLimit: number

      ratioLimit is the max ratio the torrent should be seeded until. -2 means the global limit should be used, -1 means no limit.

    • seedingTimeLimit: number

      seedingTimeLimit is the max amount of time the torrent should be seeded. -2 means the global limit should be used, -1 means no limit.

    path?: never
    query?: never
    url: "/torrents/setShareLimits"