<commit_before>const config = require('../config.js');
const get = require('lodash/get');
const path = require('path');
const { getRoute, getTimeout } = config;
const ROUTE_NAME = 'download';

/**
 * @api {get} /:filename.json Download provided file
 * @apiVersion 1.0.0
 * @apiName PlayerMeta
 * @apiGroup Files
 * @apiPermission none
 *
 * @apiDescription Returns player information
 *
 * @apiParam (Params) {String} filename
 *
 * @apiExample {curl} Example usage:
 *   curl -H 'Accept: application/vnd.api+json' \
 *     "https://api-sandbox-dev.matic.ninja/api/files/9058df9-983e-43b6-8755-84b92c272357.json"
 *
 * @apiUse FileNotFoundError
 * @apiUse PreconditionFailedError
 *
 * @apiSuccessExample {json} Success-Download:
 *     HTTP/1.1 200 OK
 *     {
 *        "name": "Panda eating bamboo",
 *        "file": "https://cdn.google.com/path/to/file.bin.gz",
 *        "materials": [
 *          {
 *            "texture": "https://cdn.google.com/path/to/texture.jpeg"
 *          },
 *          {
 *            "texture": "https://cdn.google.com/path/to/texture_2.jpeg"
 *          }
 *        ]
 *     }
 */
exports.get = {
  path: '/player/:filename',
  middleware: ['conditional-auth'],<commit_msg>docs(player-meta): fix docs a bit<commit_after>const config = require('../config.js');
const get = require('lodash/get');
const path = require('path');
const { getRoute, getTimeout } = config;
const ROUTE_NAME = 'download';

/**
 * @api {get} /:filename.json Get model meta info
 * @apiVersion 1.0.0
 * @apiName PlayerMeta
 * @apiGroup Files
 * @apiPermission none
 *
 * @apiDescription Returns player information
 *
 * @apiParam (Params) {String} filename
 *
 * @apiExample {curl} Example usage:
 *   curl -H 'Accept: application/vnd.api+json' \
 *     "https://api-sandbox-dev.matic.ninja/api/files/9058df9-983e-43b6-8755-84b92c272357.json"
 *
 * @apiUse FileNotFoundError
 * @apiUse PreconditionFailedError
 *
 * @apiSuccessExample {json} Success-Download:
 *     HTTP/1.1 200 OK
 *     {
 *        "name": "Panda eating bamboo",
 *        "file": "https://cdn.google.com/path/to/file.bin.gz",
 *        "size": 321792481,
 *        "materials": [
 *          {
 *            "texture": "https://cdn.google.com/path/to/texture.jpeg"
 *          },
 *          {
 *            "texture": "https://cdn.google.com/path/to/texture_2.jpeg"
 *          }
 *        ]
 *     }
 */
exports.get = {
  path: '/player/:filename',
  middleware: ['conditional-auth'],
{'fraction_non_alphanumeric': 0.1705834683954619, 'fraction_numerical': 0.03119935170178282, 'mean_word_length': 2.696107784431138, 'pattern_counts': {'":': 11, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '6411055', 'n_tokens_mistral': 887, 'n_tokens_neox': 825, 'n_words': 152}