Merge pull request #10292 from sstrigler/EMQX-9253-readme-refine-emqx-management

EMQX Management README
This commit is contained in:
Stefan Strigler 2023-04-05 09:00:34 +02:00 committed by GitHub
commit a39312e892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 7 deletions

View File

@ -1,12 +1,42 @@
# emqx-management # EMQX Management
EMQX Management API EMQX Management offers various interfaces for administrators to interact with
the system, either by a remote console attached to a running node, a CLI (i.e.
`./emqx ctl`), or through its rich CRUD-style REST API (mostly used by EMQX'
dashboard). The system enables administrators to modify both cluster and
individual node configurations, and provides the ability to view and reset
different statistics and metrics.
## How to Design RESTful API? ## Functionality
http://restful-api-design.readthedocs.io/en/latest/scope.html Amongst others it allows to manage
default application see: * Alarms
header: * API Keys
authorization: Basic YWRtaW46cHVibGlj * Banned clients, users or hosts
* Clients (and sessions) including their topic subscriptions
* Configurations
* Manage plugins
* Fixed subscriptions
* Topics
Moreover it lets you
* modify hot and non-hot updatable configuration values,
* publish messages, as well as bulk messages,
* create trace files,
* and last but not least monitor system status.
## Implementation Notes
API endpoints are implemented using the `minirest` framework in combination with
HOCON schema and OpenAPI 3.0 specifications.
## TODO/FIXME
At its current state there are some reverse dependencies from other applications
that do calls directly into `emqx_mgmt`.
Also, and somewhat related, its bpapi proto modules do calls directly into
other applications.