Table of Contents

Class HonuaStudioReportsClient

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

HTTP client implementation for Console Studio analysis reports.

public sealed class HonuaStudioReportsClient : IHonuaStudioReportsClient
Inheritance
HonuaStudioReportsClient
Implements
Inherited Members

Constructors

HonuaStudioReportsClient(HttpClient)

Initializes a new instance of the HonuaStudioReportsClient class.

public HonuaStudioReportsClient(HttpClient httpClient)

Parameters

httpClient HttpClient

HTTP client configured with base address and auth handlers.

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).

public 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.

public 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.