dlr-eoc / prosEO

prosEO – A Processing System for Earth Observation Data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PRIP API: Combination of $count and $top in query fails in some cases

tangobravo62 opened this issue · comments

In principle the combination of $count and $top does work for the prosEO PRIP API. But apparently if the count is above the set limit of e. g. 10,000 records, the limit kicks in and (unnecessarily) rejects the request.

Expected behaviour: If $top is below the set limit, the query shall be served as without the $count parameter.