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 Design API

Design resources including logical devices, interface maps, rack types, templates, and config templates.

Juniper Networks Design API is one of 35 APIs that Juniper Networks publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Design. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, an AsyncAPI specification, and 4 JSON Schemas.

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

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

6 operations 4 paths 5 schemas 4 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
4.2
Base URL
https:///api
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Juniper Networks Design 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 POST /api/aaa/login. Include in the AuthToken header for all authenticated API requests.

Paths & Operations 6

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

Design 6

Design resources including logical devices, interface maps, rack types, templates, and config templates.

GET
/design/logical-devices
Juniper Networks List logical devices
listLogicalDevices → 200401
POST
/design/logical-devices
Juniper Networks Create logical device
createLogicalDevice body → 201400401
GET
/design/interface-maps
Juniper Networks List interface maps
listInterfaceMaps → 200401
GET
/design/rack-types
Juniper Networks List rack types
listRackTypes → 200401
POST
/design/rack-types
Juniper Networks Create rack type
createRackType body → 201400401
GET
/design/templates
Juniper Networks List templates
listTemplates → 200401

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are RackType (6 properties), Template (5 properties), InterfaceMap (5 properties), LogicalDevice (3 properties). Each schema is shown below with its type and property counts.

InterfaceMap
object
5 properties
Error
object
1 property
LogicalDevice
object
3 properties
Template
object
5 properties
RackType
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

juniper-networks-design-api-openapi.yml Raw ↑

Other APIs Juniper Networks publishes across the network.

Junos PyEZ
Junos XML API
Juniper JSNAPy
Juniper Networks Alarms API
Juniper Networks Anomalies API
Juniper Networks Authentication API
Juniper Networks BGP Routers API
Juniper Networks Blueprints API
Juniper Networks Clients API
Juniper Networks Configuration API
Juniper Networks Devices API
Juniper Networks Floating IPs API