Opened 5 years ago
Closed 5 years ago
#45717 closed feature request (duplicate)
REST API: Navigation Endpoint
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Menus | Keywords: | |
Focuses: | rest-api | Cc: |
Description (last modified by )
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} }, ... ]
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi @McWebDev, welcome to WordPress Trac!
Thanks for the ticket, we're already tracking this feature request in #40878.