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

expand and nextLink #182

Open
derkod opened this issue Feb 10, 2022 · 0 comments
Open

expand and nextLink #182

derkod opened this issue Feb 10, 2022 · 0 comments

Comments

@derkod
Copy link

derkod commented Feb 10, 2022

Hi,
I have this URL to extract Things of a specific project and expand it to Locations and Datastreams/Observations
https://api-samenmeten.rivm.nl/v1.0/Things?$filter=contains(properties/project,%20%27HEI%27)&$expand=Locations,Datastreams/Observations

It returns 72 Things with its Location and I see Datastreams and Observations. So far so good.
The results per page is set to 200.
I expect far more than 200 Observations per Datastream.

Questions:

  1. I do not see a nextLink under Observations. They are limited to 200. How can I get all Observations?
  2. How can I filter on phenomenonTime. I know how to do that using only the Observations endpoint, but not using this expand-feature.
  3. Is 200 result per page a good choice? The default is 20. We already changed it to 200. What are the contras for setting it to eg 20000?

Thanks in advance,
Derko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant