<commit_before>{
    "get": {
        "tags": [
            "ShortCodes",
            "Visits"
        ],
        "summary": "List visits for short URL",
        "description": "Get the list of visits on provided short code.",
        "parameters": [
            {
                "name": "shortCode",
                "in": "path",
                "description": "The shortCode from which we want to get the visits.",
                "required": true,
                "schema": {
                    "type": "string"
                }
            }
        ],
        "security": [
            {
                "Bearer": []
            }
        ],
        "responses": {
            "200": {
                "description": "List of visits.",
                "content": {
                    "application/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "visits": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "../definitions/Visit.json"
                                            }
                                        }
                                    }
                                }
                            }
                        }<commit_msg>Documented date range params for visits endpoint<commit_after>{
    "get": {
        "tags": [
            "ShortCodes",
            "Visits"
        ],
        "summary": "List visits for short URL",
        "description": "Get the list of visits on provided short code.",
        "parameters": [
            {
                "name": "shortCode",
                "in": "path",
                "description": "The shortCode from which we want to get the visits.",
                "required": true,
                "schema": {
                    "type": "string"
                }
            },
            {
                "name": "startDate",
                "in": "query",
                "description": "The date (in ISO-8601 format) from which we want to get visits.",
                "required": false,
                "schema": {
                    "type": "string"
                }
            },
            {
                "name": "endDate",
                "in": "query",
                "description": "The date (in ISO-8601 format) until which we want to get visits.",
                "required": false,
                "schema": {
                    "type": "string"
                }
            }
        ],
        "security": [
            {
                "Bearer": []
            }
        ],
        "responses": {
            "200": {
                "description": "List of visits.",
                "content": {
                    "application/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "visits": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "../definitions/Visit.json"
                                            }
                                        }
                                    }
                                }
                            }
                        }
{'fraction_non_alphanumeric': 0.1095890410958904, 'fraction_numerical': 0.0036880927291886197, 'mean_word_length': 0.6041402619349387, 'pattern_counts': {'":': 68, '<': 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': 26, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5524175', 'n_tokens_mistral': 792, 'n_tokens_neox': 730, 'n_words': 182}