Plugin extending HTTP API of the node to return information about node state.
The system API plugin provides information about the node state using REST interface. The following info can be retrieved:
- Information about the current set of artifacts and services
- Network connectivity stats
- Version of Exonum / Rust that the node was compiled with
REST API of the service is documented in the crate docs.
Include exonum-system-api
as a dependency in your Cargo.toml
:
[dependencies]
exonum-system-api = "1.0.0"
SystemApiPlugin
type, located at the root of the crate, should be used
as a node plugin during node creation.
Consult the crate docs for more details.
exonum-system-api
is licensed under the Apache License (Version 2.0).
See LICENSE for details.