We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is an inconsistency in the parsing of the date in the API. For some endpoints, a leading zero is necessary but for others it is not. For a full-text search, the full date is necessary. So this does not work: http://api.declassification-engine.org/declass/v0.4/text/?search=udeac&collections=statedeptcables&start_date=1950-1-1&end_date=2000-12-31&page_size=25 For a regular date search, the leading zero is not needed. This works: http://api.declassification-engine.org/declass/v0.4/?start_date=1950-1-1&end_date=2000-12-31&page_size=100
The text was updated successfully, but these errors were encountered:
We will make the API consistent across all calls and not require a leading zero when specifying a date.
Sorry, something went wrong.
No branches or pull requests
There is an inconsistency in the parsing of the date in the API. For some endpoints, a leading zero is necessary but for others it is not.
For a full-text search, the full date is necessary.
So this does not work: http://api.declassification-engine.org/declass/v0.4/text/?search=udeac&collections=statedeptcables&start_date=1950-1-1&end_date=2000-12-31&page_size=25
For a regular date search, the leading zero is not needed.
This works: http://api.declassification-engine.org/declass/v0.4/?start_date=1950-1-1&end_date=2000-12-31&page_size=100
The text was updated successfully, but these errors were encountered: