Renaming rest to api.
Renaming rest to api.