Skip to content
HALOWERK

File Formats and Conversion

webapp display negotiation

Web app display mode selects a declared override or the first supported standard fallback. Use it when an agent needs predicting display under a supplied browser capability profile.

POST https://format.halowerk.com/v1/webapp-display-negotiation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
manifest_locationstringYes
manifestobjectYes
document_locationstringNo
supportedarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "manifest_location": {
      "type": "string",
      "maxLength": 800,
      "minLength": 1
    },
    "manifest": {
      "type": "object",
      "properties": {
        "display": {
          "type": "string"
        },
        "display_override": {
          "type": "array",
          "items": {}
        }
      }
    },
    "document_location": {
      "type": "string",
      "maxLength": 800,
      "minLength": 1
    },
    "supported": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 60,
        "minLength": 1
      },
      "maxItems": 16,
      "minItems": 1
    }
  },
  "required": [
    "manifest_location",
    "manifest",
    "supported"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "manifest_location": "https://mdn.github.io/pwa-examples/custom-titlebar/manifest.webmanifest",
  "manifest": {
    "display": "standalone",
    "display_override": [
      "window-controls-overlay"
    ]
  },
  "supported": [
    "window-controls-overlay",
    "standalone"
  ]
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        }
      },
      "required": [
        "mode",
        "reason"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’