Closed spickering-git closed 7 years ago
Fixed
@alexveden I didn't clarify if input "white_label=" example http://66.70.157.69:28864/api/campaigns/list/?white_label=DHP
only return campaigns with a 'white_label' field containing 'DHP' in this case
Fixed
@alexveden Can you please add this functionality to the api when asking for the list of campaigns
http://66.70.157.69:28864/api/campaigns/list/ default will have no parameters and that will return everything, the same way it works now.
if input "white_label="
example
http://66.70.157.69:28864/api/campaigns/list/?white_label=DHP
now the campaigns collection in mongo has a new field called 'white_label'
if the 'white_label' field contains a parameter "DHP" you return that campaign. Also can you change name of the campaign to the 'name' field in the white_label.
GET /api/campaigns/list/?white_label=DHP
would return