getFunctionsDeploymentsWithHttpInfo method

Future<Response> getFunctionsDeploymentsWithHttpInfo()

Is what is live right now — each function's current record IS its live deployment, so this is the deployment inventory.

Is what is live right now — each function's current record IS its live deployment, so this is the deployment inventory. There is no deployment history behind it: a function has one record, and publishing replaces it. The 7-day rollup is deliberately absent here, because this read is about what is deployed rather than about how it has performed.

Note: This method returns the HTTP Response.

Implementation

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

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