NEW350+ rooms now have a live terminal, so you can learn by typing the commands, right in your browser.Learn in a live terminal. 350+ rooms.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
[>_] ROOM · Networking
Network APIs and NETCONF/RESTCONF
Master modern network automation using RESTCONF and NETCONF to interact with structured data models, bypass CLI limitations, and enforce secure infrastructure as code.
Room tasks
1What Are Network APIs and Why Do They Matter
2REST APIs for Network Devices
3NETCONF & YANG Data Models
4Guided Lab: Querying Device State via RESTCONF
Frequently Asked Questions
What is the difference between NETCONF and RESTCONF?
NETCONF uses XML over SSH with RPC operations, while RESTCONF exposes the same YANG-modelled data through HTTP methods and JSON or XML. Both configure devices programmatically.
What is YANG?
YANG is a data modelling language that describes the configuration and state of network devices. NETCONF and RESTCONF use YANG models so tools get consistent, structured data.
Why use network APIs instead of the CLI?
APIs return structured data that is easier to validate and automate than text. This free advanced Codelivly room teaches how to use them and secure the access they require.