You can use RPC invocation over HTTP with JSON output to retrieve operational and configuration data from Junos OS devices in JavaScript Object Notation (JSON) format via the REST API. You submit GET or POST requests to REST API endpoints and specify JSON as the output format using either the Accept: application/json header or the format="json" attribute in the RPC request. This benefits you by enabling seamless integration with external applications and automation frameworks that consume structured JSON data.
| Product / Application | Software | Introduced Release |
|---|---|---|
| PTX10001-36MR | Junos OS Evolved | 20.4R1 |
| PTX10003 | Junos OS Evolved | 20.4R1 |
| PTX10004 | Junos OS Evolved | 20.4R1 |
| PTX10008 | Junos OS Evolved | 20.4R1 |
| PTX10016 | Junos OS Evolved | 21.2R2 |
| PTX10002-36QDD | Junos OS Evolved | 24.2R2 |