getKnowledgeConnectorsWithHttpInfo method
Returns every supported knowledge connector with THIS org's connection state and the REAL number of documents each has ingested into the org's store.
Returns every supported knowledge connector with THIS org's connection state and the REAL number of documents each has ingested into the org's store. A provider that is configured for the deployment but not yet connected appears as disconnected, so the console can offer a Connect button. No secret is ever returned.
Note: This method returns the HTTP Response.
Implementation
Future<Response> getKnowledgeConnectorsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/knowledge/connectors';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}