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

DocMap filtering by reviewing service, date #13

Open
eidens opened this issue Sep 4, 2021 · 1 comment
Open

DocMap filtering by reviewing service, date #13

eidens opened this issue Sep 4, 2021 · 1 comment

Comments

@eidens
Copy link
Member

eidens commented Sep 4, 2021

Inspired by http://api.biorxiv.org/discussion_trip/help, the DocMap should have endpoints to search for DocMaps by reviewing service and/or date.

Searching by date should come in three flavours:

  • Interval (start:end): return all DocMaps where a review happened within the given interval.
  • Most recent (n): return the n DocMaps with the most recent reviews.
  • Last days (d): return all DocMaps with a review in the last d days.

All queries should support offset-based pagination.

eidens added a commit that referenced this issue Oct 1, 2021
eidens added a commit that referenced this issue Oct 5, 2021
@eidens
Copy link
Member Author

eidens commented Oct 5, 2021

The queries by review service, interval, and n most recent days are implemented.

The query for the n most recent reviews requires some more restructuring of the code for creation of the Docmap output format. That part, going from the internal Docmap format to the one that is given out to users, should probably be implemented in the flask app anyway.

eidens added a commit that referenced this issue Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant