postBenchmarkClaimsWithHttpInfo method
Records published claims: one to correct a number, many to import a leaderboard.
Records published claims: one to correct a number, many to import a leaderboard. Every row must carry a Source, because a claim without its citation is a number nobody can check — and an unattributed number in the published plane is indistinguishable from a measurement, which is the one confusion this whole surface is built to prevent. Writes are append-only, so this never destroys the value it replaces. A vendor restating a score leaves both rows on disk, which is how the restating itself becomes visible.
Note: This method returns the HTTP Response.
Parameters:
- PutClaimsIn putClaimsIn (required):
Implementation
Future<Response> postBenchmarkClaimsWithHttpInfo(PutClaimsIn putClaimsIn,) async {
// ignore: prefer_const_declarations
final path = r'/v1/benchmark/claims';
// ignore: prefer_final_locals
Object? postBody = putClaimsIn;
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,
);
}