Help - Overriding HTTP Services API definitions
HTTP Services API definitions can be overridden from this page and / or in settings.php. Overridable properties are: title, api_path, config, commands
$settings['http_services_api']['your_service_api_id'] = [
'title' => 'Example API (Development)',
'api_path' => 'src/api/api_development.json',
'config' => [
'base_uri' => 'http://dev.example.com/api',
'timeout' => 10,
'connect_timeout' => 8,
'debug' => 1,
],
'commands' => [
blacklist' => [
'DoNotMockMeCommand',
'AnotherCommandNotToBeMocked',
'UseProductionServicesCommand',
],
],
];The "commands" property has to be an associative array containing a whitelist or blacklist key related to an array of command names.