Change api

1. change api to follow RESTful requirements
2. change “rename” color to yellow