Commit the api