Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented countryid parameter for occurrences/grid endpoint #54

Open
ayushanand18 opened this issue Aug 6, 2022 · 3 comments
Open
Labels
discussion needed open discussion. your input is needed! report to OBIS database

Comments

@ayushanand18
Copy link
Collaborator

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

@7yl4r
Copy link
Collaborator

7yl4r commented Aug 6, 2022

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.

@7yl4r 7yl4r added the discussion needed open discussion. your input is needed! label Aug 6, 2022
@ayushanand18
Copy link
Collaborator Author

Okay. That might be a strong possibility.

@7yl4r 7yl4r self-assigned this Aug 30, 2022
@7yl4r 7yl4r removed their assignment Mar 10, 2023
@7yl4r
Copy link
Collaborator

7yl4r commented Mar 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion needed open discussion. your input is needed! report to OBIS database
Projects
None yet
Development

No branches or pull requests

2 participants