From 72933b936837955252813670a2966bc8a7e4d500 Mon Sep 17 00:00:00 2001 From: d47081 <108541346+d47081@users.noreply.github.com> Date: Thu, 19 Oct 2023 03:48:53 +0300 Subject: [PATCH] Created API (markdown) --- API.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 API.md 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