getGroupSyncableForChannelIdWithHttpInfo method

Future<Response> getGroupSyncableForChannelIdWithHttpInfo(
  1. String groupId,
  2. String channelId
)

Get GroupSyncable from channel ID

Get the GroupSyncable object with group_id and channel_id from params ##### Permissions Must have manage_system permission. Minimum server version: 5.11

Note: This method returns the HTTP Response.

Parameters:

  • String groupId (required): Group GUID

  • String channelId (required): Channel GUID

Implementation

Future<Response> getGroupSyncableForChannelIdWithHttpInfo(
  String groupId,
  String channelId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/groups/{group_id}/channels/{channel_id}'
      .replaceAll('{group_id}', groupId)
      .replaceAll('{channel_id}', channelId);

  // 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,
  );
}