Repository metadata update REST endpoint

Add a rest endpoint, which can be used to update the repository metadata of a specified set of repositories.