Skip to content

OkatanaClient

OkatanaClient is the root SDK object. It owns the transport policy and exposes typed domain services.

using var client = new OkatanaClient(new OkatanaClientOptions
{
    BaseUrl = "https://okatana.example.com",
    ApiKey = token
});

Constructors

OkatanaClient(OkatanaClientOptions options)
OkatanaClient(HttpClient httpClient, OkatanaClientOptions options)

The first constructor owns its HTTP client. The second treats the supplied HttpClient as caller-owned.

Properties

OrganizationsApi Organizations
ProjectsApi Projects
BoardsApi Boards
TicketsApi Tickets
DocumentsApi Documents
Uri BaseApiUri

BaseApiUri is the normalized API root and always ends in /api/v1/.

Low-level request

Task<T> RequestAsync<T>(
    OkatanaRawRequest request,
    OkatanaRequestOptions? options = null,
    CancellationToken cancellationToken = default)

Use typed services for normal operations. The raw method is intended for compatible deployment extensions or temporary forward compatibility.

Request options

All typed methods accept optional OkatanaRequestOptions and CancellationToken values. Options can set per-call timeout, retry count, and additional headers. The SDK refuses a per-call Authorization override.