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

    Type Alias TorrentsPieceStatesPostResponses

    type TorrentsPieceStatesPostResponses = {
        "200": (0 | 1 | 2)[];
    }
    Index

    Properties

    Properties

    "200": (0 | 1 | 2)[]

    The response is:

    • empty, if the torrent hash is invalid
    • otherwise, an array of states (integers) of all pieces (in order) of a specific torrent.

    Value meanings are defined as below:

    Value Description
    0 Not downloaded yet
    1 Now downloading
    2 Already downloaded