OpenAPI

This section describes OpenAPI implementation, which consists of a Hypertext Transfer Protocol (HTTP) endpoint for executing custom queries.

Important: Queries and exports permission is needed to query all OpenAPI endpoints. In addition, there are further Role-Based Access Control (RBAC) permissions that restrict application programming interface (API) queries to specific tables.

OpenAPI methods that change sensor data produce audit logs. For example, this happens when a new user is added through OpenAPI or when an alert is acknowledged. By default, read-only operations do not produce audit logs. It is possible to change this behavior and have GET OpenAPI methods produce audit logs by specifying the following command-line interface (CLI) command:

conf.user configure open_api audit get enabled true