Digitale dataconservator | Vlaamse Kunstcollectie VZW
matthias.v...@vlaamsekunstcollectie.be
http://www.vlaamsekunstcollectie.be
Abrahamstraat 13
9000 Gent
Well …
I see no inconsistence here, with regard to the request and response…
I don’t think that the API should be responsible for preventing inconsistencies in the search queries …. Especially because you have many possible combinations.
It is a common/standard practice in JSON serialization to not serialize null properties. So … how would the empty array help client to understand that actually start is greater than total results?
As the query is technically correct and the response is also consistent with the query, I would say that it is not appropriate to respond with an error message.
What might be useful from my perspective is to add a “range” in the response, for which [-1 , -1] would mean “out of range”, if the goal is to better understand the meaning of the results.
BR,
Sergiu
--
Visit Europeana Labs for API Documentation, Open Datasets, and our Apps Showcase -
http://labs.europeana.eu
---
You received this message because you are subscribed to the Google Groups "Europeana API forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
europeanaAPI...@googlegroups.com.
To post to this group, send email to
europe...@googlegroups.com.
Visit this group at http://groups.google.com/group/europeanaAPI.
For more options, visit https://groups.google.com/d/optout.