Class BowireReportEndpoints
- Namespace
- Kuestenlogik.Bowire.Endpoints
- Assembly
- Kuestenlogik.Bowire.dll
The rollup's HTTP surface (#587) — a thin adapter over BowireReportReader, exactly as the lint endpoint is over the linter.
public static class BowireReportEndpoints
- Inheritance
-
BowireReportEndpoints
- Inherited Members
Methods
MapBowireReportEndpoints(IEndpointRouteBuilder, string)
Map POST {basePath}/api/report/rollup. The body carries the
paths to read; an empty body rolls up this workspace's own
.bowire/ folder, which is the useful default when the workbench
is open on a single service.
POST rather than GET because the paths are input, and a rollup over an arbitrary directory tree is not something to encode in a URL that could end up in a log or a browser history.
public static IEndpointRouteBuilder MapBowireReportEndpoints(this IEndpointRouteBuilder endpoints, string basePath)
Parameters
endpointsIEndpointRouteBuilderbasePathstring