Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 17185 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 17185 Rev 17248
Línea 1777... Línea 1777...
1777
                        'may_terminate' => true,
1777
                        'may_terminate' => true,
1778
                        'child_routes' => [
1778
                        'child_routes' => [
1779
                            'revoke' => [
1779
                            'revoke' => [
1780
                                'type' => Segment::class,
1780
                                'type' => Segment::class,
1781
                                'options' => [
1781
                                'options' => [
1782
                                    'route' => '/revoke/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1782
                                    'route' => '/revoke/topic/:topic_uuid/user_uuid/:user_uuid',
1783
                                    'constraints' => [
1783
                                    'constraints' => [
1784
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1784
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1785
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
-
 
1786
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1785
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1787
                                    ],
1786
                                    ],
1788
                                    'defaults' => [
1787
                                    'defaults' => [
1789
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1788
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1790
                                        'action' => 'revoke'
1789
                                        'action' => 'revoke'
Línea 1792... Línea 1791...
1792
                                ]
1791
                                ]
1793
                            ],
1792
                            ],
1794
                            'unlimit' => [
1793
                            'unlimit' => [
1795
                                'type' => Segment::class,
1794
                                'type' => Segment::class,
1796
                                'options' => [
1795
                                'options' => [
1797
                                    'route' => '/unlimit/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1796
                                    'route' => '/unlimit/topic/:topic_uuid/user_uuid/:user_uuid',
1798
                                    'constraints' => [
1797
                                    'constraints' => [
1799
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1798
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1800
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
-
 
1801
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1799
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1802
                                    ],
1800
                                    ],
1803
                                    'defaults' => [
1801
                                    'defaults' => [
1804
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1802
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1805
                                        'action' => 'unlimit'
1803
                                        'action' => 'unlimit'
Línea 1807... Línea 1805...
1807
                                ]
1805
                                ]
1808
                            ],
1806
                            ],
1809
                            'upload' => [
1807
                            'upload' => [
1810
                                'type' => Segment::class,
1808
                                'type' => Segment::class,
1811
                                'options' => [
1809
                                'options' => [
1812
                                    'route' => '/upload/topic/:topic_uuid/capsule/:capsule_uuid',
1810
                                    'route' => '/upload/topic/:topic_uuid',
1813
                                    'constraints' => [
1811
                                    'constraints' => [
1814
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1812
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1815
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
-
 
1816
                                    ],
1813
                                    ],
1817
                                    'defaults' => [
1814
                                    'defaults' => [
1818
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1815
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1819
                                        'action' => 'upload'
1816
                                        'action' => 'upload'
1820
                                    ]
1817
                                    ]
1821
                                ]
1818
                                ]
1822
                            ],
1819
                            ],
1823
                            'notification' => [
1820
                            'notification' => [
1824
                                'type' => Segment::class,
1821
                                'type' => Segment::class,
1825
                                'options' => [
1822
                                'options' => [
1826
                                    'route' => '/notification/topic/:topic_uuid/capsule/:capsule_uuid',
1823
                                    'route' => '/notification/topic/:topic_uuid',
1827
                                    'constraints' => [
1824
                                    'constraints' => [
1828
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1825
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1829
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
-
 
1830
                                    ],
1826
                                    ],
1831
                                    'defaults' => [
1827
                                    'defaults' => [
1832
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1828
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1833
                                        'action' => 'notification'
1829
                                        'action' => 'notification'
1834
                                    ]
1830
                                    ]