diff --git a/API.md b/API.md new file mode 100644 index 0000000..5569000 --- /dev/null +++ b/API.md @@ -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 \ No newline at end of file