'Get object information.
:param request:
:param container:
:return:'

@rest_utils.ajax()
def get(self, request, container):

    path = request.GET.get('path')
    if (path is not None):
        path = urlunquote(path)
    objects = api.swift.swift_get_objects(request, container, prefix=path)
    contents = [{'path': (o.subdir if isinstance(o, swift.PseudoFolder) else o.name), 'name': o.name.split('/')[(-1)], 'bytes': o.bytes, 'is_subdir': isinstance(o, swift.PseudoFolder), 'is_object': (not isinstance(o, swift.PseudoFolder)), 'content_type': getattr(o, 'content_type', None)} for o in objects[0] if (o.name != path)]
    return {'items': contents}
