API:Revisions/Sample code 1