[wp-trac] [WordPress Trac] #45717: REST API: Navigation Endpoint
WordPress Trac
noreply at wordpress.org
Thu Dec 20 01:32:02 UTC 2018
#45717: REST API: Navigation Endpoint
-----------------------------+-----------------------------
Reporter: McWebDev | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
As a consumer of the WP REST API, I should be able to request the
navigation configuration so that I may use the response object to
construct navigation menus for custom frontends.
Proposed Endpoints:
GET /navigation Gets all menus.
GET /navigation/{menu_id} Gets a specific menu.
Proposed Response Object:
[
{
id: {item id}
slug: {item slug}
label: {item label}
},
...
]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45717>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list