Function getDataSources

  • Gets the list of data sources available on the node.

    Parameters

    • query: {
          dataSourceId?: string;
          detail?: boolean;
          includeDisabled?: boolean;
          includeui?: boolean;
      }

      an object with query parameters

      • OptionaldataSourceId?: string

        Filtering on datasourceID, when multiple dataSourceId are set in query, last dataSourceId will be used

      • Optionaldetail?: boolean

        Determines if provider detail is returned

      • OptionalincludeDisabled?: boolean

        When true disabled datasources are also included in the response

      • Optionalincludeui?: boolean

        Determines if UI info is returned

    • Optionaloptions: ApiCallOptions

    Returns Promise<GetDataSourcesHttpResponse>

    getDataSources(
    {
    dataSourceId: "rest",
    detail: true,
    includeDisabled: true,
    includeui: true
    }
    )

    GetDataSourcesHttpError