Skip to content
HALOWERK

File Formats and Conversion

webapp file dispatch

Web app file dispatch lists in-scope handler actions accepting both a supplied MIME type and filename extension. Use it when an agent needs testing a declared file association.

POST https://format.halowerk.com/v1/webapp-file-dispatch

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
manifest_locationstringYes
manifestobjectYes
document_locationstringNo
mimestringYes
extensionstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "manifest_location": {
      "type": "string",
      "maxLength": 800,
      "minLength": 1
    },
    "manifest": {
      "type": "object",
      "properties": {
        "start_url": {
          "type": "string"
        },
        "scope": {
          "type": "string"
        },
        "file_handlers": {
          "type": "array",
          "items": {}
        }
      }
    },
    "document_location": {
      "type": "string",
      "maxLength": 800,
      "minLength": 1
    },
    "mime": {
      "type": "string",
      "maxLength": 90,
      "minLength": 1
    },
    "extension": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
    }
  },
  "required": [
    "manifest_location",
    "manifest",
    "mime",
    "extension"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "manifest_location": "https://microsoftedge.github.io/Demos/pwa-file-handlers/manifest.json",
  "manifest": {
    "start_url": ".",
    "file_handlers": [
      {
        "action": "./",
        "accept": {
          "text/*": [
            ".txt"
          ]
        }
      }
    ]
  },
  "mime": "text/plain",
  "extension": ".txt"
}

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": {
        "actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "matching_handlers": {
          "type": "integer"
        }
      },
      "required": [
        "actions",
        "matching_handlers"
      ]
    },
    "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 โ†’