Skip to main content

Author a Feed

Patch Extend is in Beta

Patch Extend is currently in beta and available for testing. We're actively refining the feature and building out comprehensive documentation. We recommend evaluating it in a test environment before deploying to production, and we welcome your feedback as we continue to improve!

A feed is a JSON document matching the published Feed schema. Validate complete feeds against that schema before deploying (see validation examples).

Append-only collisions​

Patch merges Extend feeds with the builtin catalog in append-only mode:

  • If an app id already exists in the builtin catalog, builtin wins and the feed record for that id is ignored.
  • Otherwise, a feed app is refused if it collides with any builtin app by bundle identifier or effective install path (installDirectory + fileName, defaulting install directory to /Applications).

A unique id alone is not enough. If the feed app still shares a bundle identifier or install path with an app already in the builtin catalog, Patch refuses the feed entry.

Required app fields​

Each entry under payload.apps needs at least:

  • id, friendlyName, fileName, version, installMethod
  • checks with at least one of versionComparisonKey or commandToGetLocalVersion (must include a non-whitespace character)
  • packages with at least one object that includes url and version

Typical macOS apps use versionComparisonKey (for example CFBundleShortVersionString). CLI / non-bundle layouts often use commandToGetLocalVersion instead (see the exeInZip example). If both are set, Patch uses commandToGetLocalVersion and does not fall back to the plist key.

Other common optional fields: bundleIdentifier, architectures, metadata, verification, installDirectory, installActions, package integrity (sha256, fileSize).

Examples by install method​

Download: patch-extend-feed.minimal.json

{
"schemaVersion": 1,
"feedId": "example-minimal-feed",
"payload": {
"apps": [
{
"id": "example-app",
"friendlyName": "Example",
"fileName": "Example.app",
"version": "1.0.0",
"installMethod": "appInDmg",
"checks": {
"versionComparisonKey": "CFBundleShortVersionString"
},
"packages": [
{
"url": "https://example.com/example-1.0.0.dmg",
"version": "1.0.0"
}
]
}
]
}
}