From b166bd3a0c7c45350e272cf13b856fabc2d82175 Mon Sep 17 00:00:00 2001 From: AndcoolSystems Date: Tue, 6 Feb 2024 00:03:33 +0300 Subject: [PATCH] README fixes --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 57e3f74..210b42b 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,10 @@ The file uploader is implemented in the Python programming language using FastAP ## API Documentation The API is currently hosted at [fu.andcool.ru](https://fu.andcool.ru/). -Page redirection is handled through the nginx proxy server. The API consists of 8 endpoint URLs: +Page redirection is handled through the nginx proxy server. The API consists of 2 pathes: - `/file/` – Endpoint where all files are located. -- `/api` – Main API endpoint -- - `/upload/` – Endpoint for receiving file upload requests. -- - `/delete/` – Request to delete a file. -- - `/login` – Log in with login and password. -- - `/register` – Create a new account with a login and password. -- - `/refresh_token` – Refresh the existing token. -- - `/get_files` (`/getFiles` deprecated) – Get list of files -- - `/logout` – Log out from account +- `/api/` – Main API endpoint ### 1.1 Authorization Errors