[wp-trac] [WordPress Trac] #47620: REST API: Expose blocks registered on the server
WordPress Trac
noreply at wordpress.org
Fri Jun 28 08:56:37 UTC 2019
#47620: REST API: Expose blocks registered on the server
-----------------------------+-----------------------------
Reporter: gziolo | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: rest-api |
-----------------------------+-----------------------------
Related post:
https://make.wordpress.org/core/2019/05/27/the-block-registration-api-
status-update/
Related Block Registration API technical proposal with all the necessary
details is available at:
https://github.com/WordPress/gutenberg/blob/master/docs/rfc/block-
registration.md
The long term vision for the block discovery in WordPress includes:
* Fetching the available block types through REST APIs.
* Fetching block objects from posts through REST APIs.
There is no immediate need to start working on new block type related API
endpoints. However, it would be great to have it included on the roadmap.
Ideally, they should stay as close as possible to the WordPress.org API
and the final shape of the endpoint for searching for blocks. This is
going to be introduced as part of the Block Directory project.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47620>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list