docs-v2
docs-v2 copied to clipboard
Namespaces: What are they and best practices.
This is covered lightly in extending section, but an explanation of what are namespaces in the context of the WordPress REST API would be helpful.
Should include:
- Why namespaces
- Versioning
- Best practices
- The special wp/ namespace (related: https://core.trac.wordpress.org/ticket/34305)
- Namespace routes
@Shelob9 What is needed here beyond what we cover in https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/#namespacing ?