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

    Type Alias TorrentsSetLocationPostData

    type TorrentsSetLocationPostData = {
        body: Hashes & { location: string };
        path?: never;
        query?: never;
        url: "/torrents/setLocation";
    }
    Index

    Properties

    Properties

    body: Hashes & { location: string }
    POST /api/v2/torrents/setLocation 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&location=/mnt/nfs/media

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

    Type Declaration

    • location: string

      location is the location to download the torrent to. If the location doesn't exist, the torrent's location is unchanged.

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