{ "opencollection": "1.0.0", "info": { "name": "IIS Administration Application Pools Web Sites 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." } ] } ], "bundled": true }