'show( trans, id )
* GET /api/jobs/{id}:
return jobs for current user
:type   id: string
:param  id: Specific job id
:type   full: boolean
:param  full: whether to return extra information
:rtype:     dictionary
:returns:   dictionary containing full description of job data'

@expose_api
def show(self, trans, id, **kwd):

    job = self.__get_job(trans, id)
    is_admin = trans.user_is_admin()
    job_dict = self.encode_all_ids(trans, job.to_dict('element', system_details=is_admin), True)
    full_output = util.asbool(kwd.get('full', 'false'))
    if full_output:
        job_dict.update(dict(stderr=job.stderr, stdout=job.stdout))
        if is_admin:
            job_dict['user_email'] = job.user.email
            def metric_to_dict(metric):
                metric_name = metric.metric_name
                metric_value = metric.metric_value
                metric_plugin = metric.plugin
                (title, value) = trans.app.job_metrics.format(metric_plugin, metric_name, metric_value)
                return dict(title=title, value=value, plugin=metric_plugin, name=metric_name, raw_value=str(metric_value))
            job_dict['job_metrics'] = [metric_to_dict(metric) for metric in job.metrics]
    return job_dict
