Choosing between CLIs or Platform API Interface use
In Chapter 2, Introducing API Connect, you were introduced to the API Connect Toolkit CLIs. As you may recall from there, the CLIs provide you with the ability to create APIs and Products as well as publish the APIs to a catalog. There is also another method for performing similar publishing functionality, and that is with the Platform APIs provided with API Connect.
Since you will be using the CLI for your pipeline in this chapter, you'll learn about the CLI calls first.
Using the CLIs
Although you learned about the CLI commands in Chapter 2, Introducing API Connect, a quick refresher here is appropriate. When you look at the stages for the pipeline, the Build stage will be invoking the steps to interface with API Connect. These are the CLI commands that you will be using in our pipeline:
apic login
: This is how it is used:apic login --username <username> --password <password> --server < api...