WP REST API: Version 2.0 Beta 8

Just in time for WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. US, we have a new REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/. for you: 2.0 BetaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process. 8 “Monorail!”. Download it from the plugin repository or from GitHub.

Here’s the changelog:

  • Prevent fatals when uploading attachment by including adminadmin (and super admin) utilities. (#1756)
  • Return 201 status code when creating a term. (#1753)
  • Don’t permit requesting terms cross routes. (#1764)
  • Set fields=>id when using WP_User_Query to fix large memory usage. (#1770)
  • Fix Post _link to attached attachments. (#1777)
  • Add support for getting a post with a custom public status. (#1765)
  • Ensure post content doesn’t get double-slashed on update. (#1772)
  • Change ‘int’ to ‘integer’ for WP_REST_Controller::validate_schema_property() (#1759)

Check out the full set of changes if you’re interested.

#feature-plugins, #json-api, #rest-api