Pattern Directory: Add REST API endpoints #26577
Labels
Core REST API Task
Task for Core REST API efforts
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
[Type] Enhancement
A suggestion for improvement.
The Meta team is discussion creating a pattern directory on wordpress.org, similar to the block directory.
I've created a rough endpoint on api.wordpress.org to experiment with that. It allows browsing all patterns, browsing patterns within a given category, and searching patterns:
Gutenberg could request patterns from those endpoints directly, but for the block directory it created a local endpoint instead. My understanding is that some people preferred that because it prevents api.wordpress.org from seeing the user's IP address.
The text was updated successfully, but these errors were encountered: