The Junos REST API secures communication using SSL/TLS (HTTPS), and Junos devices with the REST API enabled provide a built-in REST API Explorer, a browser-based interface for discovering and testing available API calls. The API returns data in XML or JSON, not YAML, and it operates over HTTP/HTTPS rather than NETCONF and SSH (which is a separate, distinct management interface).
Community Discussion