statsProjectSummaryCreateWithHttpInfo method
Future<Response>
statsProjectSummaryCreateWithHttpInfo(
- String id,
- ProjectStatistics projectStatistics
Summary statistics for single project and all models of that project.
Note: This method returns the HTTP Response
.
Parameters:
-
String id (required):
-
ProjectStatistics projectStatistics (required):
Implementation
Future<Response> statsProjectSummaryCreateWithHttpInfo(
String id,
ProjectStatistics projectStatistics,
) async {
// ignore: prefer_const_declarations
final path = r'/api/stats/project/{id}/summary/'.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = projectStatistics;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}