Home > @uniformdev/canvas > RouteClient > get

RouteClient.get() method

Resolves a route to a composition, redirect, or not-found result.

An optional select projection applies to the resolved composition when the route matches one; redirect / notFound responses pass through untouched.

Signature:

Parameters

Parameter

Type

Description

options

Omit<RouteGetParameters, 'projectId'> & Projection

(Optional)

Returns:

Promise<ResolvedRouteGetResponse>