CDRH / api

Codenamed "Apium": An API to access all public Center for Digital Research in the Humanities resources
https://cdrhdev1.unl.edu/api_frontend
MIT License
3 stars 1 forks source link

sort[] direction #36

Closed jduss4 closed 6 years ago

jduss4 commented 7 years ago

Return error if not asc or descended and sort[] of some kind requested

-- note: Jessica several months later disagrees with this

jduss4 commented 6 years ago

What do you guys think? Right now this is defaulting to using "asc" for documents, "desc" for facets

I think this okay, but changing the sorting behavior is going to require a non-backwards compatible version bump so I think we should figure it out before we set v1 of the API