Title: REST API: Decision on Introducing a dashboard namespace
Author: Timothy Jacobs
Published: April 23, 2020

---

 [  ](https://profiles.wordpress.org/timothyblynjacobs/) [Timothy Jacobs](https://profiles.wordpress.org/timothyblynjacobs/)
5:50 pm _on_ April 23, 2020     
Tags: [rest-api ( 111 )](https://make.wordpress.org/core/tag/rest-api/)

# REST API: Decision on Introducing a dashboard namespace

In _[Introduce a dashboard namespace](https://make.wordpress.org/core/2020/01/31/rest-api-introduce-dashboard-namespace/)_
the REST APIREST API The REST API is an acronym for the RESTful Application Program
Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is
how the front end of an application (think “phone app” or “website”) can communicate
with the data store (think “database” or “file system”) [https://developer.wordpress.org/rest-api/](https://developer.wordpress.org/rest-api/)
team proposed introducing a `dashboard` namespace to house dashboard specific endpoints
like Site Health and the CustomizerCustomizer Tool built into WordPress core that
hooks into most modern themes. You can use it to preview and modify many of your
site’s appearance settings.. Based on the feedback received on the post, as well
as in the [#core-restapi](https://wordpress.slack.com/archives/C02RQC26G/p1578595619348700)
slackSlack Slack is a Collaborative Group Chat Platform [https://slack.com/](https://slack.com/).
The WordPress community has its own Slack Channel at [https://make.wordpress.org/chat/](https://make.wordpress.org/chat/)
channel, the REST API team has decided on giving major features their own namespace.
For example, `wp-site-health` and `wp-customize`.

Many contributors felt that relegating these endpoints to a `dashboard` namespace
did a disservice to the features and made them harder to discover. Additionally,
it may suggest to third-party developers that these endpoints are strictly internal,
even though the endpoints would be useful outside of WP-Adminadmin (and super admin).

The `wp/$FEATURE/v1` pattern was suggested a number of times. However, using a `
wp-$FEATURE` prefix allows us to maintain the recommended pattern of `<prefix>/v
<version>`.

Namespaces are prefixed with `wp` so that pluginPlugin A plugin is a piece of software
containing a group of functions that can be added to a WordPress website. They can
extend functionality or add new features to your WordPress websites. WordPress plugins
are written in the PHP programming language and integrate seamlessly with WordPress.
These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. developers don’t have to worry that
any namespace they pick could eventually be reappropriated by WordPress coreCore
Core is the set of software required to run WordPress. The Core Development Team
builds WordPress..

For any future smaller endpoints that don’t need their own dedicated namespace, 
for instance Community Events, they’ll use the `dashboard/v1` pattern.

[#rest-api](https://make.wordpress.org/core/tag/rest-api/)

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2020/04/23/rest-api-decision-on-introducing-a-dashboard-namespace/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2020/04/23/rest-api-decision-on-introducing-a-dashboard-namespace/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2020/04/23/rest-api-decision-on-introducing-a-dashboard-namespace/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2020/04/23/rest-api-decision-on-introducing-a-dashboard-namespace/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2020/04/23/rest-api-decision-on-introducing-a-dashboard-namespace/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2020/04/23/rest-api-decision-on-introducing-a-dashboard-namespace/?share=linkedin)

# Post navigation

[← Devchat meeting summary – April 22, 2020](https://make.wordpress.org/core/2020/04/23/devchat-meeting-summary-april-22-2020/)

[JavaScript Chat Summary: Tuesday, April 21, 2020 →](https://make.wordpress.org/core/2020/04/24/javascript-chat-summary-tuesday-april-21-2020/)