Project

General

Profile

Feature #22026

show_campaigns and list_campaigns

Added by Yuyi Guo over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/28/2019
Due date:
% Done:

100%

Estimated time:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

Marc,

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;
...
Thanks,
Yuyi

History

#1 Updated by Stephen White over 1 year ago

  • Assignee set to Vladimir Podstavkov

#2 Updated by Marc Mengel over 1 year ago

Server side now includes experimenter_creator_obj, etc. in the json dump, so you can get creator's username, first and last name, etc.

#3 Updated by Yuyi Guo over 1 year ago

The server side of show_campaigns has an option for Mine/Others. Please add this to the client API.

get_camapign_list will need to update to return the campaigns and stages for the user, the experiment and the role. Currently it return all the stages in POMS.

#4 Updated by Yuyi Guo over 1 year ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#5 Updated by Yuyi Guo over 1 year ago

Tested and working.

#6 Updated by Stephen White about 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF