Table of Contents

Interface IHonuaStacRawClient

Namespace
Honua.Sdk.Catalogs.Stac
Assembly
Honua.Sdk.Catalogs.dll

Raw / JSON escape-hatch surface for the Honua STAC client. Provides caller-owned JsonDocument and HttpResponseMessage returns for STAC extension fields that have not yet been promoted to typed SDK properties on IHonuaStacClient. The caller is responsible for disposing every HttpResponseMessage returned by this surface.

public interface IHonuaStacRawClient

Methods

GetItemJsonAsync(string, string, CancellationToken)

Gets one STAC item as raw JSON for extension fields not yet promoted to typed SDK properties.

Task<JsonDocument> GetItemJsonAsync(string collectionId, string itemId, CancellationToken cancellationToken = default)

Parameters

collectionId string

STAC collection identifier.

itemId string

STAC item identifier.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<JsonDocument>

A caller-owned JSON document.

GetItemsJsonAsync(string, StacItemsQuery?, CancellationToken)

Gets one page of STAC items as raw JSON for extension fields not yet promoted to typed SDK properties.

Task<JsonDocument> GetItemsJsonAsync(string collectionId, StacItemsQuery? query = null, CancellationToken cancellationToken = default)

Parameters

collectionId string

STAC collection identifier.

query StacItemsQuery

Optional query parameters for paging and filtering.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<JsonDocument>

A caller-owned JSON document.

GetItemsRawAsync(string, StacItemsQuery?, CancellationToken)

Gets the raw HTTP response for a STAC items query. The caller is responsible for disposing the response.

Task<HttpResponseMessage> GetItemsRawAsync(string collectionId, StacItemsQuery? query = null, CancellationToken cancellationToken = default)

Parameters

collectionId string

STAC collection identifier.

query StacItemsQuery

Optional query parameters for paging and filtering.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<HttpResponseMessage>

The raw HTTP response.

PostSearchJsonAsync(StacSearchRequest?, CancellationToken)

Searches STAC items with POST and returns raw JSON for extension fields not yet promoted to typed SDK properties.

Task<JsonDocument> PostSearchJsonAsync(StacSearchRequest? request, CancellationToken cancellationToken = default)

Parameters

request StacSearchRequest

Optional STAC search request body.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<JsonDocument>

A caller-owned JSON document.

SearchJsonAsync(StacSearchQuery?, CancellationToken)

Searches STAC items with GET and returns raw JSON for extension fields not yet promoted to typed SDK properties.

Task<JsonDocument> SearchJsonAsync(StacSearchQuery? query = null, CancellationToken cancellationToken = default)

Parameters

query StacSearchQuery

Optional STAC search query parameters.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<JsonDocument>

A caller-owned JSON document.

SearchRawAsync(StacSearchQuery?, CancellationToken)

Gets the raw HTTP response for a STAC GET search. The caller is responsible for disposing the response.

Task<HttpResponseMessage> SearchRawAsync(StacSearchQuery? query = null, CancellationToken cancellationToken = default)

Parameters

query StacSearchQuery

Optional STAC search query parameters.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<HttpResponseMessage>

The raw HTTP response.