Interface IHonuaStacRawClient
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
collectionIdstringSTAC collection identifier.
itemIdstringSTAC item identifier.
cancellationTokenCancellationTokenCancellation 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
collectionIdstringSTAC collection identifier.
queryStacItemsQueryOptional query parameters for paging and filtering.
cancellationTokenCancellationTokenCancellation 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
collectionIdstringSTAC collection identifier.
queryStacItemsQueryOptional query parameters for paging and filtering.
cancellationTokenCancellationTokenCancellation 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
requestStacSearchRequestOptional STAC search request body.
cancellationTokenCancellationTokenCancellation 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
queryStacSearchQueryOptional STAC search query parameters.
cancellationTokenCancellationTokenCancellation 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
queryStacSearchQueryOptional STAC search query parameters.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<HttpResponseMessage>
The raw HTTP response.