'Return data about the given snapshot.'

@wsgi.Controller.api_version('2.1', MAX_PROXY_API_SUPPORT_VERSION)
@extensions.expected_errors(404)
def show(self, req, id):

    context = req.environ['nova.context']
    context.can(vol_policies.BASE_POLICY_NAME)
    try:
        vol = self.volume_api.get_snapshot(context, id)
    except exception.SnapshotNotFound as e:
        raise exc.HTTPNotFound(explanation=e.format_message())
    return {'snapshot': _translate_snapshot_detail_view(context, vol)}
