Skip to content

Conversation

@andrej1c
Copy link
Contributor

@andrej1c andrej1c commented Aug 8, 2014

In the same fashion that /sites/%s/posts/ allows "before" and "after" parameters I added "modified_before" and "modified_after" to allow users to request changed posts. Among other uses this is very helpful for mobile apps that pull content from WordPress.

The code for this parameters is identical to "before" and "after" except it considers different columns in the posts table.

@jeherve
Copy link
Member

jeherve commented Aug 8, 2014

cc @lezama

@lezama
Copy link
Contributor

lezama commented Aug 8, 2014

@justinshreve, could you give this a look?

@emdashcodes
Copy link

I posted a request on operationapi (that is where we prefer requests).

@jeherve
Copy link
Member

jeherve commented Jan 21, 2015

@blowery You worked on similar changes on WordPress.com. Could you give us an update on this?

@emdashcodes
Copy link

It was merged in December for v1.1 of the endpoints

if ( isset ( $args['modified_before'] ) ) {
.

@jeherve
Copy link
Member

jeherve commented Jan 21, 2015

Perfect. Thanks!

@jeherve jeherve closed this Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] WPCOM API [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants