Methods to set and get API endpoints' name