Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40748, comment 12


Ignore:
Timestamp:
05/22/2017 06:57:09 PM (8 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40748, comment 12

    initial v1  
    1111> I think we should keep the schema from [attachment:40748.diff].  Even if this is an internal-only endpoint, one of the strengths of the REST API is that it provides a standardized way to describe request and response formats.
    1212
    13 Right, also having the schema would maker it a better example (following best practices).
     13Right, also having the schema would make it a better example (following best practices).
    1414
    1515> In this case it's really helpful for developers that want to use this endpoint, whether that's core developers or someone writing a plugin to add more functionality later on.  Adding a schema also sets a good example for future work.