{
  "opencollection": "1.0.0",
  "info": {
    "name": "systemd-hostnamed (org.freedesktop.hostname1) Boot Machine Info API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Machine Info",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Set The Chassis Type",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "dbus://system/org.freedesktop.hostname1/chassis",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Mirrors `SetChassis(chassis, interactive)`. One of `desktop`, `laptop`, `server`, `tablet`, `handset`, `embedded`, `vm`, `container`, `convertible`, `watch`."
        },
        {
          "info": {
            "name": "Set The Deployment Environment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "dbus://system/org.freedesktop.hostname1/deployment"
          },
          "docs": "Mirrors `SetDeployment(deployment, interactive)`. Free-form tag like `production`/`staging`."
        },
        {
          "info": {
            "name": "Set The Location String",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "dbus://system/org.freedesktop.hostname1/location"
          },
          "docs": "Mirrors `SetLocation(location, interactive)`."
        },
        {
          "info": {
            "name": "Describe All Hostname/Machine-Info Properties",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "dbus://system/org.freedesktop.hostname1/describe"
          },
          "docs": "Mirrors `Describe()`. Returns a JSON dump of every hostname property."
        }
      ]
    }
  ],
  "bundled": true
}