<commit_before>/**
 * Created by <NAME> from Ubrainians for imCode
 * 01.11.17
 */
define("imcms-image-folders-rest-api", ["imcms-rest-api"], function (rest) {
    return new rest.API("/images/folders");
});<commit_msg>IMCMS-376 - Image list - erasing images: - Add endpoint to image-folders-rest-api<commit_after>/**
 * Created by <NAME> from Ubrainians for imCode
 * 01.11.17
 */
define("imcms-image-folders-rest-api", ["imcms-rest-api"], function (rest) {
    const url = '/images/folders';
    let api = new rest.API(url);

    api.canDelete = rest.ajax.bind({url: url + '/can-delete', type: "POST", json: true});
    return api;
});
{'fraction_non_alphanumeric': 0.18681318681318682, 'fraction_numerical': 0.023547880690737835, 'mean_word_length': 3.725925925925926, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5394707', 'n_tokens_mistral': 238, 'n_tokens_neox': 219, 'n_words': 54}