Gets current version of DB schema like String (eg. 1.1.1).
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
String | Current version of DB schema like String |
Example URL
https://[hostname]/krb/rpc/json/databaseManager/getCurrentDatabaseVersion
Example response
"3.1.21"
Gets current database driver name and version
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
String | Current database driver name and version |
Example URL
https://[hostname]/krb/rpc/json/databaseManager/getDatabaseDriverInformation
Example response
"PostgreSQL Native Driver-PostgreSQL 9.0 JDBC4 (build 801)"
Gets current database name and version
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
String | Current database name and version |
Example URL
https://[hostname]/krb/rpc/json/databaseManager/getDatabaseInformation
Example response
"PostgreSQL-9.1.15"