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 Mist AI Sites Devices - Wired API

API Calls specific to the Juniper Switches managed by Mist

Juniper Mist AI Sites Devices - Wired API is one of 211 APIs that Juniper Mist AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Sites Devices - Wired. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 1 path, and defines 16 schemas. It is described by OpenAPI 3.1.0, at version 2604.1.1.

Requests are made against 12 base URLs: https://api.mist.com, https://api.gc1.mist.com, https://api.ac2.mist.com, https://api.gc2.mist.com, https://api.gc4.mist.com, https://api.eu.mist.com, https://api.gc3.mist.com, https://api.ac6.mist.com, https://api.gc6.mist.com, https://api.ac5.mist.com, https://api.gc5.mist.com, https://api.gc7.mist.com.

2 operations 1 paths 16 schemas 1 DELETE1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2604.1.1
Base URL
https://api.mist.com/api/v1
Authentication
API Key, HTTP Basic, API Key
License
Resource Areas
1

Authentication & Security 3

Juniper Mist AI Sites Devices - Wired API declares 3 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiToken). It accepts HTTP basic authentication (basicAuth). An API key is passed in the header as X-CSRFToken (csrfToken). By default, every request must be authenticated.

  • apiToken — Like many other API providers, it’s also possible to generate API Tokens to be used (in HTTP Header) for authentication. An API token ties to a Admin with equa…
  • basicAuth — While our current UI uses Session / Cookie-based authentication, it’s also possible to do Basic Auth.
  • csrfToken — This protects the website against [Cross Site Request Forgery](https://en.wikipedia.org/wiki/Cross-siterequestforgery), all the POST / PUT / DELETE APIs needs…

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 DELETE, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Sites Devices - Wired 2

API Calls specific to the Juniper Switches managed by Mist

DELETE
/api/v1/sites/{site_id}/devices/{device_id}/local_port_config
deleteSiteLocalSwitchPortConfig
deleteSiteLocalSwitchPortConfig 2 params → 200400401403404429
PUT
/api/v1/sites/{site_id}/devices/{device_id}/local_port_config
updateSiteLocalSwitchPortConfig
updateSiteLocalSwitchPortConfig 2 params body → 200400401403404429

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are junos_local_port_config (37 properties), switch_port_local_usage_storm_control (6 properties), response_http429 (1 property), response_http400 (1 property). Each schema is shown below with its type and property counts.

switch_port_local_usage_dot1x
stringnull
if dot1x is desired, set to dot1x. enum: dot1x
switch_port_local_usage_dynamic_vlan_networks
array
Only if portauth==dot1x, if dynamic vlan is used, specify the possible networks/vlans RADIUS can return
switch_port_usage_reauth_interval
Only if mode!=dynamic and portauth=dot1x reauthentication interval range (min: 10, max: 65535, default: 3600). Set to 0 to disable reauthentication (no-reauthe…
response_http403
object
1 property
switch_port_local_usage_storm_control
object
Switch storm control
6 properties
junos_local_port_config
object
Switch port config
37 properties 1 required
response_http404
object
1 property
switch_port_usage_networks
array
Only if mode==trunk, the list of network/vlans
response_http400
object
1 property
switch_port_local_usage_mac_auth_protocol
string
Only if enablemacauth ==true. This type is ignored if mistnac is enabled. enum: eap-md5, eap-peap, pap
response_http429
object
1 property
junos_port_config_speed
string
enum: 100m, 10m, 1g, 2.5g, 5g, 10g, 25g, 40g, 100g,auto
switch_port_local_usage_duplex
string
link connection mode. enum: auto, full, half
switch_port_local_usage_mode
string
enum: access, inet, trunk
local_port_config
object
Local port override, overriding the port configuration from portconfig. Property key is the port name or range (e.g. "ge-0/0/0-10")
response_http401
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mist-ai-sites-devices-wired-api-openapi.yml Raw ↑

Other APIs Juniper Mist AI publishes across the network.

Juniper Mist WebSocket Streaming API
Juniper Mist Webhooks API
Juniper Mist AI Admins API
Juniper Mist AI Admins Login API
Juniper Mist AI Admins Login - OAuth2 API
Juniper Mist AI Admins Logout API
Juniper Mist AI Admins Lookup API
Juniper Mist AI Admins Recover Password API
Juniper Mist AI Constants Definitions API
Juniper Mist AI Constants Events API
Juniper Mist AI Constants Models API
Juniper Mist AI Installer API