1. Documentation
  2. Automation with APIs

Automation with APIs

Paged AP Inventory [API]

When using API calls to view all APs, you may paginate the list to indicate the current page and maximum number of objects returned in each page.  This is for an effort to support sites with very large AP inventories. Please refer to our API document (Mist login required) for the usage: https://api.mist.com/api/v1/docs/Overview#query An example...

Mist API Introduction

From the beginning Mist has been a 100% API company.  The API contains a set of tools known as endpoints for building software and applications that communicate with the Mist cloud.  The Dashboard API is a modern, RESTful API using HTTPS requests to a URL and JSON as a human-readable format. The API is available...

Simple API example

See If You’re Logged in Already Get ‘whoami’ and privileges (which organization and sites I have access to) GET /api/v1/self For my test account, it returned: This is because I ran it in a new tab on a browser which I’m currently logged in to.

Using Postman

There is a tool call Postman that can be used to interact with the API without getting into coding. It is a really good place to start. You can download it here.   First you will need to generate an API Token. You can do it here and this will carry your permissions.  This is...

Postman using Variables

  In Postman you can create your own environments using variables to customize and greatly simplify your API experience.

Setting up a Python environment using ATOM

There are many tools you can use to code in Python.  I found ATOM to be very straightforward and this youtube video to be very helpful setting things up on my Mac.  It will take about a 1/2 hour, but it is time well spent if you want to start working with the sample code...

Setting up 2 factor auth and getting an APP key for gmail

This video will walk you through the steps to enable a gmail account to use and APP password instead of your regular password.  This will be needed if you want to create your own notifications with he Mist API and send e-mail from a python script.  It is meant to walk you through the process...