Rename api directory to rest

Change-Id: I91773fda0f937e4f1c1f01a7545f77e9f64993c0