It would be nice to have optional before and after query parameters for the transcription endpoint, that enable to filter the results by a timeframe.
For example, https://grafeas.org/api/transcription/?after=2021-06-02 would only return transcriptions that were submitted after June 2nd.
This is for example necessary to implement the /progress command for buttercup (GrafeasGroup/buttercup#23), as it needs to count the transcriptions written in the last 24 hours.
It would be nice to have optional
before
andafter
query parameters for thetranscription
endpoint, that enable to filter the results by a timeframe.For example,
https://grafeas.org/api/transcription/?after=2021-06-02
would only return transcriptions that were submitted after June 2nd.This is for example necessary to implement the
/progress
command for buttercup (GrafeasGroup/buttercup#23), as it needs to count the transcriptions written in the last 24 hours.