Contains available APIs of Domino REST API server and maps each of it to its own DominoConnector.

Implements

Properties

apiMap: Map<string, DominoApiMeta> = ...

Maps APIs loaded from Domino REST API server's /api endpoint.

baseUrl: string

Base URL of Domino REST API server.

connectorMap: Map<string, DominoConnector> = ...

Maps APIs to its own DominoConnector.

Methods

  • Parameters

    • apiName: string

      the API that contains all the operations.

    Returns Promise<Map<string, any>>

    a promise that resolves a map with operation ID as keys and the operation's specifications as the value.

  • Factory for getting DominoServer class.

    Parameters

    • baseUrl: string

      base URL of Domino REST API server

    Returns Promise<DominoServer>

    a DominoServer class

    an error if something went wrong on loading APIs