id ?? null; if (isset($id)) { return "/_async_search/status/$id"; } throw new RuntimeException('Missing parameter for the endpoint async_search.status'); } public function getParamWhitelist(): array { return []; } public function getMethod(): string { return 'GET'; } }