Renaming rest to api.