HttpRouterFactoryOptions.getPath()
Home > @backstage/backend-app-api
> HttpRouterFactoryOptions
> getPath
A callback used to generate the path for each plugin, defaults to /api/{pluginId}
.
Signature:
getPath?(pluginId: string): string;
Parameters
Parameter | Type | Description |
---|---|---|
pluginId | string |
Returns:
string