getModelReadmeAtWithHttpInfo method
README content at one commit (wayback)
Cost: 10 credits, flat. The wayback-machine leg of the change-stream. Returns the exact README content for one model at one commit sha — used after spotting a suspicious drift on GET /api/v1/models/{id}/drifts.
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getModelReadmeAtWithHttpInfo(String id, String commit, { Future<void>? abortTrigger, }) async {
// ignore: prefer_const_declarations
final path = r'/api/v1/models/{id}/readme-at/{commit}'
.replaceAll('{id}', id)
.replaceAll('{commit}', commit);
// 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,
abortTrigger: abortTrigger,
);
}