You are here

graphql.routing.yml in GraphQL 8

Same filename and directory in other branches
  1. 8.4 graphql.routing.yml
  2. 8.2 graphql.routing.yml
  3. 8.3 graphql.routing.yml

File

graphql.routing.yml
View source
  1. graphql.request:
  2. path: '/graphql'
  3. defaults:
  4. _controller: '\Drupal\graphql\Controller\RequestController::handleRequest'
  5. requirements:
  6. _permission: 'execute graphql requests'
  7. graphql.explorer:
  8. path: '/graphql/explorer'
  9. defaults:
  10. _controller: '\Drupal\graphql\Controller\ExplorerController::viewExplorer'
  11. requirements:
  12. _permission: 'use graphql explorer'