getOpentdfConfig method

Future<GetOpentdfConfigResponse> getOpentdfConfig({
  1. required String networkId,
})

Retrieves the OpenTDF integration configuration for a Wickr network.

May throw BadRequestError. May throw ForbiddenError. May throw InternalServerError. May throw RateLimitError. May throw ResourceNotFoundError. May throw UnauthorizedError. May throw ValidationError.

Parameter networkId : The ID of the Wickr network for which OpenTDF integration will be retrieved.

Implementation

Future<GetOpentdfConfigResponse> getOpentdfConfig({
  required String networkId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/networks/${Uri.encodeComponent(networkId)}/tdf',
    exceptionFnMap: _exceptionFns,
  );
  return GetOpentdfConfigResponse.fromJson(response);
}