Release Date Search Issue
https://api.thesneakerdatabase.com/v1/sneakers?limit=10&releaseDate=2019-02-14
This is because all release dates have a “23:59:59” timestamp associated with it. However if you tried the following search:
https://api.thesneakerdatabase.com/v1/sneakers?limit=10&releaseDate=2019-02-14 23:59:59
You would see a validation error stating that your date doesn’t follow the specified yyyy-mm-dd format. The only way to workaround this limitation was to use date filtering.
Our Solution
yyyy-mm-dd
yyyy-mm-dd hh:mm:ss
With this update to our date validation, you are now able to search for sneakers released on a specific day using a date format similar to the one below.
https://api.thesneakerdatabase.com/v1/sneakers?limit=10&releaseDate=2019-02-14 23:59:59
To learn more about our API, check out our swagger documentation.