From 89adb86340c69955100567720d9caf80453da728 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Fri, 29 Dec 2023 05:32:43 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20=E2=80=94=20Add=20precisions=20t?= =?UTF-8?q?o=20unauthenticated=20endpoints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 2b4d395..60ff43c 100644 --- a/README.md +++ b/README.md @@ -70,21 +70,21 @@ Please, see [this wiki page](https://framagit.org/fiat-tux/hat-softwares/lufi/wi ## API endpoints -Some endpoints require authentication, others don't. -Here are the endpoints that needs to be whitelisted from authentication : -* `"^/r/"` -* `"^/js/"`, -* `"^/img/"`, -* `"^/css/"`, -* `"^/lang/"`, -* `"^/font/"`, -* `"^/partial/"`, -* `"^/download/"`, -* `"^/upload"`, -* `"^/guest/"`, -* `"^/about"`, -* `"^/delays$"`, -* `"^/fulstats$"` +When using accounts, some endpoints require authentication, others don't. +Here are the endpoints that needs to be excluded from authentication if you’re using an authenticating proxy: +- `"^/r/"` (page to get a file) +- `"^/js/"` (get js assets) +- `"^/img/"` (get images assets) +- `"^/css/"` (get css assets) +- `"^/lang/"` (change language) +- `"^/font/"` (get fonts assets) +- `"^/partial/"` (get rendered js assets) +- `"^/download/"` (websocket URL to download a file) +- `"^/upload"` (websocket URL to upload a file) +- `"^/guest/"` (guest page for uploading) +- `"^/about"` (about page) +- `"^/delays$"` (delays information page) +- `"^/fullstats$"` (JSON endpoint giving stats about the files) ## Authors