Skip to main content

API reference

A working summary of the cloud HTTP surface. Internals (gateway HTTP routes used by the Flutter client) are not stable across versions — read the source in src/gateway/routes/ if you need them.

All cloud workers respond JSON unless noted. CORS is open. Admin endpoints require X-Deploy-Secret (or PLUGIN_DEPLOY_SECRET).

accounts-worker — accounts.youkore.com

User identity, OAuth, gateways, invites, support.

Public

MethodPathPurpose
POST/registerCreate an account
POST/loginEmail + password (returns token, may require 2FA)
GET/verifyEmail verification redirect
POST/forgot-passwordTrigger password-reset email
POST/reset-passwordComplete password reset

Authenticated (Bearer token)

MethodPathPurpose
GET/meCurrent user info
DELETE/accountDelete the account
POST/gatewaysRegister a gateway (this Youkore install)
GET/gatewaysList the user's gateways
POST/gateways/deactivateMark a gateway as expired (uninstall)
POST/verify-clientToken + gateway + build_hash check
POST/devices/registerRegister a Flutter client device
POST/invites/createGenerate an invite
GET/invites/listList your invites

releases-worker — releases.youkore.com

Signed Youkore client builds.

Public

MethodPathPurpose
GET/latest?platform=&channel=Update check; returns metadata + signature
GET/download/:version/:platformDownload installer
GET/signature/:version/:platformDownload .sig
GET/notes/:versionRelease notes

Admin (X-Deploy-Secret)

MethodPathPurpose
POST/uploadSingle-shot signed upload
POST/upload/requestBegin multipart upload (carries signature)
PUT/upload/partUpload one part
POST/upload/completeFinalize and verify signature
POST/publishMark a release published; updates latest_releases pointer
POST/revokeUnpublish

plugins-worker — plugins.youkore.com

Plugin store catalog and signed bundles.

Public

MethodPathPurpose
GET/catalog?category=&search=List published plugins
GET/plugins/:plugin_idPlugin metadata + version list
GET/download/:plugin_id/:versionDownload .yk bundle
GET/signature/:plugin_id/:versionDownload .yk.sig

Admin (PLUGIN_DEPLOY_SECRET)

MethodPathPurpose
POST/upsert-pluginCreate or update plugin metadata
POST/uploadUpload signed bundle (verifies signature server-side)
POST/publishMark version published; updates plugins.latest_version
POST/promoteChannel transition (e.g. beta → stable)
POST/revokeUnpublish

admin-worker — admin.youkore.com

Operator dashboard. Login is role-gated (admin role + 2FA required). The dashboard speaks to all three D1 databases via the same worker (separate bindings).