#[Route(path: '/api/_action/system-config/check', name: 'api.action.core.system-config.check', defaults: ['_acl' => ['system_config:read']], methods: ['GET'])]
public function checkConfiguration(Request
$request, Context
$context): JsonResponse
{ $domain =
(string) $request->query->
get('domain'
);
if ($domain === ''
) { return new JsonResponse(false
);
} return new JsonResponse($this->configurationService->
checkConfiguration($domain,
$context));
} #[Route(path: '/api/_action/system-config/schema', name: 'api.action.core.system-config', methods: ['GET'])]
public function getConfiguration(Request
$request, Context
$context): JsonResponse
{ $domain =
(string) $request->query->
get('domain'
);
if ($domain === ''
) { throw RoutingException::
missingRequestParameter('domain'
);
}