Updated api calls to use comma-separated values instead of repeating the params