versionGet method

Future<Map<String, dynamic>> versionGet()
inherited

versionGet -> /version

Requests the general information about the currently active ProPresenter instance. Note that this endpoint is not versioned, and will always reside at /version regardless of the current API version. The structure of this response may change, but the fields described below will always exist in their current form, maintaining backward compatibility.

RESPONSE 200:

The response was processed successfully.

content-type: application/json

schema:

{
  "type": "object",
  "required": [
    "name",
    "platform",
    "os_version",
    "host_description",
    "api_version"
  ]
}

Implementation

Future<Map<String, dynamic>> versionGet() async {
  String url = '/version';

  return await call('get', url, httpAccept: 'application/json');
}