GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — ConnectionsClient | ADK for TypeScript: API Reference - v2.5.0

  • ConnectionsClient

Class ConnectionsClient

A client for the Integration Connectors API.

It reads the details, entity schemas and action schemas of one connection.

  • Defined in core/src/tools/application_integration_tool/clients/connections_client.ts:746

Constructors

constructor

  • new ConnectionsClient(options: ConnectionsClientOptions): ConnectionsClient

    Parameters

    • options: ConnectionsClientOptions

    Returns ConnectionsClient

    • Defined in core/src/tools/application_integration_tool/clients/connections_client.ts:752

Methods

connectorPayload

  • connectorPayload(jsonSchema: JsonObject): JsonObject

    Converts the JSON schema of an entity or an action payload into the OpenAPI schema the connector spec carries.

    Parameters

    • jsonSchema: JsonObject

    Returns JsonObject

    • Defined in core/src/tools/application_integration_tool/clients/connections_client.ts:838

getActionSchema

  • getActionSchema(action: string): Promise<ActionSchema>

    Reads the input and output JSON schemas of an action.

    Parameters

    • action: string

      The action name.

    Returns Promise<ActionSchema>

    Throws

    Error When the API starts no operation for the action, or the operation fails or times out.

    • Defined in core/src/tools/application_integration_tool/clients/connections_client.ts:814

getConnectionDetails

  • getConnectionDetails(): Promise<ConnectionDetails>

    Reads the resource name, service name and host of the connection, and whether it allows an authentication override.

    Returns Promise<ConnectionDetails>

    • Defined in core/src/tools/application_integration_tool/clients/connections_client.ts:763

getEntitySchemaAndOperations

  • getEntitySchemaAndOperations(entity: string): Promise<EntitySchemaAndOperations>

    Reads the JSON schema of an entity and the operations it supports.

    Parameters

    • entity: string

      The entity name.

    Returns Promise<EntitySchemaAndOperations>

    Throws

    Error When the API starts no operation for the entity, or the operation fails or times out.

    • Defined in core/src/tools/application_integration_tool/clients/connections_client.ts:782
Constructors
constructor
Methods
connectorPayloadgetActionSchemagetConnectionDetailsgetEntitySchemaAndOperations
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.