Translations:User:Zaycodes/Sandbox/API:Stashedit/17/en

contains examples of editing a page and responses in Ajax.