{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Orgs EVPN Topologies API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orgs EVPN Topologies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listOrgEvpnTopologies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/evpn_topologies",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "for_site",
                "value": "",
                "type": "query",
                "description": "Filter for org/site level EVPN topologies. enum: `any`, `false`, `true`"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Select the page number to return when using page-based pagination; starts at `1`"
              }
            ]
          },
          "docs": "List EVPN topology records in the organization, optionally filtering for org-level, site-level, or all topologies with `for_site`."
        },
        {
          "info": {
            "name": "createOrgEvpnTopology",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/evpn_topologies",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "While all the `evpn_id` / `downlink_ips` can be specified by hand, the easiest way is to call the `build_vpn_topology` API, allowing you to examine the diff, and update it yourself. You can also simply call it with `overwrite=true` which will apply the updates for you.\n\n**Notes:**\n1. You can use `core` / `distribution` / `access` to create a CLOS topology\n2. You can also use `core` / `distribution` to form a 2-tier EVPN topology where ESI-Lag is configured distribution to connect to access switc"
        },
        {
          "info": {
            "name": "getOrgEvpnTopology",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/evpn_topologies/:evpn_topology_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "evpn_topology_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve the switch roles, links, and generation options for a specific EVPN topology."
        },
        {
          "info": {
            "name": "updateOrgEvpnTopology",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/evpn_topologies/:evpn_topology_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "evpn_topology_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an EVPN topology, including switch membership, switch roles, links, and generation options."
        },
        {
          "info": {
            "name": "deleteOrgEvpnTopology",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/evpn_topologies/:evpn_topology_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "evpn_topology_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete an EVPN topology from the organization by topology ID."
        }
      ]
    }
  ],
  "bundled": true
}