RESTCONF

RESTCONF is protocol which works similar to a REST API. It maps a YANG specification to a RESTful interface and uses the HTTPS protocol for transport. You can use JSON or XML as data formats.

Links:

https://networklessons.com/cisco/evolving-technologies/device-programmability#RESTCONF