'GET /api/visualizations:'

@expose_api
def index(self, trans, **kwargs):

    rval = []
    user = trans.user
    visualizations = self.get_visualizations_by_user(trans, user)
    visualizations += self.get_visualizations_shared_with_user(trans, user)
    visualizations += self.get_published_visualizations(trans, exclude_user=user)
    for visualization in visualizations:
        item = self.get_visualization_summary_dict(visualization)
        item = trans.security.encode_dict_ids(item)
        item['url'] = web.url_for('visualization', id=item['id'])
        rval.append(item)
    return rval
