Propose a change
mttr_proposeBefore you deploy a change to a site set to approve, proposes it to the person: mttr keeps it and emails them what the change is, the rule and pages, your summary marked as your words, and an Approve and a Decline link, each working once and lapsing after 72 hours. Then wait: call mttr_proposal with the id until it says approved, and deploy only then. Declined or expired means do not deploy. At most 20 proposals for a site an hour, so put related changes in one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | The change as a unified diff, at most 20,000 characters. Shown to the person, never applied by mttr. | |
| rule | No | The mttr rule it answers, by id, such as answer-first. Leave it out for a change no rule names. | |
| site | Yes | The site, as a domain such as example.com. | |
| pages | No | The pages it changes, as paths separated by commas, such as /pricing,/about. At most 20; none for the whole site. | |
| title | Yes | What the change is, in a few words on one line, at most 120 characters. | |
| summary | Yes | What the change does and why, in a few sentences the person can judge, at most 2000 characters. |