Using the Open Horizon CLI and API
Now that you have a good understanding of edge computing concepts and have registered an Edge device node with the Open Horizon All-in-One (AIO) management hub, in this chapter, we will delve into various ways to interact with the system. While you used a few hzn
commands in earlier chapters, here, we will practice and learn about the commonly used commands, their options, and contexts. Having a good knowledge of these commands will prepare you to build, develop, publish, and deploy real-world applications as we progress through subsequent chapters. We will also explore how APIs are used under the hood by the command-line interface (CLI) commands, and then introduce how you can use them in your projects.
In this chapter, we’re going to cover the following main topics:
- How to use the CLI
- Commonly used CLIs
- Application programming interfaces (APIs)
The Open-Horizon-based end-to-end system can be managed by CLIs and APIs...