getChangeset method

Future<GetChangesetResponse> getChangeset({
  1. required String changesetId,
  2. required String datasetId,
})

Get information about a Changeset.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter changesetId : The unique identifier of the Changeset for which to get data.

Parameter datasetId : The unique identifier for the FinSpace Dataset where the Changeset is created.

Implementation

Future<GetChangesetResponse> getChangeset({
  required String changesetId,
  required String datasetId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/datasets/${Uri.encodeComponent(datasetId)}/changesetsv2/${Uri.encodeComponent(changesetId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetChangesetResponse.fromJson(response);
}