{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Self OAuth2 API",
    "version": "2604.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Self OAuth2",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getOauth2UrlForLinking",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/self/oauth/:provider",
            "params": [
              {
                "name": "provider",
                "value": "",
                "type": "path"
              },
              {
                "name": "forward",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Obtain Authorization URL for Linking"
        },
        {
          "info": {
            "name": "linkOauth2MistAccount",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/self/oauth/:provider",
            "params": [
              {
                "name": "provider",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Link Mist account with an OAuth2 Provider"
        }
      ]
    }
  ],
  "bundled": true
}