How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Juniper Networks Sites Stats - Ports API

API Calls to retrieve statistics about the Wired Ports at the Site level

Juniper Networks Sites Stats - Ports API is one of 263 APIs that Juniper Networks publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Sites Stats - Ports. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, a getting-started guide, and rate-limit docs.

This API exposes 2 operations across 2 paths, and defines 21 schemas. It is described by OpenAPI 3.2.0, at version 2607.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 2 paths 21 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2607.1.1
Base URL
netconf://[device-ip]:830
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

Juniper Networks Sites Stats - Ports API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiToken). An API key is passed in the header as X-CSRFToken (csrfToken). By default, every request must be authenticated.

  • apiToken — Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header. Format: Authorization: Token {apitoken} N…
  • csrfToken — Session-based authentication for browser or login/password flows. After a successful [Login]($e/Admins%20Login/login) request, Mist returns a csrftoken cookie.…

Paths & Operations 2

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

Sites Stats - Ports 2

API Calls to retrieve statistics about the Wired Ports at the Site level

GET
/api/v1/sites/{site_id}/stats/ports/count
countSiteSwOrGwPorts
countSiteSwOrGwPorts 31 params → 200400401403404429
GET
/api/v1/sites/{site_id}/stats/ports/search
searchSiteSwOrGwPorts
searchSiteSwOrGwPorts 25 params → 200400401403404429

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are stats_switch_port (50 properties), response_switch_port_search (6 properties), response_count (6 properties), count_result (1 property). Each schema is shown below with its type and property counts.

count_result
object
Count result row with the matching distinct field values
1 property 1 required
port_stp_state1
string
Current spanning tree state of the port. enum: , blocking, disabled, forwarding, learning, listening.
site_ports_count_distinct
string
enum: fullduplex, mac, neighbormac, neighborportdesc, neighborsystemname, poedisabled, poemode, poeon, portid, portmac, speed, up
stats_switch_port_poe_mode1
string
PoE mode reported for the port. enum: 802.3af, 802.3at, 802.3bt.
stats_switch_port_type1
string
Detected device category connected to the port, when available. enum: ap, ble, gateway, mxedge, nac, switch.
search_org_sw_or_gw_ports_type
string
enum: switch, gateway, all
response_http404
object
Standard HTTP 404 not found error response
1 property
port_auth_state1
string
Authentication state of the port. enum: , authenticated, authenticating, held, init.
response_http403
object
Standard HTTP 403 permission error response
1 property
port_stp_state
string
Spanning Tree Protocol state for the port. enum: "", blocking, disabled, forwarding, learning, listening
port_stp_role
string
Spanning Tree Protocol role for the port. enum: "", alternate, backup, designated, disabled, root, root-prevented
response_count
object
Distinct count response for time-bounded search results
6 properties 6 required
response_http400
object
Standard HTTP 400 bad request error response
1 property
response_http429
object
Standard HTTP 429 rate limit error response
1 property
response_switch_port_search
object
Paginated response for switch and gateway port statistics search results
6 properties 3 required
port_auth_state
string
Port authentication state. enum: "", authenticated, authenticating, held, init
poe_priority2
string
PoE priority configured for the port. enum: low, high.
poe_priority
string
PoE priority. enum: low, high
port_stp_role1
string
Current spanning tree role of the port. enum: , alternate, backup, designated, disabled, root, root-prevented.
stats_switch_port
object
Switch port statistics record returned by stats APIs
50 properties 4 required
response_http401
object
Standard HTTP 401 authentication error response
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

juniper-sites-stats-ports-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
Where this information came from

This is an independent, third-party profile of Juniper Networks Sites Stats - Ports API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.