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

    Type Alias TorrentsSetCategoryPostData

    type TorrentsSetCategoryPostData = {
        body: Hashes & { category: string };
        path?: never;
        query?: never;
        url: "/torrents/setCategory";
    }
    Index

    Properties

    Properties

    body: Hashes & { category: string }
    POST /api/v2/torrents/setCategory 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&category=CategoryName

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

    Type Declaration

    • category: string

      category is the torrent category you want to set.

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