Undocumented `countryid` parameter for `occurrences/grid` endpoint
ayushanand18 opened this issue · comments
Overview
While studying the network logs for OBIS mapper tool, I witnessed that there is an undocumented input parameter countryid
is being used to gather occurrence records published by a particular country with the help of /occurrence/grid
endpoint of the OBIS API. This parameter is absent from the Swagger docs.
Screenshot of the network log
Response
It returns all the occurrence records for a particular country from its countryid
code.
Questions
Should we add this parameter to pyobis
We shouldn't add it here without also adding it to swagger. It may not be documented intentionally. 🤷 Let's keep this open and come back around to it.
Okay. That might be a strong possibility.
We need to be able to submit PRs to the OBIS swagger docs before being able to make further progress on this.