UNPKG

@dasch-swiss/dsp-js

Version:

JavaScript library that handles API requests to Knora

26 lines (25 loc) 755 B
import { KnoraApiConfig } from "../../knora-api-config"; import { Endpoint } from "../endpoint"; import { HealthEndpointSystem } from "./health/health-endpoint-system"; /** * A client API for administering Knora. * * @category Endpoint System */ export declare class SystemEndpoint extends Endpoint { protected readonly knoraApiConfig: KnoraApiConfig; protected readonly path: string; static readonly PATH_HEALTH = "/health"; /** * An endpoint for DSP system health. */ readonly healthEndpoint: HealthEndpointSystem; /** * Constructor. * Sets up all endpoints for this endpoint. * * @param knoraApiConfig * @param path */ constructor(knoraApiConfig: KnoraApiConfig, path: string); }