Skip to content

Commit

Permalink
README fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Feb 5, 2024
1 parent 59ea4aa commit b166bd3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b166bd3

Please sign in to comment.