# OracleLabsParallelGraphAnalyticsPgxRestApi.PGXVersionApi

All URIs are relative to */*

Method | HTTP request | Description
------------- | ------------- | -------------
[**version**](PGXVersionApi.md#version) | **GET** /version | Get the version

<a name="version"></a>
# **version**
> VersionInfo version(opts)

Get the version

Gets the PGX server version

### Example
```javascript
import {OracleLabsParallelGraphAnalyticsPgxRestApi} from 'oracle_labs_parallel_graph_analytics__pgx_rest_api';

let apiInstance = new OracleLabsParallelGraphAnalyticsPgxRestApi.PGXVersionApi();
let opts = { 
  'extendedInfo': true // Boolean | whether to return extended version information
};
apiInstance.version(opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **extendedInfo** | **Boolean**| whether to return extended version information | [optional] 

### Return type

[**VersionInfo**](VersionInfo.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

