docs-v2 icon indicating copy to clipboard operation
docs-v2 copied to clipboard

Namespaces: What are they and best practices.

Open Shelob9 opened this issue 10 years ago • 1 comments

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 avatar Oct 17 '15 19:10 Shelob9

@Shelob9 What is needed here beyond what we cover in https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/#namespacing ?

kadamwhite avatar Feb 06 '17 20:02 kadamwhite