getFunctionsWithHttpInfo method

Future<Response> getFunctionsWithHttpInfo()

Is every serverless function the caller's org has published, each with its real 7-day rollup.

Is every serverless function the caller's org has published, each with its real 7-day rollup. A row carries the function's runtime, resource limits, deployment target and its invoke endpoint, plus envCount — how many secrets it mounts. The rollup fields are ABSENT rather than zero when the function has not run in the window, so a console renders "—" instead of a fabricated 0. Requires a validated principal; the listing is scoped to its org.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getFunctionsWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/functions';

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