write_backend_file
Create or replace one file in the project's backend (app.py and friends). Flat names only, ending .py/.html/.css/.js/.json/.txt.
app.py must define a Flask app named app. Available to it:
from orivox import collections, state_path -- collections.rows("name")
reads the site's submissions, state_path("app.db") is a private writable
path. There is no internet access and no database credential by design.
Saving restarts the backend, so the next request runs the new code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| project_guid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||