wp-json-schemas icon indicating copy to clipboard operation
wp-json-schemas copied to clipboard

JSON schemas for WordPress PHP objects and REST API responses

Results 13 wp-json-schemas issues
Sort by recently updated
recently updated
newest added

The REST API schemas provided currently are only valid for reads (GET) and for the `view` and `edit` contexts. This has some problems: * The schemas aren't valid if you're...

* `/wp-json/oembed/1.0` * `/wp-json/oembed/1.0/embed` * `/wp-json/oembed/1.0/proxy`

When a request is sent to `/wp-json` without a route

Need to add a scheduled GitHub action workflow that periodically (eg once a day) runs the tests against WordPress nightly. This will allow changes in core to be detected. Example:...

Quite a few properties are typed but they're actually optional and default to `null`. Need to check them all.