{
  "opencollection": "1.0.0",
  "info": {
    "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists Network Policies API",
    "version": "4.2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "AuthToken",
      "value": "{{AuthToken}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Network Policies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Juniper Networks List network policies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{apstra_server}/api/network-policys",
            "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 network policies."
        },
        {
          "info": {
            "name": "Juniper Networks Create network policy",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{apstra_server}/api/network-policys",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new network policy for controlling traffic between virtual networks."
        }
      ]
    }
  ],
  "bundled": true
}