A RESTful API for WordPress
get_author_posts was unable to find users by slugpost_type argument to documentation for get_post and get_page (props Koshirosan)previous_url and next_url properties to the get_post response object (props mlcy44)exclude query parameter (big props to ikesyo and archon810)get_page_index that where it only returned 5 pages -- it now responds to count query param (props to npavkovic and blinder)Content-Disposition header from response (props mimecine, kjwierenga)submit_comment was resulting in a HTTP 404 status (props @tdweston)json-api.php can be moved one level above the json-api directorysingletons/api.phpjson_api_dir()JSON_API_DIR and JSON_API_CONTROLLERS constants (props Jim McQuillan)thumbnail_size to support different sizes of featured images (see also: add_image_size WordPress function)post_type to support custom post types (props Mark Harris)query_posts argumentsJSON_API::get_controllers method to lowercase all entriesjson_api_[controller]_controller_pathget_tag_posts to query on tag instead of tag_id (maybe a WordPress issue?)JSON_API_Controller into a modular controller systemJSON_API_Query to depend less on WordPress's get_query_var mechanismcreate_post method now requires a nonceget_author_by_login (props Krzysztof Sobolewski)get_intermediate_image_sizes (props mimecine)thumbnail property to Post response objectscreate_post. Thanks to user futtta for posting about this.create_post methodcount request parameter to control the number of posts returnedget_author_indexpost_count response to tag objectsget_author_indexcount_total responsejson_api_encode filterget_current_category and get_current_tag
Requires: 2.8 or higher
Compatible up to: 3.1.4
Last Updated: 2011-1-27
Downloads: 34,368
0 of 7 support threads in the last two months have been resolved.
Got something to say? Need help?