copying API changes from head for new REST endpoints