getToolsPluginsWithHttpInfo method

Future<Response> getToolsPluginsWithHttpInfo({
  1. String? all,
})

Reports what this deployment actually mounted: every subsystem the composition root declared and whether it is switched on.

Reports what this deployment actually mounted: every subsystem the composition root declared and whether it is switched on. A plugin here is MOUNTED CODE that extends the deployment's own surface — not a tool an agent calls — so this is an inventory and not a tool source. It is read off the same boot snapshot every traced request resolves its subsystem label against, so it cannot drift from what is serving. Enabled-only by default, because a caller asking what this deployment can do wants what is running; ?all=true adds the configured-but-off ones.

Note: This method returns the HTTP Response.

Parameters:

  • String all: All includes the configured-but-disabled subsystems too, but only when it is exactly the string "true". Otherwise only the running ones are reported.

Implementation

Future<Response> getToolsPluginsWithHttpInfo({ String? all, }) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/tools/plugins';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  if (all != null) {
    queryParams.addAll(_queryParams('', 'all', all));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}