'show( self, trans, id, **kwd )
* GET /api/libraries/datasets/{encoded_dataset_id}
Displays information about the dataset identified by the encoded ID.
:param  id:      the encoded id of the dataset to query
:type   id:      an encoded id string
:returns:   detailed dataset information from base controller
:rtype:     dictionary
.. seealso:: :attr:`galaxy.web.base.controller.UsesLibraryMixinItems.get_library_dataset`'

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

    try:
        library_dataset = self.get_library_dataset(trans, id=id, check_ownership=False, check_accessible=True)
    except Exception:
        raise exceptions.ObjectNotFound('Requested    library_dataset    was    not    found.')
    current_user_roles = trans.get_current_user_roles()
    tag_manager = tags.GalaxyTagManager(trans.sa_session)
    full_path = self._build_path(trans, library_dataset.folder)
    dataset_item = (trans.security.encode_id(library_dataset.id), library_dataset.name)
    full_path.insert(0, dataset_item)
    full_path = full_path[::(-1)]
    expired_ldda_versions = []
    for expired_ldda in library_dataset.expired_datasets:
        expired_ldda_versions.append((trans.security.encode_id(expired_ldda.id), expired_ldda.name))
    rval = trans.security.encode_all_ids(library_dataset.to_dict())
    if (len(expired_ldda_versions) > 0):
        rval['has_versions'] = True
        rval['expired_versions'] = expired_ldda_versions
    rval['deleted'] = library_dataset.deleted
    rval['folder_id'] = ('F' + rval['folder_id'])
    rval['full_path'] = full_path
    rval['file_size'] = util.nice_size(int(library_dataset.library_dataset_dataset_association.get_size()))
    rval['date_uploaded'] = library_dataset.library_dataset_dataset_association.create_time.strftime('%Y-%m-%d    %I:%M    %p')
    rval['can_user_modify'] = (trans.app.security_agent.can_modify_library_item(current_user_roles, library_dataset) or trans.user_is_admin())
    rval['is_unrestricted'] = trans.app.security_agent.dataset_is_public(library_dataset.library_dataset_dataset_association.dataset)
    rval['tags'] = tag_manager.get_tags_str(library_dataset.library_dataset_dataset_association.tags)
    rval['can_user_manage'] = (trans.app.security_agent.can_manage_dataset(current_user_roles, library_dataset.library_dataset_dataset_association.dataset) or trans.user_is_admin())
    return rval
