Custom modules for Pleiade local gov dashboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pleiade-custom-modules/api_glpi_pleiade/api_glpi_pleiade.routing.yml

23 lines
779 B

api_glpi_pleiade.settings:
path: '/admin/config/api_glpi_pleiade/settings'
defaults:
_form: '\Drupal\api_glpi_pleiade\Form\GlpiFields'
_title: 'GLPI Pléiade Settings'
requirements:
_permission: 'administer site configuration'
api_glpi_pleiade.glpi_list_tickets:
path: '/v1/api_glpi_pleiade/glpi_list_tickets'
defaults:
_controller: '\Drupal\api_glpi_pleiade\Controller\GlpiController::glpi_list_tickets'
_title: 'Tickets Query'
_format: json
requirements:
_access: 'TRUE'
api_glpi_pleiade.glpi_tickets:
path: '/glpi_tickets'
defaults:
_controller: '\Drupal\api_glpi_pleiade\Controller\GlpiController::glpi_tickets'
_title: 'Liste des tickets GLPI'
requirements:
_permission: 'access content'