External changes

The external changes performed are as follows:

  • The core routes within WordPress have been transferred to the wp/v2 namespace.
  • To follow the Hypertext Application Language (HAL) standards, the hypermedia links have been changed from meta.links to _links.
  • Links will be given an embeddable attribute that will indicate whether they can or cannot be embedded within the response.
  • Defined content types will have a schema attributed to the endpoint in a way that will follow the JSON Schema standard
  • Comments have also suffered a change in the way that they have been moved to a top-level endpoint in the manner of /wp/v2/comments.

Get Learning WordPress REST API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.