Created API (markdown)

d47081 2023-10-19 03:48:53 +03:00
parent fda89b1e4d
commit 72933b9368

8
API.md Normal file

@ -0,0 +1,8 @@
Get / find recent torrents
`/api/torrents?search=value&sensitive=0&locales=en|uk&page=1`
* `search` - optional, filter results by keyword, recent uploads if not provided
* `sensitive` - optional, 1 or 0, all results if not provided
* `locales` - optional, filter results by locales, all locales if not provided
* `page` - optional, 1 by default