{
  "opencollection": "1.0.0",
  "info": {
    "name": "IIS Administration API",
    "version": "2.3.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Web Sites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Web Sites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:55539/api/webserver/websites",
            "params": [
              {
                "name": "application_pool.id",
                "value": "",
                "type": "query",
                "description": "Filter web sites by application pool identifier."
              }
            ]
          },
          "docs": "Retrieves a list of all web sites configured on the IIS server."
        },
        {
          "info": {
            "name": "Create a Web Site",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:55539/api/webserver/websites",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new web site on the IIS server. Requires a physical path, the name of the web site, and a set of bindings that the web site should listen on."
        },
        {
          "info": {
            "name": "Get a Web Site",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:55539/api/webserver/websites/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the web site."
              }
            ]
          },
          "docs": "Retrieves the details of a specific web site by its identifier."
        },
        {
          "info": {
            "name": "Update a Web Site",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://localhost:55539/api/webserver/websites/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the web site."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of an existing web site. Sending a patch request with the web site in the desired state will update the web site on the server to match. List properties such as bindings must include all desired entries since the entire list is replaced."
        },
        {
          "info": {
            "name": "Delete a Web Site",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://localhost:55539/api/webserver/websites/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the web site."
              }
            ]
          },
          "docs": "Deletes a web site from the IIS server."
        }
      ]
    },
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:55539/api/webserver/webapps",
            "params": [
              {
                "name": "website.id",
                "value": "",
                "type": "query",
                "description": "Filter applications by web site identifier."
              },
              {
                "name": "application_pool.id",
                "value": "",
                "type": "query",
                "description": "Filter applications by application pool identifier."
              }
            ]
          },
          "docs": "Retrieves a list of all web applications. Optionally filter by web site or application pool."
        },
        {
          "info": {
            "name": "Create an Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:55539/api/webserver/webapps",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new web application. Requires the web site that the application should belong to, the virtual path, and the physical path in the file system. The directory must exist."
        },
        {
          "info": {
            "name": "Get an Application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:55539/api/webserver/webapps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the web application."
              }
            ]
          },
          "docs": "Retrieves the details of a specific web application by its identifier."
        },
        {
          "info": {
            "name": "Update an Application",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://localhost:55539/api/webserver/webapps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the web application."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of an existing web application."
        },
        {
          "info": {
            "name": "Delete an Application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://localhost:55539/api/webserver/webapps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the web application."
              }
            ]
          },
          "docs": "Deletes a web application from the IIS server."
        }
      ]
    },
    {
      "info": {
        "name": "Application Pools",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Application Pools",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:55539/api/webserver/application-pools"
          },
          "docs": "Retrieves a list of all application pools configured on the IIS server."
        },
        {
          "info": {
            "name": "Create an Application Pool",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:55539/api/webserver/application-pools",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new application pool. The only required information is the name of the application pool."
        },
        {
          "info": {
            "name": "Get an Application Pool",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:55539/api/webserver/application-pools/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the application pool."
              }
            ]
          },
          "docs": "Retrieves the details of a specific application pool by its identifier."
        },
        {
          "info": {
            "name": "Update an Application Pool",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://localhost:55539/api/webserver/application-pools/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the application pool."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of an existing application pool."
        },
        {
          "info": {
            "name": "Delete an Application Pool",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://localhost:55539/api/webserver/application-pools/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the application pool."
              }
            ]
          },
          "docs": "Deletes an application pool from the IIS server."
        }
      ]
    }
  ],
  "bundled": true
}