Automattic/jetpack — pull request #745 by xyu (2014-06-18 18:41:58+00:00)
Title: JSON API: Return Whitelisted CPTs when querying for 'all'

Currently when querying for 'all' via the get posts endpoint only `post` and `page` types are returned; CPTs whitelisted by the `rest_api_allowed_post_types ` filter can be queried for explicitly by passing the type in via query params however are not included in "all".

This change bumps the minor version of the get posts endpoint to 1.1 and returns all whitelisted CPTs along with `post` and `page` when "all" is passed in as the type.