show_campaigns and list_campaigns
I tried the new show_campaigns. It is good to have this function to show details of campaigns. A few comments on this API:
1. it shows all of the campaigns on server with an experiment. It is a lot of info for the user. So we need to allow the user to narrow down it by providing username, production/analysis, active and so on.
2. Information in the output has DB Ids, such as " u'creator': 4". This need to be the user name.
A smilar API, say list_camapgins would be nice to only list the current user's basic campaigns info conditioned with experiment, role and active. The return likes:
active, campaign_name1 , id1, stage_1_1, sid_1_1, stage_1_2, sid_1_2;
inactive, campaign_name2 , id2, stage_2_1, sid_1_1, stage_2_2, sid_2_2;