listChannelActionsWithHttpInfo method

Future<Response> listChannelActionsWithHttpInfo()

Discover the action catalog for the Channels platform.

Returns the action descriptors the agent layer dispatches via POST /v1/channels/execute. Same pattern as the DirectMessages action surface.

Note: This method returns the HTTP Response.

Implementation

Future<Response> listChannelActionsWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/channels/actions';

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