standardize api