<commit_before>toy-mongo
=========

### API

| Method  | Path                              | Action              |
| ------- |-----------------------------------|---------------------|
| POST    | /databases                        | create a database   |
| GET     | /databases                        | list the databases  |
| GET     | /databases/{database}             | get the database    |
| POST    | /databases/{database}/collections | create a collection |
| GET     | /databases/{database}/collections | list collections in the specified database |
| GET     | /databases/{database}/collections/{collection} | get the collection in the specified database |
| POST    | /databases/{database}/collections/{collection}/documents/insertAll | insert multiple documents at a time |<commit_msg>format README.md api<commit_after>toy-mongo
=========

### API

#### Database

| Method  | Path                  | Action             |
| ------- | --------------------- | ------------------ |
| POST    | /databases            | create a database  |
| GET     | /databases            | list the databases |
| GET     | /databases/{database} | get the database   |

#### Collection

| Method  | Path                                           | Action              |
| ------- | ---------------------------------------------- | ------------------- |
| POST    | /databases/{database}/collections              | create a collection |
| GET     | /databases/{database}/collections              | list collections in the specified database |
| GET     | /databases/{database}/collections/{collection} | get the collection in the specified database |

#### Document

| Method  | Path                                                               | Action              |
| ------- | ------------------------------------------------------------------ | ------------------- |
| POST    | /databases/{database}/collections/{collection}/documents/insertAll | insert multiple documents at a time |
{'fraction_non_alphanumeric': 0.2392730943967693, 'fraction_numerical': 0.0, 'mean_word_length': 1.1828193832599119, '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': '5052881', 'n_tokens_mistral': 434, 'n_tokens_neox': 413, 'n_words': 111}