'GET /api/repository_revisions/{encoded_repository_metadata_id}
Displays information about a repository_metadata record in the Tool Shed.
:param id: the encoded id of the `RepositoryMetadata` object'

@web.expose_api_anonymous
def show(self, trans, id, **kwd):

    repository_metadata = metadata_util.get_repository_metadata_by_id(trans.app, id)
    if (repository_metadata is None):
        log.debug(('Cannot    locate    repository_metadata    with    id    %s' % str(id)))
        return {}
    encoded_repository_id = trans.security.encode_id(repository_metadata.repository_id)
    repository_metadata_dict = repository_metadata.to_dict(view='element', value_mapper=self.__get_value_mapper(trans))
    repository_metadata_dict['url'] = web.url_for(controller='repositories', action='show', id=encoded_repository_id)
    return repository_metadata_dict
