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

API Route Request: Get posts by date range #36

Closed
AWegnerGitHub opened this issue Oct 11, 2016 · 1 comment
Closed

API Route Request: Get posts by date range #36

AWegnerGitHub opened this issue Oct 11, 2016 · 1 comment
Labels
status: completed Resolved/fixed. type: feature request Requests for a new feature.

Comments

@AWegnerGitHub
Copy link
Member

I'd like the ability to retrieve posts that were reported within a certain datetime range. This would be similar to /api/posts/feedback, but take two parameters - startdate and enddate

Example

Request

HTTP/1.1 GET /api/posts/daterange?startdate=1476102300&enddate=1476145500

This would return all posts between Oct 10, 2016 12:25 PM and Oct 11, 2016 12:25 AM. Time zone is assumed to be UTC. I am not requesting any timezone math be implemented.

@ArtOfCode-
Copy link
Member

Documentation upcoming.

@ArtOfCode- ArtOfCode- added type: feature request Requests for a new feature. status: completed Resolved/fixed. labels Jan 22, 2017
tripleee pushed a commit to tripleee/metasmoke that referenced this issue Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: completed Resolved/fixed. type: feature request Requests for a new feature.
Development

No branches or pull requests

2 participants