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 Admins Login - OAuth2 API

A Mist account can be linked to OAuth2 providers:1. First, login with your Mist account2. Obtain the Authorization URL for Linking with [Get Oauth 2 Authorization Url for Login](/#operations/getOauth2AuthorizationUrlForLogin).As OAuth2 flow goes through provider's UI and back with the authorization code, there are two ways to get it: * in JSON response, more usable for developers. Simply don\'t specify the `forward` parameter when obtaining the authorization URL * as GET parameter, for UI where the user flow can be continued. Specify the landing page/url of your choice 3. Obtain the authorization code by clicking / going through Authorization URL Link Mist Account against OAuth2 Provider by using the authorization code

Juniper Mist AI Admins Login - OAuth2 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 Admins Login - OAuth2. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

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

3 operations 1 paths 7 schemas 1 DELETE1 GET1 POST

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 Admins Login - OAuth2 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 3

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

Admins Login - OAuth2 3

A Mist account can be linked to OAuth2 providers: 1. First, login with your Mist account 2. Obtain the Authorization URL for Linking with [Get Oauth 2 Authorization Url for Login]…

DELETE
/api/v1/login/oauth/{provider}
unlinkOauth2Provider
unlinkOauth2Provider 1 param → 200400401403404429
GET
/api/v1/login/oauth/{provider}
getOauth2AuthorizationUrlForLogin
getOauth2AuthorizationUrlForLogin 2 params → 200400401403404429
POST
/api/v1/login/oauth/{provider}
loginOauth2
loginOauth2 1 param body → 200400401403404429

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are response_login_oauth_url (2 properties), response_http401 (1 property), response_http429 (1 property), code_string (1 property). Each schema is shown below with its type and property counts.

response_http403
object
1 property
response_http404
object
1 property
response_login_oauth_url
object
2 properties 2 required
response_http400
object
1 property
code_string
object
1 property 1 required
response_http429
object
1 property
response_http401
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mist-ai-admins-login-oauth2-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 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
Juniper Mist AI MSPs Admins API