When making a call to /v1/projects/#/members
, I would expect observations_count
and taxa_count
to be set for all members returned. However, what I find is that the first 5 members from the first two pages page have these counts, and the rest of the members have them all set to zero. For example, these 4 URLs exhibit the problem I’m seeing:
https://api.inaturalist.org/v1/projects/33276/members?page=1
https://api.inaturalist.org/v1/projects/33276/members?page=2
https://api.inaturalist.org/v1/projects/33276/members?page=3
https://api.inaturalist.org/v1/projects/33276/members?page=4
If you look at page 3, you’ll find our number one observer is present & shows as having 0 taxa & 0 observations:
{"id":457117,"project_id":33276,"user_id":420537,"created_at":"2019-01-26T04:11:44+00:00","updated_at":"2019-05-21T23:43:38+00:00","role":"manager","observations_count":0,"taxa_count":0,"user":{"icon":"https://static.inaturalist.org/attachments/users/icons/420537/thumb.jpeg?1559522637","name":"Ethan Maitra","id":420537,"login":"astrobirder","icon_url":"https://static.inaturalist.org/attachments/users/icons/420537/medium.jpeg?1559522637","orcid":null}}
Edit: In light of my goal stated in the comments below & discovery of a different API call more suited to fulfilling that goal, it is not a priority for me that this issue be fixed, but is only something odd I noticed in my exploration of the API docs & experimentation. In fact, the counts of observations and species per member is not really what I want: it is how people are doing vs. other competitors in the yearlisting people are interested in, apart from whether or not they are members of the project. Therefore, the /v1/observations/observers
call is the appropriate one to determine this.