Skip to content

API call works for some courts and not others #2634

Answered by mlissner
warrenp94 asked this question in Q&A
Discussion options

You must be logged in to vote

This query seems to be the one that returns 1770 results for mtd:

https://www.courtlistener.com/api/rest/v3/opinions/?cluster__docket__court=mtd&cluster__precedential_status=Published

I think your question is why the date_created filters don't work on it?

They do seem to work to me. I used this query:

https://www.courtlistener.com/api/rest/v3/opinions/?cluster__docket__court=mtd&cluster__precedential_status=Published&date_created__gt=2022-12-14T15:21:01.934158-08:00

To get back three results. I created that query by looking at the date of the first result above, copy/pasting it into the URL bar, and then subtracting one day from it.

My guess is that you're confusing the date_created field…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@warrenp94
Comment options

Answer selected by warrenp94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants