'GET /api/tool_shed_repositories/check_for_updates
Check for updates to the specified repository, or all installed repositories.
:param key: the current Galaxy admin user\'s API key
:param id: the galaxy-side encoded repository ID'

@expose_api
def check_for_updates(self, trans, **kwd):

    repository_id = kwd.get('id', None)
    (message, status) = repository_util.check_for_updates(self.app, trans.install_model, repository_id)
    return {'status': status, 'message': message}
