Chapter 5

Network APIs

This chapter covers the following topics:

  • What Are APIs?: This section describes what application programming interfaces (APIs) are and what they are used for.

  • Calling an API: This section covers how to call an API using Cisco platforms or others by using its Uniform Resource Identifier (URI).

  • Selecting an API Style: This section discusses using either Open API (Swagger) or JSON (JavaScript Object Notation) when making design decisions and doing so in a machine-parsable format.

  • Network API Styles: This section covers both REST and YANG styles, addressing web APIs and network device APIs and the differences in the main abstractions they build on.

This chapter maps to the Developing Applications Using Cisco Core Platforms ...

Get Cisco Certified DevNet Professional DEVCOR 350-901 Official Cert Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.