<commit_before># Server

## Routes

All these routes are available from `/api/`.

### Authentication

Route | Description | Authentication
----- | ----------- | --------------
**POST** /login | Log an user | No
**POST** /passwordRecovery | Get a recovery password mail | No
**POST** /recovery/:token | Send a password change | No

### User

Route | Description | Authentication
----- | ----------- | --------------
**POST** /user | Add a new user | No
**PUT** /user | Edit logged user | Yes
**GET** /user/me | Get informations on logged user | Yes
**GET** /user | Get list of all users | No
**GET** /user/:id | Get user with specific id | No

### Team

Route | Description | Authentication
----- | ----------- | --------------
**POST** /team | Add a new team | Yes
**PUT** /team | Edit a team | Yes
**DELETE** /team | Remove a team | Yes
**GET** /team/:id | Get team with specific id | No
**GET** /team | Get all teams | No

### Application

Route | Description | Authentication<commit_msg>fix(doc): Add link to Authentication doc<commit_after># Server

## Routes

All these routes are available from `/api/`.

### [Authentication](/server/doc/auth.md#authentication)

Route | Description | Authentication
----- | ----------- | --------------
**POST** /login | Log an user | No
**POST** /passwordRecovery | Get a recovery password mail | No
**POST** /recovery/:token | Send a password change | No

### User

Route | Description | Authentication
----- | ----------- | --------------
**POST** /user | Add a new user | No
**PUT** /user | Edit logged user | Yes
**GET** /user/me | Get informations on logged user | Yes
**GET** /user | Get list of all users | No
**GET** /user/:id | Get user with specific id | No

### Team

Route | Description | Authentication
----- | ----------- | --------------
**POST** /team | Add a new team | Yes
**PUT** /team | Edit a team | Yes
**DELETE** /team | Remove a team | Yes
**GET** /team/:id | Get team with specific id | No
**GET** /team | Get all teams | No

### Application

Route | Description | Authentication
{'fraction_non_alphanumeric': 0.22591687041564792, 'fraction_numerical': 0.0, 'mean_word_length': 2.4677966101694917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4776795', 'n_tokens_mistral': 597, 'n_tokens_neox': 602, 'n_words': 238}