API:Stashedit/Sample code 1