Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.78 KB

AboutApi.md

File metadata and controls

59 lines (41 loc) · 1.78 KB

AboutApi

All URIs are relative to https://localhost:9080/activiti-app/api

Method HTTP request Description
getAppVersionUsingGET GET /enterprise/app-version Get server type and version

getAppVersionUsingGET

Map<String, String> getAppVersionUsingGET()

Get server type and version

Provides information about the running Alfresco Process Services Suite. The response payload object has the properties `type`, `majorVersion`, `minorVersion`, `revisionVersion` and `edition`.

Example

// Import classes:
//import org.activiti.engine.remote.client.ApiClient;
//import org.activiti.engine.remote.client.ApiException;
//import org.activiti.engine.remote.client.Configuration;
//import org.activiti.engine.remote.client.auth.*;
//import org.activiti.engine.remote.client.api.AboutApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");

AboutApi apiInstance = new AboutApi();
try {
    Map<String, String> result = apiInstance.getAppVersionUsingGET();
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling AboutApi#getAppVersionUsingGET");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

Map<String, String>

Authorization

basicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json