Rename RestAPI -> Collection
api -> collection