<commit_before><?php
/**
 * ownCloud - owncollab_chart
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the COPYING file.
 *
 * @author ownCollab Team <<EMAIL>>
 * @copyright ownCollab Team 2015
 */

/**
 * Create your routes in here. The name is the lowercase name of the controller
 * without the controller part, the stuff after the hash is the method.
 * e.g. page#index -> OCA\OwnCollab\Controller\PageController->index()
 *
 * The controller class has to be registered in the application.php file since
 * it's instantiated in there
 */

$application = new \OCA\Owncollab_Chart\AppInfo\Application();

$application->registerRoutes($this, ['routes' => [

    ['name' => 'main#index', 'url' => '/', 'verb' => 'GET'],
    ['name' => 'api#index', 'url' => '/api', 'verb' => 'POST'],
    ['name' => 'main#public_chart', 'url' => '/s/{share}', 'verb' => 'GET'],
    ['name' => 'main#export', 'url' => '/pdf', 'verb' => 'GET'],
    ['name' => 'main#test', 'url' => '/test', 'verb' => 'GET'],

]]);<commit_msg>add resource color<commit_after><?php
/**
 * ownCloud - owncollab_chart
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the COPYING file.
 *
 * @author ownCollab Team <<EMAIL>>
 * @copyright ownCollab Team 2015
 */

/**
 * Create your routes in here. The name is the lowercase name of the controller
 * without the controller part, the stuff after the hash is the method.
 * e.g. page#index -> OCA\OwnCollab\Controller\PageController->index()
 *
 * The controller class has to be registered in the application.php file since
 * it's instantiated in there
 */

$application = new \OCA\Owncollab_Chart\AppInfo\Application();

$application->registerRoutes($this, [
    'routes' => [
        ['name' => 'main#index', 'url' => '/', 'verb' => 'GET'],
        ['name' => 'api#index', 'url' => '/api', 'verb' => 'POST'],
        ['name' => 'main#public_chart', 'url' => '/s/{share}', 'verb' => 'GET'],
        ['name' => 'main#export', 'url' => '/pdf', 'verb' => 'GET'],
        ['name' => 'main#test', 'url' => '/test', 'verb' => 'GET'],
        ],
    'resources' => [
        'color' => ['url' => '/colors'],
    ]
    ]);
{'fraction_non_alphanumeric': 0.19612263300270513, 'fraction_numerical': 0.004508566275924256, 'mean_word_length': 3.5010141987829613, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 48, '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': '6494124', 'n_tokens_mistral': 710, 'n_tokens_neox': 700, 'n_words': 222}