retrieveVersion method

Retrieves the FusionAuth version string.

@returns {Promise<ClientResponse

Implementation

Future<ClientResponse<VersionResponse, Errors>> retrieveVersion() {
  return _start<VersionResponse, Errors>()
      .withUri('/api/system/version')
      .withMethod('GET')
      .withResponseHandler(
          defaultResponseHandlerBuilder((d) => VersionResponse.fromJson(d)))
      .go();
}