Table of Contents

Interface IHonuaStudioReportsClient

Namespace
Honua.Sdk.Studio
Assembly
Honua.Sdk.Studio.dll

Browser-safe read client for Console Studio analysis reports. Wraps the server analysis-reporting surface under /api/v1/analysis/reports.

public interface IHonuaStudioReportsClient

Methods

GetReportAsync(string, CancellationToken)

Retrieves the structured analysis report envelope for a completed job. Maps to GET /api/v1/analysis/reports/{jobId}. The response is returned unwrapped (no ApiResponse<T> envelope).

Task<HonuaAnalysisReport> GetReportAsync(string jobId, CancellationToken cancellationToken = default)

Parameters

jobId string

Originating geoprocessing job identifier.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<HonuaAnalysisReport>

The analysis report envelope.

RenderReportAsync(string, HonuaReportRenderFormat, CancellationToken)

Renders the analysis report for a completed job as Markdown or HTML. Maps to GET /api/v1/analysis/reports/{jobId}/render?format=md|html.

Task<HonuaRenderedReport> RenderReportAsync(string jobId, HonuaReportRenderFormat format, CancellationToken cancellationToken = default)

Parameters

jobId string

Originating geoprocessing job identifier.

format HonuaReportRenderFormat

Render format (Markdown or HTML).

cancellationToken CancellationToken

Cancellation token.

Returns

Task<HonuaRenderedReport>

The rendered report body and its media type.