Check that the ID is valid for every endpoint

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2264 f69abe3c-2ee2-4550-9a6d-17bd458115be
Goodbye fields, hello context.

See #328.

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2265 f69abe3c-2ee2-4550-9a6d-17bd458115be
Ensure the post endpoint object is global

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2266 f69abe3c-2ee2-4550-9a6d-17bd458115be
Add page support

See #271

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2267 f69abe3c-2ee2-4550-9a6d-17bd458115be
First pass at media

See #272. This has been a long time coming, and it's finally at a point where
I'm happy to push it out. Good luck.

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2268 f69abe3c-2ee2-4550-9a6d-17bd458115be
Ensure the author always exists

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2269 f69abe3c-2ee2-4550-9a6d-17bd458115be
Allow passing Content-MD5 headers

This is only global and cannot be attached to the part in a multipart request.
I do love PHP some times.

See #272

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2272 f69abe3c-2ee2-4550-9a6d-17bd458115be
Add PHPDoc for new attachment methods

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2273 f69abe3c-2ee2-4550-9a6d-17bd458115be
Check create_posts cap before upload

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2274 f69abe3c-2ee2-4550-9a6d-17bd458115be
Return the attachment's data after creation

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2275 f69abe3c-2ee2-4550-9a6d-17bd458115be
Enable setting post thumbnails on posts

See #272

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2276 f69abe3c-2ee2-4550-9a6d-17bd458115be
Separate each set of endpoints via filters

This creates a much larger separation between the different post types, and is
more indicative of how these should be used in plugins.

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2277 f69abe3c-2ee2-4550-9a6d-17bd458115be
Check that we can read posts correctly

See #272

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2278 f69abe3c-2ee2-4550-9a6d-17bd458115be
Show attachments with the inherit status

This is kind of hacky, but means we don't have to override the whole getPosts()
method from the posts endpoint instead.

See #272

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2279 f69abe3c-2ee2-4550-9a6d-17bd458115be
prepare_post() no longer takes fields

See #328

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2280 f69abe3c-2ee2-4550-9a6d-17bd458115be
Check for an error before adding more data

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2281 f69abe3c-2ee2-4550-9a6d-17bd458115be
Override the links for media

See #272

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2282 f69abe3c-2ee2-4550-9a6d-17bd458115be
Send a 201 Created header with new attachments

See #272

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2283 f69abe3c-2ee2-4550-9a6d-17bd458115be
Split the post-related routes into a separate document

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2284 f69abe3c-2ee2-4550-9a6d-17bd458115be
Add documentation on using media routes

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2285 f69abe3c-2ee2-4550-9a6d-17bd458115be