method Aleph.prototype.getAPIRouteRe-exportimport { Aleph } from "https://deno.land/x/aleph@v0.3.0-beta.12/server/mod.ts"; getAPIRoute(location: { pathname: string; search?: string; }): Promise<[RouterURL, Module] | null>get api route by the given location. Parameterslocation: { pathname: string; search?: string; }ReturnsPromise<[RouterURL, Module] | null>