def METHOD_NAME(self, id):
    """List files attached to an element
    :query ObjectID id: Element ID
    :<json object files: JSON object containing a list of serialized AttachedFile objects
    """
    l = []
    entity = get_object_or_404(self.objectmanager, id=id)
    for f in entity.attached_files:
        i = f.info()
        i["content_uri"] = url_for("api.Entity:file_content", sha256=f.sha256)
        l.append(i)
    return render(l)