<commit_before># Restful endpoints for Cheeper

| Method   | Slug               | Description                           | Who's allowed           |
|----------|--------------------|---------------------------------------|-------------------------|
| `POST`   | `/auth-token/`     | Creates and returns auth. token       | Anyone                  |
| `DELETE` | `/auth-token/`     | Invalidates auth. token               | Valid token             |
|          |                    |                                       |                         |
| `GET`    | `/users/`          | Retrieves list of all users           | Anyone                  |
| `POST`   | `/users/`          | Creates new user                      | Anyone                  |
| `GET`    | `/users/:user-id/` | Retrieves details of a specific user  | Anyone                  |
| `PATCH`  | `/users/:user-id/` | Updates details of a specific user    | Valid token as :user-id |
| `DELETE` | `/users/:user-id/` | Deletes a specific user               | Valid token as :user-id |<commit_msg>Include more endpoints of cheeps<commit_after># Restful endpoints for Cheeper

| Method   | Slug                 | Description                           | Who's allowed                      |
|----------|----------------------|---------------------------------------|------------------------------------|
| `POST`   | `/auth-token/`       | Creates and returns an auth. token    | Valid login credentials            |
| `DELETE` | `/auth-token/`       | Invalidates request's auth. token     | Valid token                        |
| `GET`    | `/users/`            | Retrieves the list of all users       | Anyone                             |
| `POST`   | `/users/`            | Creates a new user                    | Anyone                             |
| `GET`    | `/users/:user-id/`   | Retrieves details of a specific user  | Anyone                             |
| `PATCH`  | `/users/:user-id/`   | Updates details of a specific user    | Valid token as :user-id            |
| `DELETE` | `/users/:user-id/`   | Deletes a specific user               | Valid token as :user-id            |
| `GET`    | `/cheeps/`           | Retrieves the list of all cheeps      | Anyone                             |
| `POST`   | `/cheeps/`           | Creates a new cheep                   | Valid token                        |
| `GET`    | `/cheeps/:cheep-id/` | Retrieves details of a specific cheep | Anyone                             |
| `PATCH`  | `/cheeps/:cheep-id/` | Updates details of a specific cheep   | Valid token as author of :cheep-id |
| `DELETE` | `/cheeps/:cheep-id/` | Deletes a specific cheep              | Valid token as author of :cheep-id |
{'fraction_non_alphanumeric': 0.18131666053696213, 'fraction_numerical': 0.0, 'mean_word_length': 0.9912152269399708, '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': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3670782', 'n_tokens_mistral': 703, 'n_tokens_neox': 681, 'n_words': 202}