OceanBase Cloud Platform (OCP) provides HTTP APIs that conform to the REST specification to facilitate you in managing your OceanBase resources and developing your own applications. This topic describes APIs of OCP, including their syntax and examples. The document is intended for developers. Before you call an API operation, make sure that you fully understand the related concepts.
| Module |
Operation |
Description |
| Cluster information |
Query clusters |
Queries the information about the clusters managed by OCP. |
| Cluster information |
Query servers |
Queries the information about all servers in a cluster. |
| Cluster information |
Query servers in a zone |
Queries servers in a specified zone of a cluster. |
API List of Monitoring
| Module |
Operation |
Description |
Tenant information | Monitoring | Query the metadata of a monitoring metric | Queries the metadata information of a monitoring metric in OCP. You can query the monitoring data of a specified metric based on the metadata. | | Monitoring | Query monitoring data | Queries the monitoring data of a specified metric. The time range must be specified. | | Monitoring | Query monitoring data and attach a tag to the data | Queries the monitoring data of a specified metric. The time range must be specified. The returned results contain values of group tags. |
API List of Alerts
API List of Health examination
| Module |
Operation |
Description |
| Health examination |
Query the basic information of an OCP application |
Queries the basic information about an OCP application, such as the version number, build date, and Java version. |
| Health examination |
Query the OCP server time |
Queries the OCP server time to check the synchronization between the local time and the server time. |
| Health examination |
Query OCP application status |
Queries the status of the OCP application. It checks the status of each module of the OCP application and returns the health status of all modules. |