Daruma
Posted on Nov 30
Edited on Nov 30
Render's public API covers most of what you need to watch and operate services from a phone . While building Deploy Deck, an iPhone client for Render, I found that a mobile app can do all of the following with an API key alone .
What the API makes possible
List every service in a workspace, with its type and current deploy status.
Show the deploy history of a service: commit message, trigger (new commit, manual, rollback), and timing.
Read logs and filter them by type: app, build, or request.
Take action : trigger a deploy, clear the build cache and deploy, restart, suspend, resume, run a cron job now, or roll back to an earlier deploy.
Change the auto-deploy setting.
Things to know before you build on it
An API key belongs to one workspace. To see another workspace, you need a key created there.
Permissions matter. A "Read only" key can view status, deploys, and logs.…