[wp-trac] [WordPress Trac] #45635: Rest-API broken on trunk
WordPress Trac
noreply at wordpress.org
Tue Dec 18 01:13:20 UTC 2018
#45635: Rest-API broken on trunk
--------------------------+------------------------
Reporter: hjanuschka | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: REST API | Version: 5.0
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Changes (by dlh):
* keywords: reporter-feedback =>
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Glad to hear it, @hjanuschka. I'll close this as a duplicate of #45220.
To your question, the best "official" documentation I know of is the
[https://developer.wordpress.org/rest-api/ REST API Handbook] and
[https://developer.wordpress.org/rest-api/extending-the-rest-api/schema/
its section on schema]. The REST API team might know of other good
external documentation. (Personally, I have also learned a bit by browsing
how core uses the `rest_sanitize_value_from_schema()` and
`rest_validate_value_from_schema()` functions.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45635#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list