getIntegrationsByProviderWithHttpInfo method
Returns ONE provider with this org's connection status — the same view list carries, for a single id.
Returns ONE provider with this org's connection status — the same view list carries, for a single id. An unknown id is 404, and so is a user-plane provider: the org surface never resolves one.
Note: This method returns the HTTP Response.
Parameters:
- String provider (required): Provider is the registry id of the connector — "slack", "github", "cloudflare". Unknown ids are 404, as are the user-plane (/v1/integrations/connectors) providers, which this surface never resolves.
Implementation
Future<Response> getIntegrationsByProviderWithHttpInfo(String provider,) async {
// ignore: prefer_const_declarations
final path = r'/v1/integrations/{provider}'
.replaceAll('{provider}', provider);
// 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,
);
}