Instance information

---
title: Handle Instance
---
classDiagram
  DataverseClient *-- InstanceHandler
  click DataverseClient href "../index.html" "Open the page"

  class InstanceVersion {
    +String version
    +String build
  }
  class InstanceHandler {
    %% Show Dataverse Version and Build Number.
    %% See https://guides.dataverse.org/en/5.0/api/native-api.html#info
    %% /api/info/version
    %% @return expiration date of token
    +Result~InstanceVersion, String~ getInfo()

    %% Detect if the Dataverse instance is up and running.
    +boolean isUp()
  }