Takaro - v0.6.0
    Preparing search index...

    HookApi - object-oriented interface

    HookApi

    Hierarchy

    • BaseAPI
      • HookApi
    Index

    Constructors

    • Parameters

      • Optionalconfiguration: Configuration
      • basePath: string = BASE_PATH
      • axios: AxiosInstance = globalAxios

      Returns HookApi

    Properties

    axios: AxiosInstance = globalAxios
    basePath: string = BASE_PATH
    configuration: Configuration | undefined

    Methods

    • Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the chat-message event, you must pass an object with a message property Required permissions: MANAGE_MODULES
      OperationId: HookControllerTrigger

      Parameters

      • OptionalhookTriggerDTO: HookTriggerDTO

        HookTriggerDTO

      • Optionaloptions: RawAxiosRequestConfig

        Override http request option.

      Returns Promise<AxiosResponse<void, any>>

      HookApi