Data Discovery is currently in Private Preview and is not available for General Availability (GA). It should not be used in production environments, as features and functionality may change before the final GA release.
Version API
View runtime version information.
Method
GET
URL
http://{Host Address}/version
Query Parameters
None
Sample Request
curl -X GET "http://<Host_address>/version"
import requests
url = "http://<Host_address>/version"
response = requests.get(url, verify=False)
print("Status code:", response.status_code)
try:
print("Response JSON:", response.json())
except ValueError:
print("Response Text:", response.text)
URL: GET `http: //<Host_address>/version`Sample Response
{
"version": "2.0.0",
"buildVersion": "2.0.0.374.8047721c"
}Response Fields Description
| Name | Description |
|---|---|
version | Semantic version of Data Discovery in the MAJOR.MINOR.PATCH format. |
buildVersion | Full build version string in the MAJOR.MINOR.PATCH.BUILD.COMMITHASH format. |
Response Codes
| Code | Description |
|---|---|
| 200 | Version information retrieved successfully. |