Description
Queries the basic information of an OCP application, including the version number, build date, and Java version.
Invocation instructions
Interface constraints
The caller needs to be authenticated through the OCP application service.
Request path
GET /api/v2/info
Request parameters
None.
Return result
Parameter |
Type |
Description |
|---|---|---|
| name | String | The name of the application service. |
| group | Array | The Maven group name of the build. |
| artifact | Object | The name of the artifact built. |
| buildTime | Datetime | The build time. |
| buildVersion | String | The build version. |
| buildJavaVersion | String | The Java version used for the build. |
| springBootVersion | String | The Spring version used for the build. |
Examples
Request example
GET /api/v2/info
Return example
{
"artifact": "ocp-server",
"buildTime": "2025-04-25T16:42:34.536+08:00",
"buildVersion": "4.3.6-SNAPSHOT",
"commitBranch": "4.3.6_bp1_release",
"commitId": "94801ef",
"commitTime": "2025-04-25T06:36:05Z",
"edition": "ENTERPRISE",
"group": "com.oceanbase"
}
