<?php
declare(strict_types=1);

return [
    ['GET',  '/archive',                                    'Archive\Controllers\ArchiveController@index',       ['auth'], 'report.view_audit'],
    ['GET',  '/archive/{id:\d+}',                           'Archive\Controllers\ArchiveController@show',        ['auth'], 'report.view_audit'],
    ['GET',  '/archive/compare/{id1:\d+}/{id2:\d+}',       'Archive\Controllers\ArchiveController@compare',     ['auth'], 'report.view_audit'],
    ['GET',  '/archive/entity/{type}/{id:\d+}',             'Archive\Controllers\ArchiveController@entitySnapshots', ['auth'], 'report.view_audit'],
    ['GET',  '/archive/number-chain/{number}',              'Archive\Controllers\ArchiveController@numberChain', ['auth'], 'report.view_audit'],
    ['POST', '/archive/snapshot',                           'Archive\Controllers\ArchiveController@takeManual',  ['auth', 'csrf'], 'settings.edit'],
];