Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cb_apply_filter should give more useful message on success #49

Open
ilevantis opened this issue Jul 20, 2021 · 0 comments
Open

cb_apply_filter should give more useful message on success #49

ilevantis opened this issue Jul 20, 2021 · 0 comments

Comments

@ilevantis
Copy link
Contributor

When a CBv1 cohort is used in cb_apply_filter() the function messages with the number of participants in the newly updated cohort. With a CBv2 cohort the number of participants is not given in a message.

The CBv2 API does not provide a response with the updated number of participants for PUT /cohort-browser/v2/cohort/{cohort_id}. Instead cb_participant_count() can be used to get this info.

Additionally, it would be useful to provide a web address for the cohort in the output of this (and other functions like cb_cohort_create() and cb_cohort_load()).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant