Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Add date query for comments - #2291

#2291
Merged
danielbachhuber merged 3 commits into
WP-API:developWP-API/WP-API:developfrom
BE-Webdesign:Add-date-query-for-commentsBE-Webdesign/WP-API:Add-date-query-for-commentsCopy head branch name to clipboard
Feb 19, 2016
Merged

Add date query for comments#2291
danielbachhuber merged 3 commits into
WP-API:developWP-API/WP-API:developfrom
BE-Webdesign:Add-date-query-for-commentsBE-Webdesign/WP-API:Add-date-query-for-commentsCopy head branch name to clipboard

Conversation

@BE-Webdesign

Copy link
Copy Markdown
Member

This should add before and after parameters to the top level of query arguments for the comments endpoint. Similar to #2266 and the same functionality pretty much that goes for #2144 using posts. Use ISO8601 compliant date time strings!

Example:

GET wp/v2/comments/?after=2015-01-01T00:00:00Z&before=2017-01-01T00:00:00Z
For comments between January 1st, 2015 and January 1st, 2017.

Let me know what improvements can be made!

@danielbachhuber danielbachhuber added this to the 2.0 Beta 13 milestone Feb 19, 2016
@danielbachhuber

Copy link
Copy Markdown
Member

🚢 🚢 🚢

danielbachhuber added a commit that referenced this pull request Feb 19, 2016
@danielbachhuber
danielbachhuber merged commit 7063707 into WP-API:develop Feb 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.