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

Operations for the authenticated user account

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

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

3 operations 2 paths 4 schemas 2 GET1 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 Self 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 3

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

Self 3

Operations for the authenticated user account

GET
/self
Juniper Networks Get current user info
getSelf → 200401
GET
/self/apitokens
Juniper Networks List API tokens
listApiTokens → 200
POST
/self/apitokens
Juniper Networks Create API token
createApiToken body → 200400

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Admin (10 properties), Privilege (5 properties), ApiToken (5 properties), Error (1 property). Each schema is shown below with its type and property counts.

ApiToken
object
5 properties
Admin
object
10 properties
Error
object
1 property
Privilege
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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