RPC API documentation v45.0.0

Back to Documentation Version:  General How to use RPC Managers AttributesManagerAuditMessagesManagerAuthzResolverCabinetManagerConfigManagerConsentsManagerDatabaseManagerExtSourcesManagerFacilitiesManagerGroupsManagerIntegrationManagerInvitationsManagerMembersManagerNotificationManagerOwnersManagerRTMessagesManagerRegistrarManagerResourcesManagerSearcherSecurityTeamsManagerServicesManagerTasksManagerUsersManagerVosManager

DatabaseManager

Gets current version of DB schema like String (eg. 1.1.1).

Thrown exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
StringCurrent 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 exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
StringCurrent 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 exceptionDescription
InternalErrorExceptionWhen unspecified error occur. See exception param message for explanation.
PrivilegeExceptionWhen caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values.
RpcExceptionWrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation.
Return typeDescription
StringCurrent database name and version

Example URL

https://[hostname]/krb/rpc/json/databaseManager/getDatabaseInformation

Example response

"PostgreSQL-9.1.15"