releases

Add a platform asset to a release

post/v1/releases/{releaseId}/assets

Request

  • Base URL: https://api.ditto.audio (the document declares no server; this is the origin it was published from)
  • URL: https://api.ditto.audio/v1/releases/{releaseId}/assets
  • Auth: HTTP bearer

Path parameters

releaseIdstring required

Request body

platformstring required

Target platform

archstring
fileNamestring required
fileSizenumber

File size in bytes

sha256string

SHA-256 hash for integrity

downloadUrlstring required

Absolute download URL or relative path (combined with assetBaseUrl)

mimeTypestring
signaturestring

Sparkle/EdDSA signature for macOS auto-update

Example request

{
  "platform": "macOS",
  "arch": "arm64",
  "fileName": "DittoNative-1.2.3-arm64.dmg",
  "fileSize": 52428800,
  "downloadUrl": "https://cdn.ditto.audio/releases/1.2.3/DittoNative-1.2.3-arm64.dmg",
  "mimeType": "application/octet-stream"
}

Changes

No recorded changes to this operation across all 1 revision of this API.