{
  "opencollection": "1.0.0",
  "info": {
    "name": "Incus external REST certificates network-zones API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "network-zones",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get the network zones",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/1.0/network-zones",
            "params": [
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              },
              {
                "name": "all-projects",
                "value": "true",
                "type": "query",
                "description": "Retrieve network zones from all projects"
              },
              {
                "name": "filter",
                "value": "default",
                "type": "query",
                "description": "Collection filter"
              }
            ]
          },
          "docs": "Returns a list of network zones (URLs)."
        },
        {
          "info": {
            "name": "Add a network zone",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/1.0/network-zones",
            "params": [
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Creates a new network zone."
        },
        {
          "info": {
            "name": "Get the network zone",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/1.0/network-zones/:zone",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Gets a specific network zone."
        },
        {
          "info": {
            "name": "Update the network zone",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/1.0/network-zones/:zone",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Updates the entire network zone configuration."
        },
        {
          "info": {
            "name": "Partially update the network zone",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/1.0/network-zones/:zone",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Updates a subset of the network zone configuration."
        },
        {
          "info": {
            "name": "Delete the network zone",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/1.0/network-zones/:zone",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Removes the network zone."
        },
        {
          "info": {
            "name": "Get the network zone records",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/1.0/network-zones/:zone/records",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              },
              {
                "name": "filter",
                "value": "default",
                "type": "query",
                "description": "Collection filter"
              }
            ]
          },
          "docs": "Returns a list of network zone records (URLs)."
        },
        {
          "info": {
            "name": "Add a network zone record",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/1.0/network-zones/:zone/records",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Creates a new network zone record."
        },
        {
          "info": {
            "name": "Get the network zone record",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/1.0/network-zones/:zone/records/:name",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Record name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Gets a specific network zone record."
        },
        {
          "info": {
            "name": "Update the network zone record",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/1.0/network-zones/:zone/records/:name",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Record name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Updates the entire network zone record configuration."
        },
        {
          "info": {
            "name": "Partially update the network zone record",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/1.0/network-zones/:zone/records/:name",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Record name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Updates a subset of the network zone record configuration."
        },
        {
          "info": {
            "name": "Delete the network zone record",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/1.0/network-zones/:zone/records/:name",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Record name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              }
            ]
          },
          "docs": "Removes the network zone record."
        },
        {
          "info": {
            "name": "Get the network zone records",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/1.0/network-zones/:zone/records?recursion=1",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "Network zone name"
              },
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              },
              {
                "name": "filter",
                "value": "default",
                "type": "query",
                "description": "Collection filter"
              }
            ]
          },
          "docs": "Returns a list of network zone records (structs)."
        },
        {
          "info": {
            "name": "Get the network zones",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/1.0/network-zones?recursion=1",
            "params": [
              {
                "name": "project",
                "value": "default",
                "type": "query",
                "description": "Project name"
              },
              {
                "name": "all-projects",
                "value": "true",
                "type": "query",
                "description": "Retrieve network zones from all projects"
              },
              {
                "name": "filter",
                "value": "default",
                "type": "query",
                "description": "Collection filter"
              }
            ]
          },
          "docs": "Returns a list of network zones (structs)."
        }
      ]
    }
  ],
  "bundled": true
}