{"endpoints":[{"method":"GET","path":"/","description":"This help page"},{"method":"GET","path":"/up","description":"Health check"},{"method":"GET","path":"/logs","description":"Stream threema_deployer Rails logs (text/plain)"},{"method":"GET","path":"/apps","description":"List all Deploio apps in this project"},{"method":"POST","path":"/apps","description":"Create any Deploio app. Pass database: true to auto-provision a Postgres DB and inject DATABASE_URL."},{"method":"GET","path":"/apps/:name","description":"Get app status"},{"method":"PATCH","path":"/apps/:name","description":"Update app"},{"method":"DELETE","path":"/apps/:name","description":"Delete app. Pass delete_database=true to also tear down the linked DB."},{"method":"POST","path":"/databases","description":"Create a Postgres database (params: name, location, version, backup_schedule)"},{"method":"GET","path":"/databases/:name","description":"Get Postgres database status"},{"method":"DELETE","path":"/databases/:name","description":"Delete Postgres database"},{"method":"POST","path":"/databases/:name/connect","description":"Wait for DB ready and inject DATABASE_URL into app (params: app_name)"},{"method":"GET","path":"/bots/echo_bot","description":"List all echo bot deployments (apps with prefix echo-bot-<token>)"},{"method":"POST","path":"/bots/echo_bot/deploy","description":"Deploy echo bot (params: gateway_id, private_key, api_secret, ssh_private_key; optional: database). Returns a random token used as app name prefix (echo-bot-<token>) and for routing."},{"method":"GET","path":"/bots/echo_bot/:token/status","description":"Echo bot status (use token from deploy response)"},{"method":"PATCH","path":"/bots/echo_bot/:token","description":"Update echo bot (gateway_id, private_key, api_secret, retry_build, retry_release)"},{"method":"DELETE","path":"/bots/echo_bot/:token","description":"Delete echo bot. Pass delete_database=true to also delete DB."},{"method":"GET","path":"/bots/echo_bot/:token/logs","description":"Stream echo bot Deploio logs (text/plain)"}]}