save REST API
fix REST merge