Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Juniper Networks Operational API

Operational data retrieval

Juniper Networks Operational API is one of 48 APIs that Juniper Networks publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Operational. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 8 operations across 8 paths, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 4.2.0.

Requests are made against a single base URL, https://{apstra_server}/api.

8 operations 8 paths 6 schemas 8 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
4.2.0
Base URL
https://[space-server]/api/space
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Juniper Networks Operational API declares 1 security scheme for authenticating requests. An API key is passed in the header as AuthToken (authToken). By default, every request must be authenticated.

  • authToken — Authentication token obtained from the /aaa/login endpoint. Include as AuthToken header in all requests.

Paths & Operations 8

Across 8 paths, the API surfaces 8 operations — 8 GET. Each is listed below with its method, path, parameters, and response codes.

Operational 8

Operational data retrieval

GET
/rpc/get-software-information
Juniper Networks Get software version information
getSoftwareInformation → 200
GET
/rpc/get-interface-information
Juniper Networks Get interface information
getInterfaceInformation 2 params → 200
GET
/rpc/get-route-information
Juniper Networks Get routing table information
getRouteInformation 2 params → 200
GET
/rpc/get-bgp-neighbor-information
Juniper Networks Get BGP neighbor information
getBgpNeighborInformation → 200
GET
/rpc/get-chassis-inventory
Juniper Networks Get chassis inventory
getChassisInventory → 200
GET
/rpc/get-alarm-information
Juniper Networks Get alarm information
getAlarmInformation → 200
GET
/rpc/get-system-uptime-information
Juniper Networks Get system uptime
getSystemUptimeInformation → 200
GET
/rpc/get-lldp-neighbors-information
Juniper Networks Get LLDP neighbor information
getLldpNeighborsInformation → 200

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are BgpPeer (10 properties), PhysicalInterface (10 properties), ChassisModule (7 properties), RouteTable (5 properties). Each schema is shown below with its type and property counts.

PhysicalInterface
object
10 properties
ChassisModule
object
7 properties
LldpNeighbor
object
5 properties
Alarm
object
4 properties
RouteTable
object
5 properties
BgpPeer
object
10 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

juniper-operational-api-openapi.yml Raw ↑

Other APIs Juniper Networks publishes across the network.

Junos PyEZ (Python API)
JSNAPy API
Juniper Networks Allowlists and Blocklists API
Juniper Networks Analytics API
Juniper Networks Audit Logs API
Juniper Networks Authentication API
Juniper Networks BGP Routers API
Juniper Networks Blueprints API
Juniper Networks Clients API
Juniper Networks Configlets API
Juniper Networks Configuration API
Juniper Networks Connectivity Templates API