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

    Type Alias TorrentsFilePrioPostData

    type TorrentsFilePrioPostData = {
        body: { hash: string; id: number[]; priority: 0 | 1 | 6 | 7 };
        path?: never;
        query?: never;
        url: "/torrents/filePrio";
    }
    Index

    Properties

    Properties

    body: { hash: string; id: number[]; priority: 0 | 1 | 6 | 7 }

    id values correspond to file position inside the array returned by torrent contents API, e.g. id=0 for first file, id=1 for second file, etc.

    Since 2.8.2 it is reccomended to use index field returned by torrent contents API (since the files can be filtered and the index value may differ from the position inside the response array).

    Type Declaration

    • hash: string

      The hash of the torrent

    • id: number[]

      File ids, separated by |

    • priority: 0 | 1 | 6 | 7

      File priority to set (consult torrent contents API for possible values)

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