'Shows in-depth information on a specific console.'

@extensions.expected_errors(404)
def show(self, req, server_id, id):

    context = req.environ['nova.context']
    context.can((consoles_policies.POLICY_ROOT % 'show'))
    try:
        console = self.console_api.get_console(req.environ['nova.context'], server_id, int(id))
    except exception.ConsoleNotFound as e:
        raise exc.HTTPNotFound(explanation=e.format_message())
    return _translate_detail_keys(console)
