Closed bcorrie closed 4 years ago
I think this:
It looks good, Only question I'd have is what we want the 'key' to be in count_statistic_array responses. For any other field it's easy, key is the unique value we count on (e.g. IGHV1-03) but for count, 'key' isn't defined (rearrangement_count is the name of enclosing variable, same as 'v_gene' is for IGHV1-03). I guess it's easiest to just repeat rearrangement_count (or duplicate_count) and live with the redundancy?
Yes, that makes sense, we can document that in the API.
Collapses the duplicate definitions for the responses, as all responses for all stats are the same.
Changed some of the field names so they are "statistics" or "statistic_name" rather than "fields", as our stats are not directly tied to fields.