<commit_before>module.exports = [
    /**
     * @name File#list
     * @function
     * @param {Object} params
     * @param {Number} params.parent_id
     * @param {Function} cb
     */
    {
        name: 'list',
        route: '/files/list/:parent_id',
        method: 'GET',
        returns: ['files', 'parent']
    },

    /**
     * @name File#search
     * @function
     * @param {Object} params
     * @param {Function} cb
     */
    {
        name: 'search',
        route: '/files/search/:query/page(/:page_no)',
        method: 'GET',
        returns: ['files', 'next']
    },

    /**
     * @name File#get
     * @function
     * @param {Object} params
     * @param {Function} cb
     */
    {
        name: 'get',<commit_msg>Fixes #3 Change files list to use parent_id as query param instead of path one<commit_after>module.exports = [
    /**
     * @name File#list
     * @function
     * @param {Object} params
     * @param {Number} params.parent_id
     * @param {Function} cb
     */
    {
        name: 'list',
        route: '/files/list/',
        method: 'GET',
        params: ['parent_id'],
        returns: ['files', 'parent']
    },

    /**
     * @name File#search
     * @function
     * @param {Object} params
     * @param {Function} cb
     */
    {
        name: 'search',
        route: '/files/search/:query/page(/:page_no)',
        method: 'GET',
        returns: ['files', 'next']
    },

    /**
     * @name File#get
     * @function
     * @param {Object} params
     * @param {Function} cb
     */
    {
        name: 'get',
{'fraction_non_alphanumeric': 0.16793893129770993, 'fraction_numerical': 0.0006361323155216285, 'mean_word_length': 1.7074010327022375, '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': '1147984', 'n_tokens_mistral': 505, 'n_tokens_neox': 503, 'n_words': 117}