riskDatasetWithHttpInfo method

Future<Response> riskDatasetWithHttpInfo(
  1. String name
)

Describe every version of one dataset

Dataset describes every version of one dataset, newest first — the whole history, because the point of a version is that the older ones are still there and a model fitted last quarter cites one of them. A name this org does not own answers 404, exactly as an unknown name does, so a probe learns nothing about another tenant's datasets.

Note: This method returns the HTTP Response.

Parameters:

  • String name (required): Name is the dataset, from the path.

Implementation

Future<Response> riskDatasetWithHttpInfo(String name,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/dataset/{name}'
    .replaceAll('{name}', name);

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