{
  "opencollection": "1.0.0",
  "info": {
    "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists Virtual Networks API",
    "version": "4.2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "AuthToken",
      "value": "{{AuthToken}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Virtual Networks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Juniper Networks List security zones (routing zones / VRFs)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{apstra_server}/api/blueprints/:blueprint_id/security-zones",
            "params": [
              {
                "name": "blueprint_id",
                "value": "",
                "type": "path",
                "description": "Blueprint unique identifier"
              }
            ]
          },
          "docs": "Returns routing zones (VRFs) in the blueprint."
        },
        {
          "info": {
            "name": "Juniper Networks Create security zone",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{apstra_server}/api/blueprints/:blueprint_id/security-zones",
            "params": [
              {
                "name": "blueprint_id",
                "value": "",
                "type": "path",
                "description": "Blueprint unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new routing zone (VRF) in the blueprint."
        },
        {
          "info": {
            "name": "Juniper Networks List virtual networks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{apstra_server}/api/blueprints/:blueprint_id/virtual-networks",
            "params": [
              {
                "name": "blueprint_id",
                "value": "",
                "type": "path",
                "description": "Blueprint unique identifier"
              }
            ]
          },
          "docs": "Returns virtual networks configured in the blueprint."
        },
        {
          "info": {
            "name": "Juniper Networks Create virtual network",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{apstra_server}/api/blueprints/:blueprint_id/virtual-networks",
            "params": [
              {
                "name": "blueprint_id",
                "value": "",
                "type": "path",
                "description": "Blueprint unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new virtual network in the blueprint."
        },
        {
          "info": {
            "name": "Juniper Networks List virtual networks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{apstra_server}/api/virtual-networks",
            "params": [
              {
                "name": "parent_id",
                "value": "",
                "type": "query",
                "description": "Filter by parent resource UUID"
              },
              {
                "name": "detail",
                "value": "",
                "type": "query",
                "description": "Return full object details instead of references"
              }
            ]
          },
          "docs": "Returns all virtual networks."
        },
        {
          "info": {
            "name": "Juniper Networks Create virtual network",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{apstra_server}/api/virtual-networks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new virtual network."
        },
        {
          "info": {
            "name": "Juniper Networks Get virtual network",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{apstra_server}/api/virtual-network/:vn_id",
            "params": [
              {
                "name": "vn_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns details of a specific virtual network."
        },
        {
          "info": {
            "name": "Juniper Networks Update virtual network",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{apstra_server}/api/virtual-network/:vn_id",
            "params": [
              {
                "name": "vn_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing virtual network."
        },
        {
          "info": {
            "name": "Juniper Networks Delete virtual network",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{apstra_server}/api/virtual-network/:vn_id",
            "params": [
              {
                "name": "vn_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a virtual network."
        }
      ]
    }
  ],
  "bundled": true
}