Runtime Service
Source: services/runtime/DOCS.md
Purpose: deploy repository archives, execute webhook handlers, and broker plugin runtime calls.
Public base: https://<org>.w7s.cloud/*
Key endpoints:
POST /_deployorPOST /<repo>/_deployPOST /_invokeGET /<repo>/_account/*(proxy to account service)POST /<repo>/_db/*(DB control proxy)
Auth:
- Deploy requires
Authorization: Bearer <github-token>and GitHub metadata headers. - Runtime webhooks can be
auth: noneorauth: jwtbased onw7s.json.
Example deploy:
curl -X POST "https://<org>.w7s.cloud/<repo>/_deploy?artifact=source" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "x-github-repository: <org>/<repo>" \
-H "x-github-sha: <sha>" \
-H "x-github-branch: <branch>" \
-H "content-type: application/zip" \
--data-binary "@repo.zip"
Notes:
- If
frontend/distexists, the runtime can publish static assets. - Custom domains are declared in
backend/CNAMEandfrontend/CNAME.