Updated API (markdown)

d47081 2023-11-05 00:47:26 +02:00
parent 0289c5057e
commit 3af4de11fb

2
API.md

@ -4,7 +4,7 @@ GET `/api/torrents?search=value&sensitive=false&locales=en|uk&yggdrasil=1&page=1
* `search` - `string` - optional, filter results by keyword, recent uploads if not provided
* `filter` - `bool` - optional, enable search mode to ignore user session (skip own content, account settings, etc)
* `sensitive` - `bool` - optional, 1 or 0, all results if not provided
* `sensitive` - `bool` - optional, all results if not provided
* `yggdrasil` - `bool` - optional, filter non-yggdrasil resources from downloads, all resources by default
* `locales` - `string` (loc1|loc2|.._) - optional, filter results by locales, all if not provided
* `categories` - `string` (cat1|cat2|..) - optional, filter results by categories, all if not provided