Render the selected app adapter.
One public path resolves the app by hostname, selects the latest channel release and target, compares versions, and renders Tauri v2 or Generic REST JSON.
Request
GET https://{public-slug}.mateality.app/releases/{channel}/{target}/{arch}/{currentVersion}
channelpathRequiredExact channel name.
targetpathRequiredTarget or OS component.
archpathRequiredArchitecture component.
currentVersionpathRequiredInstalled client version used for comparison.
If target already ends with -{arch}, it is used as-is. Otherwise Releases
selects the artifact target ${target}-${arch}.
Responses
200 OK: the latest published release is newer; body matches the app’s adapter.204 No Content: no published release exists or the client is up to date.404 Not Found: the public app or custom domain cannot be resolved.501: the stored app adapter is not registered by the edge service.
The comparison parses dot-separated numeric components and prevents an equal or newer installed version from receiving the latest release.
Tauri v2 body
The dynamic request returns version, notes, pub_date, url, and
signature. See Tauri v2.
Generic REST body
The dynamic request returns version, notes, pub_date, url, size,
sha256, and signature. See Generic REST.
Artifact download
The adapter’s URL points to:
GET /releases/download/{release-id}/{target}
The route supports HTTP range requests, sets download filename and ETag
headers, measures delivered bytes, and returns 206 for a range. It may return
402 for an exhausted allowance, 404 for an unknown artifact, or 410 for a
pruned artifact.