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

Site-level management

Juniper Networks Sites 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 Sites. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 6 operations across 3 paths, and defines 3 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.

6 operations 3 paths 3 schemas 1 DELETE3 GET1 POST1 PUT

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 Sites 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 6

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

Sites 6

Site-level management

GET
/orgs/{org_id}/sites
Juniper Networks List sites in organization
listOrgSites 3 params → 200
POST
/orgs/{org_id}/sites
Juniper Networks Create a site
createSite 1 param body → 200400
GET
/sites/{site_id}
Juniper Networks Get site details
getSite 1 param → 200404
PUT
/sites/{site_id}
Juniper Networks Update site
updateSite 1 param body → 200
DELETE
/sites/{site_id}
Juniper Networks Delete site
deleteSite 1 param → 200404
GET
/sites/{site_id}/stats
Juniper Networks Get site statistics
getSiteStats 1 param → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Site (11 properties), SiteStats (5 properties), Error (1 property). Each schema is shown below with its type and property counts.

Error
object
1 property
Site
object
11 properties
SiteStats
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

juniper-sites-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