Revert "API updated to v.1.2.7"

This reverts commit 36fdc0172eab536645903dd446e0a279be707758.