{
  "opencollection": "1.0.0",
  "info": {
    "name": "API Reference AlertService NetworkPolicyService API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "NetworkPolicyService",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GetNetworkPolicies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{central-host}/v1/networkpolicies",
            "params": [
              {
                "name": "clusterId",
                "value": "",
                "type": "query"
              },
              {
                "name": "deploymentQuery",
                "value": "",
                "type": "query"
              }
            ]
          }
        },
        {
          "info": {
            "name": "ApplyNetworkPolicy",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{central-host}/v1/networkpolicies/apply/:clusterId",
            "params": [
              {
                "name": "clusterId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "GetNetworkGraph",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{central-host}/v1/networkpolicies/cluster/:clusterId",
            "params": [
              {
                "name": "clusterId",
                "value": "",
                "type": "path"
              },
              {
                "name": "query",
                "value": "",
                "type": "query"
              }
            ]
          }
        },
        {
          "info": {
            "name": "GenerateNetworkPolicies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{central-host}/v1/networkpolicies/generate/:clusterId",
            "params": [
              {
                "name": "clusterId",
                "value": "",
                "type": "path"
              },
              {
                "name": "query",
                "value": "",
                "type": "query"
              },
              {
                "name": "deleteExisting",
                "value": "",
                "type": "query"
              },
              {
                "name": "networkDataSince",
                "value": "",
                "type": "query"
              }
            ]
          }
        },
        {
          "info": {
            "name": "GetNetworkGraphEpoch",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{central-host}/v1/networkpolicies/graph/epoch",
            "params": [
              {
                "name": "clusterId",
                "value": "",
                "type": "query"
              }
            ]
          }
        },
        {
          "info": {
            "name": "SimulateNetworkGraph",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{central-host}/v1/networkpolicies/simulate/:clusterId",
            "params": [
              {
                "name": "clusterId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "SendNetworkPolicyYAML",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{central-host}/v1/networkpolicies/simulate/:clusterId/notify",
            "params": [
              {
                "name": "clusterId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "GetUndoModification",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{central-host}/v1/networkpolicies/undo/:clusterId",
            "params": [
              {
                "name": "clusterId",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "GetNetworkPolicy",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{central-host}/v1/networkpolicies/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          }
        }
      ]
    }
  ],
  "bundled": true
}