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 Allowlists and Blocklists API

Allowlist and blocklist management

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

This API exposes 4 operations across 2 paths, and defines 1 schema. 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.

4 operations 2 paths 1 schemas 2 GET2 POST

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 Allowlists and Blocklists 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 4

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

Allowlists and Blocklists 4

Allowlist and blocklist management

GET
/lists/allowlist
Juniper Networks Get allowlist entries
getAllowlist → 200
POST
/lists/allowlist
Juniper Networks Add to allowlist
addToAllowlist body → 201
GET
/lists/blocklist
Juniper Networks Get blocklist entries
getBlocklist → 200
POST
/lists/blocklist
Juniper Networks Add to blocklist
addToBlocklist body → 201

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is ListEntry (6 properties). Each schema is shown below with its type and property counts.

ListEntry
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

juniper-allowlists-and-blocklists-api-openapi.yml Raw ↑

Other APIs Juniper Networks publishes across the network.

Junos PyEZ (Python API)
JSNAPy 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
Juniper Networks Design API