getRemoteClusterInfoWithHttpInfo method

Future<Response> getRemoteClusterInfoWithHttpInfo(
  1. String remoteId
)

Get remote cluster info by ID for user.

Get remote cluster info based on remoteId. Minimum server version: 5.50 ##### Permissions Must be authenticated and user must belong to at least one channel shared with the remote cluster.

Note: This method returns the HTTP Response.

Parameters:

  • String remoteId (required): Remote Cluster GUID

Implementation

Future<Response> getRemoteClusterInfoWithHttpInfo(
  String remoteId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/sharedchannels/remote_info/{remote_id}'.replaceAll('{remote_id}', remoteId);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <MmQueryParam>[];
  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,
  );
}