toolsOzoneReportRefreshStats function

Future<XRPCResponse<EmptyData>> toolsOzoneReportRefreshStats({
  1. required String startDate,
  2. required String endDate,
  3. List<int>? queueIds,
  4. required ServiceContext $ctx,
  5. String? $service,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

Recompute report statistics for a date range. Useful for backfilling after failures or data corrections.

Implementation

Future<XRPCResponse<EmptyData>> toolsOzoneReportRefreshStats({
  required String startDate,
  required String endDate,
  List<int>? queueIds,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.toolsOzoneReportRefreshStats,
  service: $service,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {
    ...?$unknown,
    'startDate': startDate,
    'endDate': endDate,
    if (queueIds != null) 'queueIds': queueIds,
  },
);