Logo DataHubClient

DataHubClient Type

Top-level facade for DataHub resource APIs — the single public entry point on every target. new DataHubClient(baseUrl, auth) reads identically in .NET, JavaScript/TypeScript, and Python: the constructor defaults the DataHubClient.Http transport to the one built for the host runtime — DotNetHttpClient on .NET, FetchHttpClient on JavaScript/TypeScript, HttpxHttpClient on Python. Assign Http to substitute a transport for retries, proxies, or tests.

Constructors

Constructor Description

DataHubClient(baseUrl, auth)

Full Usage: DataHubClient(baseUrl, auth)

Parameters:
Returns: DataHubClient
baseUrl : string
auth : Authentication
Returns: DataHubClient

Instance members

Instance member Description

this.Files

Full Usage: this.Files

Returns: FilesApi

Repository file operations.

Returns: FilesApi

this.Http

Full Usage: this.Http

Returns: IHttpClient

The HTTP transport every resource call is routed through. It defaults to the host runtime's transport; reassign it — e.g. to a retrying or proxying decorator, or a test double — and resource calls made afterwards use the new value.

Returns: IHttpClient

this.Issues

Full Usage: this.Issues

Returns: IssuesApi

Issue operations.

Returns: IssuesApi

this.MergeRequests

Full Usage: this.MergeRequests

Returns: MergeRequestsApi

Merge request operations.

Returns: MergeRequestsApi

this.Packages

Full Usage: this.Packages

Returns: PackagesApi

Package Registry operations.

Returns: PackagesApi

this.Projects

Full Usage: this.Projects

Returns: ProjectsApi

Project operations.

Returns: ProjectsApi

this.Repository

Full Usage: this.Repository

Returns: RepositoryApi

Repository branch and commit operations.

Returns: RepositoryApi

this.Users

Full Usage: this.Users

Returns: UsersApi

User operations, including the identity the credential authenticates as.

Returns: UsersApi

this.Validation

Full Usage: this.Validation

Returns: ValidationApi

ARC validation (CQC) results operations.

Returns: ValidationApi

Type something to start searching.