<commit_before>var dbs  = require('../db')();

module.exports = {
    tracker: {
        message: {
            get: {
                handler: function (req, res) {
                    res.send("respond with a resource");
                }
            }
        },
        connected: {
            get: function (req, res) {
                res.send("respond with a resource");
            }
        },
        disconnected: {
            get: function (req, res) {
                res.send("respond with a resource");
            }
        }
    }

};<commit_msg>Created trackers api skeleton<commit_after>var dbs  = require('../db')();

module.exports = {
    trackers: {
        get: {
            handler: function (req, res) {
                res.send("return collection trackers associated with user");
            }
        },
        put: {
            handler: function (req, res) {
                res.send("replace entire collection of trackers associated with user");
            }
        },
        post:{
            handler: function (req, res) {
                res.send("create a new tracker and associated it with user");
            }
        },
        delete: {
            handler: function (req, res) {
                res.send("delete entire collection associated with user");
            }
        },
        ":id": {
            get: {
                handler: function (req, res) {
                    res.send("retrieve a representation of " + req.params.id );
                }
            },
            put: {
                handler: function (req, res) {
                    res.send("Replace " + req.params.id + ", or if it doesn't exist, create it.");
                }
            },
            delete: {
                handler: function (req, res) {
                    res.send("Delete " + req.params.id);
                }
            }
        }
    }

};
{'fraction_non_alphanumeric': 0.119536598209584, 'fraction_numerical': 0.0, 'mean_word_length': 1.1017699115044248, 'pattern_counts': {'":': 2, '<': 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': '6154739', 'n_tokens_mistral': 491, 'n_tokens_neox': 469, 'n_words': 122}