Standardize the REST APIs