jsonrpc.routing.yml in JSON-RPC 8
Same filename and directory in other branches
4 string references to YAML keys in jsonrpc.routing.yml
- DiscoveryController::create in modules/
jsonrpc_discovery/ src/ Controller/ DiscoveryController.php - Instantiates a new instance of this class.
- HttpController::__construct in src/
Controller/ HttpController.php - HttpController constructor.
- JsonRpcTestBase::getRpc in tests/
src/ Functional/ JsonRpcTestBase.php - JSON RPC request using the GET method.
- JsonRpcTestBase::postRpc in tests/
src/ Functional/ JsonRpcTestBase.php - Post a request in JSON format.
File
jsonrpc.routing.ymlView source
- jsonrpc.handler:
- path: '/jsonrpc'
- defaults:
- _controller: '\Drupal\jsonrpc\Controller\HttpController::resolve'
- methods: [POST, GET]
- requirements:
- _permission: 'use jsonrpc services'
- options:
- _auth: ['basic_auth', 'oauth2']