write_own_theme_files
Write several files of an own theme at once: changes maps a path to its whole new content, or null to delete it. Pass the revision you last read as baseRevision; if the theme changed since, nothing is written. The theme is checked first: a write that would leave it not installing saves nothing and says why. Changes the theme's files only, not the shop: stage_own_theme puts them on the shop as its draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The theme's slug, as list_own_themes shows it. | |
| changes | Yes | ||
| baseRevision | No |