Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Menus: allow querying /menus/$menu_id and /menus without authentication #785

Closed jeherve closed 6 years ago

jeherve commented 8 years ago

The WordPress.com REST API currently offers multiple endpoints to interact with menus: https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/menus/

However, all these endpoints require authentication.

Since menus are often public, it would be nice to allow querying /menus/$menu_id and /menus without authenticating.

We would obviously need to consider that some menus might only be used on private pages on some sites. I'm not sure how to address that right now.

Suggested in 2435864-t

lancewillett commented 6 years ago

Closing as no action in over 2 years.