riskRefreshReferenceWithHttpInfo method

Future<Response> riskRefreshReferenceWithHttpInfo(
  1. RefreshReferenceIn refreshReferenceIn
)

Takes a new version of one set.

Takes a new version of one set. SuperAdmin only. It is platform work, not tenant work: it writes the shared baseline every organisation reads, so it is gated to the platform's own identity. Nothing here can write an organisation's overrides, and nothing an organisation sends can reach this route. Idempotent. A version is the content digest of what was taken, so refreshing an unchanged publisher writes no rows and reports unchanged. Resumable: a run that died half-way is continued from where it stopped rather than restarted. A set whose source needs a licence we do not hold is refused with the reason, rather than being quietly skipped.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> riskRefreshReferenceWithHttpInfo(RefreshReferenceIn refreshReferenceIn,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/reference/refresh';

  // ignore: prefer_final_locals
  Object? postBody = refreshReferenceIn;

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