Figure 12-7 Top-Level Resource Available in
RESTCONF
To explore further down the API tree and into the YANG
model and retrieve a complete list of all the interfaces,
their status, and traffic statistics through the RESTCONF
interface, you can perform a GET request on the
https://{{host}}:{{port}}/restconf/data/ietf-
interfaces:interfaces-state/ endpoint. The response
received back from the API should look similar to the one
in Figure 12-8.
Figure 12-8 Getting Interface Statistics with
RESTCONF
MODEL-DRIVEN TELEMETRY