iobis / pyobis

OBIS Python client

Home Page:https://iobis.github.io/pyobis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

image

Response

image
It returns all the occurrence records for a particular country from its countryid code.

Questions

Should we add this parameter to pyobis

commented

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.

commented

We need to be able to submit PRs to the OBIS swagger docs before being able to make further progress on this.