Implement the merge request API.